看板FreeBSD
标 题请问FreeBSD6.0编kernel时出现 error code 1 ?
发信站CM BBS (Thu Jun 1 14:45:56 2006)
转信站ptt!ctu-reader!news.nctu!cm
大家好,请教一下一个编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 ★