Wireshark mailing list archives

Re: help about compile the latest version of wireshark


From: Jaap Keuter <jaap.keuter () xs4all nl>
Date: Wed, 29 Dec 2010 16:23:46 +0100



Hi, 

You seem to have a local build/install of libpcap. 

Either
tell configure where it is or install wireshark-dev to get it
automagically in the right place. 

Thanks,
Jaap 

On Wed, 29 Dec 2010
16:57:47 +0800, å¾�é"‹å�-- wrote: 

I am using Ubuntu 10.10 and I use
autogen.sh ./configure make make install to build the wireshark, but
There is problem like this 

capture-pcap-util.c:274: error: static
declaration of 'pcap_datalink_name_to_val' follows non-static
declaration 
/usr/local/include/pcap/pcap.h:326: note: previous
declaration of 'pcap_datalink_name_to_val' was here 

capture-pcap-util.c:289: error: static declaration of
'pcap_datalink_val_to_name' follows non-static declaration 

/usr/local/include/pcap/pcap.h:327: note: previous declaration of
'pcap_datalink_val_to_name' was here 
make[2]: ***
[wireshark-capture-pcap-util.o] 错误 1 
make[2]:正在离开目录
`/home/fragno/Documents/wireshark' 
make[1]: *** [all-recursive] 错误 1

make[1]:正在离开目录 `/home/fragno/Documents/wireshark' 
make: *** [all]
错误 2 

anybody who can help me?? Thanks.

 
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: