ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

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

From: 刘昆 <liukunmeister@xxxxxxxxx>
Date: Fri, 17 Sep 2010 22:20:46 +0800
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?