Buildworld breaks at libpcap



uname -a: FreeBSD 9.0-STABLE #0 r235991: Sat May 26 14:20:06 EEST 2012
amd64 - Custom Kernel

buildworld breaks very eloquently at libpcap. Error message depends on
whether ccache is enabled or clang is disabled in /etc/src.conf, as
given below:
WITHOUT_ACCT= yes
WITHOUT_APM= yes
WITHOUT_AUTHPF= yes
WITHOUT_ASSERT_DEBUG= yes
WITHOUT_AUDIT= yes
WITHOUT_BIND= yes
WITH_BSD_GREP= yes
WITHOUT_BLUETOOTH= yes
WITHOUT_CLANG= yes
WITHOUT_CTM= yes
WITHOUT_FLOPPY= yes
WITHOUT_GDB= yes
WITHOUT_HTML= yes
WITHOUT_INET6= yes
WITHOUT_INET6_SUPPORT= yes
WITHOUT_IPFW= yes
WITHOUT_IPFILTER= yes
WITHOUT_MAIL= yes
WITHOUT_NLS= yes
WITHOUT_NLS_CATALOGS= yes
WITHOUT_PORTSNAP= yes
WITHOUT_SENDMAIL= yes
WITHOUT_WIRELESS= yes
WITHOUT_WPA_SUPPLICANT_EAPOL= yes

Error message looks like:
===> lib/libpcap (all)
/usr/local/bin/ccache cc -O2 -pipe -march=k8 -DHAVE_CONFIG_H
-Dyylval=pcapyylval -I/asp/src/lib/libpcap -I.
-D_U_="__attribute__((unused))" -DHAVE_SNPRINTF -DHAVE_VSNPRINTF
-DHAVE_NET_PFVAR_H -I/asp/src/lib/libpcap/../../contrib/libpcap
-DNDEBUG -std=gnu99 -fstack-protector -Wno-pointer-sign -c
/asp/src/lib/libpcap/../../contrib/libpcap/pcap-bpf.c -o pcap-bpf.o
.........
/asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c: In function
'dlt_to_linktype':
/asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error:
'DLT_MATCHING_MIN' undeclared (first use in this function)
/asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error:
(Each undeclared identifier is reported only once
/asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error:
for each function it appears in.)
/asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error:
'DLT_MATCHING_MAX' undeclared (first use in this function)
*** Error code 1
/usr/local/bin/ccache cc -O2 -pipe -march=k8 -DHAVE_CONFIG_H
-Dyylval=pcapyylval -I/asp/src/lib/libpcap -I.
-D_U_="__attribute__((unused))" -DHAVE_SNPRINTF -DHAVE_VSNPRINTF
-DHAVE_NET_PFVAR_H -I/asp/src/lib/libpcap/../../contrib/libpcap
-DNDEBUG -std=gnu99 -fstack-protector -Wno-pointer-sign -c
/asp/src/lib/libpcap/../../contrib/libpcap/fad-getad.c -o fad-getad.o
/asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c: In function
'dlt_to_linktype':
/asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error:
'DLT_MATCHING_MIN' undeclared (first use in this function)
/asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error:
(Each undeclared identifier is reported only once
/asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error:
for each function it appears in.)
/asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error:
'DLT_MATCHING_MAX' undeclared (first use in this function)
*** Error code 1

Can Also Look Like, if buildworld is done non-threaded (no -j):
/asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c: In function
'dlt_to_linktype':
/asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error:
'DLT_MATCHING_MIN' undeclared (first use in this function)
/asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error:
(Each undeclared identifier is reported only once
/asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error:
for each function it appears in.)
/asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error:
'DLT_MATCHING_MAX' undeclared (first use in this function)
*** Error code 1
/asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c: In function
'dlt_to_linktype':
/asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error:
'DLT_MATCHING_MIN' undeclared (first use in this function)
/asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error:
(Each undeclared identifier is reported only once
/asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error:
for each function it appears in.)
/asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error:
'DLT_MATCHING_MAX' undeclared (first use in this function)
*** Error code 1
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: mplayer port on 5.3
    ... >> I'm trying to compile the latest mplayer port on 5.3. ... Here is the error message after following your ... mplayer.c:1287: error: (Each undeclared identifier is reported only once ... *** Error code 2 ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Windows Vista Update - Screen blank missing text
    ... If this is a non-Microsoft service, contact the service vendor and refer to service-specific error code -2147467243. ... This error message is similar to the "Error 5: ... The most likely cause for this is security software or malware that has modified said access perms. ... I'm suspicious that this program is the cause of the Windows Update ...
    (microsoft.public.windowsupdate)
  • Re: Hiding A Field
    ... Please respond only to this newsgroup. ... the error code says. ... Ok I plugged in the code you gave me and it gave me an error message. ... The expression may result in the name of a macro, ...
    (microsoft.public.access.formscoding)
  • Re: MySQL error reporting
    ... This suppresses any error message for this function. ... well I thought that was working but maybe just on the live server not my home test version. ... Error code 1062 is a duplicate entry error. ...
    (comp.lang.php)
  • Re: Office Stopped Working
    ... Then "run Microsoft Office diagnostics." ... I've never used this before, but saw a posting on another forum with a similar problem, same error code, this procedure was recommended. ... Sometimes Access will display Send Info window and/or an error message. ... "The exception unknown software exception occurred in the ...
    (microsoft.public.office.misc)