請問FreeBSD6.0編kernel時出現 error code 1 ?
大家好,請教一下一個編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 ★
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章