Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Make wireshark error

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Fri, 17 Sep 2010 13:14:56 -0700
On Sep 17, 2010, at 7:20 AM, 刘昆 wrote:

> When I make wireshark source code on ubuntu ,error occurs
> 
> 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

The configure script is confused about whether libpcap on your system has pcap_datalink_name_to_val() and pcap_datalink_name_to_val() or not.

Could you please send us the output of the configure script?