小弟在編譯核心的時候
config和make depend都過了
但make一直過不了,顯示以下錯誤訊息
請問這是我設定檔那邊弄錯了嗎?還是有其他問題?
.......
.......
.......
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include
-I../../contrib/dev/acpica -I../../contrib/ipfilter -D_KERNEL -include
opt_global.h -mpreferred-stack-boundary=2 ../../isa/vga_isa.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include
-I../../contrib/dev/acpica -I../../contrib/ipfilter -D_KERNEL -include
opt_global.h -mpreferred-stack-boundary=2 ../../kern/subr_diskmbr.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include
-I../../contrib/dev/acpica -I../../contrib/ipfilter -D_KERNEL -include
opt_global.h -mpreferred-stack-boundary=2 ../../libkern/divdi3.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include
-I../../contrib/dev/acpica -I../../contrib/ipfilter -D_KERNEL -include
opt_global.h -mpreferred-stack-boundary=2 ../../libkern/moddi3.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include
-I../../contrib/dev/acpica -I../../contrib/ipfilter -D_KERNEL -include
opt_global.h -mpreferred-stack-boundary=2 ../../libkern/qdivrem.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include
-I../../contrib/dev/acpica -I../../contrib/ipfilter -D_KERNEL -include
opt_global.h -mpreferred-stack-boundary=2 ../../libkern/udivdi3.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include
-I../../contrib/dev/acpica -I../../contrib/ipfilter -D_KERNEL -include
opt_global.h -mpreferred-stack-boundary=2 ../../libkern/umoddi3.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include
-I../../contrib/dev/acpica -I../../contrib/ipfilter -D_KERNEL -include
opt_global.h -mpreferred-stack-boundary=2 setdef0.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include
-I../../contrib/dev/acpica -I../../contrib/ipfilter -D_KERNEL -include
opt_global.h -mpreferred-stack-boundary=2 vnode_if.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include
-I../../contrib/dev/acpica -I../../contrib/ipfilter -D_KERNEL -include
opt_global.h -mpreferred-stack-boundary=2 ioconf.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include
-I../../contrib/dev/acpica -I../../contrib/ipfilter -D_KERNEL -include
opt_global.h -mpreferred-stack-boundary=2 config.c
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include
-I../../contrib/dev/acpica -I../../contrib/ipfilter -D_KERNEL -include
opt_global.h -mpreferred-stack-boundary=2 setdef1.c
touch hack.c
cc -shared -nostdlib hack.c -o hack.So
rm -f hack.c
sh ../../conf/newvers.sh XFREEBSD
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include
-I../../contrib/dev/acpica -I../../contrib/ipfilter -D_KERNEL -include
opt_global.h -mpreferred-stack-boundary=2 vers.c
linking kernel
vpo.o: In function `vpo_attach':
vpo.o(.text+0xcb): undefined reference to `cam_simq_alloc'
vpo.o(.text+0xf8): undefined reference to `cam_sim_alloc'
vpo.o(.text+0x108): undefined reference to `cam_simq_free'
vpo.o(.text+0x116): undefined reference to `xpt_bus_register'
vpo.o(.text+0x132): undefined reference to `cam_sim_free'
vpo.o: In function `vpo_cam_rescan':
vpo.o(.text+0x18f): undefined reference to `xpt_periph'
vpo.o(.text+0x198): undefined reference to `xpt_create_path'
vpo.o(.text+0x1ab): undefined reference to `xpt_setup_ccb'
vpo.o(.text+0x1c6): undefined reference to `xpt_action'
vpo.o: In function `vpo_action':
vpo.o(.text+0x4bd): undefined reference to `xpt_done'
vpo.o(.text+0x4cd): undefined reference to `xpt_done'
*** Error code 1
Stop in /usr/src/sys/compile/XUAN.
--
※ Origin: 臺大電機 Maxwell 站 ◆ From: 59-115-51-125.dynamic.hinet.net
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章