請問FreeBSD6.0編kernel時出現 error code 1 ?

看板FreeBSD作者時間19年前 (2006/06/01 15:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/3 (看更多)
大家好,請教一下一個編kernel的問題。 我為了用dummynet而重編kernel, 加入下列的options: options IPFIREWALL options DUMMYNET options HZ=1000 options NMBCLUSTERS options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=10 options IPFIREWALL_DEFAULT_TO_ACCEPT 接著在make buildkernel這一步時,出現了下列的error: >>> stage 2.3: build tools -------------------------------------------------------------- cd /usr/obj/usr/src/sys/MYKERNEL; MAKESRCPATH=/usr/src/sys/dev/aic7xxx/aicasm make -DNO_CPU_CFLAGS -f /usr/src/sys/dev/aic7xxx/aicasm/Makefile Warning: Object directory not changed from original /usr/obj/usr/src/sys/MYKERNE L cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/de v/aic7xxx/aicasm -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm.c In file included from /usr/src/sys/dev/aic7xxx/aicasm/aicasm.c:49: /usr/include/regex.h:145: error: syntax error before "re_void" /usr/include/regex.h:145: warning: data definition has no type or storage class /usr/include/regex.h:314: error: syntax error before "_ANSI_ARGS_" /usr/include/regex.h:323: error: syntax error before "_ANSI_ARGS_" /usr/include/regex.h:326: error: syntax error before "_ANSI_ARGS_" *** Error code 1 Stop in /usr/obj/usr/src/sys/MYKERNEL. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. 請問是哪裡出了問題啊? @@ google了一下,沒有找到答案.... 謝謝! -- 風信遊子(bbs.cm.nctu.edu.tw)Post From: 140.112.21.117
文章代碼(AID): #14Vf2q00 (FreeBSD)
文章代碼(AID): #14Vf2q00 (FreeBSD)