Hi Samuel,
thanks again for the help.
I uninstalled the libnl, libdect and libpcap from the directory /usr/src;
then
I installed the libnl, libdect and libpcap in the directory /usr/local.
I compile wireshark-1.6.7 in the directory /usr/src or in the directory /usr/local with: sudo ./configure --with-pcap=/usr/local
but nothing, I get always the following error:
checking for pcap_open_live in -lpcap... no checking for pcap_open_live in -lpcap with -lcfg -lodm... no checking for pcap_open_live in -lpcap with -lpfring... no configure: error: Can't link with library libpcap.
(I attach the new config.log file of libpcap and libnl).
I think that the problem (undefined reference to nl_dect_cell_get_name) is solved.
With best regards, Umberto
----Messaggio originale---- Da: samuel@sieb.net Data: 29/05/2012 22.08 A: linux-dect@lists.osmocom.org Ogg: Re: R: Re: How to build Wireshark-1.6.7 against patched libpcap
chiccus2003@libero.it wrote:
I had installed the libnl, the libdect and the libpcap in the directory /usr/src/tools, but then failed to compile wireshark, I uninstalled the
libnl,
the libdect and the libpcap with “sudo make uninstall”.
Then I reinstalled the libnl, the libdect and the libpcap in the directory /usr/src where there is also the kernel 3.2.0 installed.
What you need to do is configure libnl, libdect, and libpcap to install into /usr/local. Recompile them all and install them. That way the libs will all
be
in /usr/local/lib. Then when you compile wireshark using --with-
pcap=/usr/local
it should work.