[yocto] recipes for sniffer tool

Gary Thomas gary at mlbassoc.com
Tue Apr 12 08:22:03 PDT 2011


On 04/12/2011 09:07 AM, João Henrique Freitas wrote:
> Hi,
>
> I found the problem: host contamination.
>
> tcpdump search by pcap-config script and runs it to get where pcap
> library lives.
>
> On my ubuntu box I haven't the pcap-devel package installed. But on
> mandriva box I had.
>
> I have two question:
>
> How Yocto can protect against this situation?

Everything that the package needs to be able to build, include stuff discovered
via configure (autotools) should be built and available totally within Poky.

>
> Is any guide or hint about how I can patch a autotools based  and
> removes this host contamination?

It should not be looking at any host tools to build tcpdump.  Can you send
the config.log from each of the systems (Ubuntu which works, Mandriva which fails)?

> 2011/4/9 João Henrique Freitas<joaohf at gmail.com>:
>> Hello,
>>
>> I need to confirm same data but it works.
>>
>> I have two build hosts Ubuntu 10.10 (OK, at home) Mandriva 2010.1
>> (FAIL, at work).
>>
>> Thanks.
>>
>> 2011/4/7 Gary Thomas<gary at mlbassoc.com>:
>>> On 04/07/2011 01:48 PM, João Henrique Freitas wrote:
>>>>>
>>>>> I used this recipe, along with the attached patch to build tcpdump.
>>>>>
>>>>
>>>> I am using the same recipes, without the patch. But it fails.
>>>>
>>>> With not-building-for-solaris.patch, fails too.
>>>>
>>>> I will try delete my build and try again.
>>>
>>> Be sure and start rebuilding the tcpdump package completely.
>>> Just running 'bitbake tcpdump' is probably not good enough.
>>> Here's what I would try:
>>>   % bitbake tcpdump -c clean
>>>   % rm -f sstate-cache/sstate-tcpdump*
>>>   % bitbake tcpdump
>>>
>>> --
>>> ------------------------------------------------------------
>>> Gary Thomas                 |  Consulting for the
>>> MLB Associates              |    Embedded world
>>> ------------------------------------------------------------
>>>
>>
>>
>>
>> --
>> -----------------------------------------------------------
>> João Henrique Freitas - joaohf_at_gmail.com
>> Campinas-SP-Brasil
>> BSD051283
>> LPI 1
>> http://www.joaohfreitas.eti.br
>>
>
>
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list