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(a)dev-tec.de
Data: 28/05/2012 11.14
A: "chiccus2003@libero.it"<chiccus2003@libero.it>
Cc: <linux-dect(a)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(a)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(a)sieb.net
>> Data: 27/05/2012 7.36
>> A: "chiccus2003@libero.it"<chiccus2003@libero.it>
>> Cc:<linux-dect@lists.osmocom.org>
>> Ogg: Re: R: Re: I: Re: How to build Wireshark-1.6.7 against patched
libpcap
>>
>> chiccus2003(a)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?