Buildkernel problems, ipv6 gif

看板DFBSD_bugs作者時間21年前 (2005/02/20 06:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
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:
文章代碼(AID): #125xSb00 (DFBSD_bugs)
文章代碼(AID): #125xSb00 (DFBSD_bugs)