- 论坛徽章:
- 0
|
linyin# uname -a
FreeBSD linyin.8800.org 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Tue Jan 6 10:41:16 CST 2009 linyin@linyin.8800.org:/usr/obj/usr/src/sys/GENERIC i386
linyin# config linyin
Kernel build directory is ../compile/linyin
Don't forget to do ``make cleandepend && make depend''
出错的信息:
===> xl (cleandepend)
rm -f @ machine
rm -f .depend GPATH GRTAGS GSYMS GTAGS
===> zfs (cleandepend)
rm -f @ machine
rm -f .depend GPATH GRTAGS GSYMS GTAGS
===> zlib (cleandepend)
rm -f @ machine
rm -f .depend GPATH GRTAGS GSYMS GTAGS
===> zyd (cleandepend)
rm -f @ machine
rm -f .depend GPATH GRTAGS GSYMS GTAGS
machine -> ../../../i386/include
cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../dev/ath -I../../../contrib/ngatm -I../../../dev/twa -I../../../gnu/fs/xfs/FreeBSD -I../../../gnu/fs/xfs/FreeBSD/support -I../../../gnu/fs/xfs -I../../../contrib/opensolaris/compat -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding ../../../i386/i386/genassym.c
cc: not found
*** Error code 127
Stop in /usr/src/sys/i386/compile/linyin.
我查找了下系统的GCC:
linyin# gcc -v
gcc: Command not found.
linyin# gcc
gcc: Command not found.
linyin# cc
cc: Command not found.
linyin# whereis gcc
gcc: /usr/src/contrib/gcc
晕死...怎么会不见了?如果一开始没安装好的话,我的机器也无法通过PORTS来编译
机器MAKE WORLD过,命令是参照:
# cd /usr/src
# make buildworld
# make buildkernel
# make installkernel
# shutdown -r now
进入单用户模式,不过在# make installworld和# mergemaster之间,掉电过一次.
# mount -a -t ufs
# mergemaster -p
# cd /usr/src
# make installworld
# mergemaster
# reboot
请问,有什么办法解决吗?谢谢. |
|