Buildkernel problems, ipv6 gif
Gary Allan
dragonfly at gallan.plus.com
Sat Feb 19 13:43:02 PST 2005
Hello,
My build kernel is failing because in6_gif.c is being compiled even
though INET6 is not defined. Is the following reasonable?
Regards
G.Allan
/src/sys/net/gif/Makefile
--- Makefile.txt.old Sat Feb 19 21:34:26 2005
+++ Makefile.txt Sat Feb 19 21:33:06 2005
@@ -4,8 +4,12 @@
.PATH: ${.CURDIR}/../../net ${.CURDIR}/../../netinet
${.CURDIR}/../../netinet6
KMOD= if_gif
-SRCS= if_gif.c in_gif.c in6_gif.c opt_inet.h opt_inet6.h opt_mrouting.h
+SRCS= if_gif.c in_gif.c opt_inet.h opt_mrouting.h
NOMAN=
+
+.if defined(INET6)
+SRCS+= in6_gif.c opt_inet6.h
+.endif
.if !defined(BUILDING_WITH_KERNEL)
opt_inet.h:
More information about the Bugs
mailing list