R: Re: R: Re: R: Re: I: Re: How to build Wireshark-1.6.7 against patched libpcap

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/linux-dect@lists.osmocom.org/.

chiccus2003 at libero.it chiccus2003 at libero.it
Mon May 28 19:11:59 UTC 2012


Hi Benjamin,

thanks to everyone for the help.

I compiled the libnl by: 
git://dect.osmocom.org/git/libnl.git

(I attach the config.log file of libnl)

Before installing the libnl, the libdect, and the libpcap i did:

cd /usr/src/linux-2.6

sudo make headers_install

then

sudo cp /usr/src/linux-2.6/include/linux/socket.h			/usr/include/linux
sudo cp /usr/src/linux-2.6/include/linux/netlink.h			/usr/include/linux
sudo cp /usr/src/linux-2.6/include/linux/dect.h			/usr/include/linux
sudo cp /usr/src/linux-2.6/include/linux/dect_netlink.h 	/usr/include/linux
(deleted enum dect_ari_classes)

but nothing, i get always 

configure: error: can't link with library libpcap.

With best regards,
Umberto


>----Messaggio originale----
>Da: benjamin at dev-tec.de
>Data: 28/05/2012 11.14
>A: "chiccus2003 at libero.it"<chiccus2003 at libero.it>
>Cc: <linux-dect at lists.osmocom.org>
>Ogg: Re: R: Re: R: Re: I: Re: How to build Wireshark-1.6.7 against patched	
libpcap
>
>Hi Umberto,
>
>libpcap seems to work fine,
>but the required lib "libnl" is lacking the function
>'nl_dect_cell_get_name'
>you need to install a newer version of libnl or
>compile it from git.
>
>Best regards
>Benjamin
>
>Am 27.05.2012 11:40, schrieb chiccus2003 at libero.it:
>> Hi Samuel,
>>
>> thanks again.
>>
>> Run "locate libpcap.so" and I find the following paths:
>>
>> /usr/lib/libpcap.so
>> /usr/lib/libpcap.so.0.8
>> /usr/lib/libpcap.so.1.0.0
>> /usr/local/lib/libpcap.so
>> /usr/local/lib/libpcap.so.1
>> /usr/local/lib/libpcap.so.1.2.0-PRE-GIT
>> /usr/src/libpcap/libpcap.so.1.2.0-PRE-GIT
>>
>> With best regards,
>>
>> Umberto
>>
>>> ----Messaggio originale----
>>> Da: samuel at sieb.net
>>> Data: 27/05/2012 7.36
>>> A: "chiccus2003 at libero.it"<chiccus2003 at libero.it>
>>> Cc:<linux-dect at lists.osmocom.org>
>>> Ogg: Re: R: Re: I: Re: How to build Wireshark-1.6.7 against patched 
libpcap
>>>
>>> chiccus2003 at libero.it wrote:
>>>> /usr/local/lib/libpcap.so: undefined reference to
>> `nl_dect_cell_alloc_cache'
>>>> /usr/local/lib/libpcap.so: undefined reference to `nl_dect_cell_get_name'
>>>
>>> That's your problem.  It's finding the pcap library, but the dect 
dependency
>> is
>>> not in the path, so that's why it's failing.  Where is that library?
>>>
>>>
>>
>>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 69919 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/linux-dect/attachments/20120528/4d069038/attachment.bin>


More information about the linux-dect mailing list