usr.sbin/ipftest build error

From: Shin-ichi Yoshimoto <yosimoto_at_waishi.jp>
Date: Wed, 24 Sep 2003 08:16:01 +0900
After cvsup, buildworld error in usr.sbin/ipftest

[snip]
===> usr.sbin/ipftest
cc -O -pipe -march=pentium3 -DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -DIPFILTER_LOG -I/usr/src/usr.sbin/ipftes
t/../../sys/contrib/ipfilter/netinet -I/usr/src/usr.sbin/ipftest/../../sys/contrib/ipfilter -I/usr/src/us
r.sbin/ipftest/../../contrib/ipfilter  -c /usr/src/contrib/ipfilter/ipt.c
[snip]
cc -O -pipe -march=pentium3 -DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -DIPFILTER_LOG -I/usr/src/usr.sbin/ipftest/../../sys/contrib/ipfilter/netinet -I/usr/src/usr.sbin/ipftest/../../sys/contrib/ipfilter -I/usr/src/usr.sbin/ipftest/../../contrib/ipfilter  -c /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c
In file included from /usr/obj/usr/src/i386/usr/include/net/pfil.h:35,
                 from /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:314:
/usr/obj/usr/src/i386/usr/include/sys/systm.h:154: warning: conflicting types for built-in function `log'
/usr/obj/usr/src/i386/usr/include/sys/systm.h:224: error: conflicting types for `setenv'
/usr/obj/usr/src/i386/usr/include/stdlib.h:165: error: previous declaration of `setenv'
/usr/obj/usr/src/i386/usr/include/sys/systm.h:225: error: conflicting types for `unsetenv'
/usr/obj/usr/src/i386/usr/include/stdlib.h:166: error: previous declaration of `unsetenv'
In file included from /usr/obj/usr/src/i386/usr/include/sys/systm.h:233,
                 from /usr/obj/usr/src/i386/usr/include/net/pfil.h:35,
                 from /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:314:
/usr/obj/usr/src/i386/usr/include/sys/libkern.h:87: error: conflicting types for `random'
/usr/obj/usr/src/i386/usr/include/stdlib.h:206: error: previous declaration of `random'
/usr/obj/usr/src/i386/usr/include/sys/libkern.h:96: error: conflicting types for `strdup'
/usr/obj/usr/src/i386/usr/include/string.h:80: error: previous declaration of `strdup'
In file included from /usr/obj/usr/src/i386/usr/include/net/pfil.h:35,
                 from /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:314:
/usr/obj/usr/src/i386/usr/include/sys/systm.h:263: error: syntax error before "splbio"
/usr/obj/usr/src/i386/usr/include/sys/systm.h:264: error: syntax error before "splcam"
/usr/obj/usr/src/i386/usr/include/sys/systm.h:265: error: syntax error before "splclock"
/usr/obj/usr/src/i386/usr/include/sys/systm.h:266: error: syntax error before "splhigh"
/usr/obj/usr/src/i386/usr/include/sys/systm.h:267: error: syntax error before "splimp"
/usr/obj/usr/src/i386/usr/include/sys/systm.h:268: error: syntax error before "splnet"
/usr/obj/usr/src/i386/usr/include/sys/systm.h:269: error: syntax error before "splsoftcam"
/usr/obj/usr/src/i386/usr/include/sys/systm.h:270: error: syntax error before "splsoftclock"
/usr/obj/usr/src/i386/usr/include/sys/systm.h:271: error: syntax error before "splsofttty"
/usr/obj/usr/src/i386/usr/include/sys/systm.h:272: error: syntax error before "splsoftvm"
/usr/obj/usr/src/i386/usr/include/sys/systm.h:273: error: syntax error before "splsofttq"
/usr/obj/usr/src/i386/usr/include/sys/systm.h:274: error: syntax error before "splstatclock"
/usr/obj/usr/src/i386/usr/include/sys/systm.h:275: error: syntax error before "spltty"
/usr/obj/usr/src/i386/usr/include/sys/systm.h:276: error: syntax error before "splvm"
/usr/obj/usr/src/i386/usr/include/sys/systm.h:277: error: syntax error before "ipl"
In file included from /usr/obj/usr/src/i386/usr/include/net/pfil.h:35,
                 from /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:314:
/usr/obj/usr/src/i386/usr/include/sys/systm.h:42:1: unterminated #ifndef
In file included from /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:314:
/usr/obj/usr/src/i386/usr/include/net/pfil.h:32:1: unterminated #ifndef
/usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:313:1: unterminated #if
*** Error code 1

Stop in /usr/src/usr.sbin/ipftest.
*** Error code 1

-- 
Shin-ichi YOSHIMOTO <yosimoto_at_waishi.jp>
http://diary.waishi.jp/~yosimoto/diary/
Received on Tue Sep 23 2003 - 14:16:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:23 UTC