DragonFly BSD
DragonFly bugs List (threaded) for 2005-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Buildkernel problems, ipv6 gif


From: Gary Allan <dragonfly@xxxxxxxxxxxxxxx>
Date: Sat, 19 Feb 2005 21:43:02 +0000

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:



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]