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
make[2]: *** [wireshark-capture-pcap-util.o] 错误 1
make[2]:正在离开目录 `/home/administrator/project/wireshark-1.4.0'
make[1]: *** [install-recursive] 错误 1
make[1]:正在离开目录 `/home/administrator/project/wireshark-1.4.0'
make: *** [install] 错误 2

I don't know what happened?What should I do to solve this problem?


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

Reply via email to