Wireshark-bugs: [Wireshark-bugs] [Bug 5258] New: Compile time error - Wireshark 1.4.0 w/ libpcap
Date: Sun, 26 Sep 2010 06:22:40 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5258

           Summary: Compile time error - Wireshark 1.4.0 w/ libpcap-1.1.1
           Product: Wireshark
           Version: 1.4.0
          Platform: x86
        OS/Version: Linux (other)
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: bobb.harley@xxxxxxxxx


Build Information:
Attempting to build Wireshark 1.4.0 against libpcap 1.1.1. Get the following
compile time error:


apture-pcap-util.c:274: error: static declaration of
'pcap_datalink_name_to_val' follows non-static declaration
/usr/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/include/pcap/pcap.h:327: note: previous declaration of
'pcap_datalink_val_to_name' was here
make[2]: *** [wireshark-capture-pcap-util.o] Error 1
make[2]: Leaving directory `/tmp/SBo/wireshark-1.4.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/wireshark-1.4.0'
make: *** [all] Error 2

--
I'm running a Slackware variant called Kongoni with 2.6.35.4. with these config
options:

./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --mandir=/usr/man \
  --docdir=/usr/doc/$PRGNAM-$VERSION \
  --with-ssl=/usr/lib${LIBDIRSUFFIX} \
  --enable-threads \
  --disable-static \
  --disable-debug \
  --disable-usr-local \
  --build=$ARCH-slackware-linux

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.