QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 789|回复: 1

编译BSD内核的时候出现错误,请大家多多指教!谢谢!

[复制链接]
发表于 2004-10-13 17:24:21 | 显示全部楼层 |阅读模式
#cd /usr/src
#make bulidkernel KERNCONF=MYKERNEL
#make installkernel KERNCONF=MYKERNEL
.
.
.
.
.
.


cc -O -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -c aicasm_scan.c
lex -t -Pmm /usr/src/sys/dev/aic7xxx/aicasm/aicasm_macro_scan.l > aicasm_macro_scan.c
cc -O -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -c aicasm_macro_scan.c
cc -O -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -o aicasm aicasm.o aicasm_symbol.o aicasm_gram.o aicasm_macro_gram.o aicasm_scan.o aicasm_macro_scan.o -ll
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x64): undefined reference to `_init_tls'
*** 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.
bb#

编译内核时出现以上的错误(MYKERNEL为修改过的内核),为什么呢?请指教!!!
发表于 2004-10-20 17:26:22 | 显示全部楼层
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-18 18:00 , Processed in 0.061105 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表