ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] help about compile the latest version of wireshark

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
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.