当前位置: 技术问答>linux和unix
busybox-1.15.3 编译出错
来源: 互联网 发布时间:2016-09-25
本文导语: scripts/kconfig/conf -s Config.in # # using defaults found in .config # SPLIT include/autoconf.h -> include/config/* GEN include/bbconfigopts.h HOSTCC applets/usage GEN include/usage_compressed.h 13102+0 records in 13102+0 records...
scripts/kconfig/conf -s Config.in
#
# using defaults found in .config
#
SPLIT include/autoconf.h -> include/config/*
GEN include/bbconfigopts.h
HOSTCC applets/usage
GEN include/usage_compressed.h
13102+0 records in
13102+0 records out
HOSTCC applets/applet_tables
GEN include/applet_tables.h
CC applets/applets.o
In file included from /opt/eldk/eldk4.1.1/usr/../ppc_8xx/usr/include/sys/socket.h:35,
from /opt/eldk/eldk4.1.1/usr/../ppc_8xx/usr/include/netinet/in.h:24,
from /opt/eldk/eldk4.1.1/usr/../ppc_8xx/usr/include/arpa/inet.h:23,
from include/platform.h:196,
from include/libbb.h:13,
from include/busybox.h:10,
from applets/applets.c:11:
/opt/eldk/eldk4.1.1/usr/../ppc_8xx/usr/include/bits/socket.h:304:24: error: asm/socket.h: No such file or directory
In file included from /opt/eldk/eldk4.1.1/usr/../ppc_8xx/usr/include/bits/errno.h:25,
from /opt/eldk/eldk4.1.1/usr/../ppc_8xx/usr/include/errno.h:36,
from include/libbb.h:17,
from include/busybox.h:10,
from applets/applets.c:11:
/home/liaoy/work/linux/linux-2.6.20/include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory
In file included from /opt/eldk/eldk4.1.1/usr/../ppc_8xx/usr/include/signal.h:333,
from include/libbb.h:22,
from include/busybox.h:10,
from applets/applets.c:11:
/opt/eldk/eldk4.1.1/usr/../ppc_8xx/usr/include/bits/sigcontext.h:28:29: error: asm/sigcontext.h: No such file or directory
In file included from /opt/eldk/eldk4.1.1/usr/../ppc_8xx/usr/include/sys/ioctl.h:27,
from include/libbb.h:29,
from include/busybox.h:10,
from applets/applets.c:11:
/opt/eldk/eldk4.1.1/usr/../ppc_8xx/usr/include/bits/ioctls.h:24:24: error: asm/ioctls.h: No such file or directory
In file included from /opt/eldk/eldk4.1.1/usr/../ppc_8xx/usr/include/sys/param.h:24,
from include/libbb.h:46,
from include/busybox.h:10,
from applets/applets.c:11:
/home/liaoy/work/linux/linux-2.6.20/include/linux/param.h:4:23: error: asm/param.h: No such file or directory
make[1]: *** [applets/applets.o] Error 1
make: *** [applets_dir] Error 2
make的时候,找不到头文件,这是为啥??
#
# using defaults found in .config
#
SPLIT include/autoconf.h -> include/config/*
GEN include/bbconfigopts.h
HOSTCC applets/usage
GEN include/usage_compressed.h
13102+0 records in
13102+0 records out
HOSTCC applets/applet_tables
GEN include/applet_tables.h
CC applets/applets.o
In file included from /opt/eldk/eldk4.1.1/usr/../ppc_8xx/usr/include/sys/socket.h:35,
from /opt/eldk/eldk4.1.1/usr/../ppc_8xx/usr/include/netinet/in.h:24,
from /opt/eldk/eldk4.1.1/usr/../ppc_8xx/usr/include/arpa/inet.h:23,
from include/platform.h:196,
from include/libbb.h:13,
from include/busybox.h:10,
from applets/applets.c:11:
/opt/eldk/eldk4.1.1/usr/../ppc_8xx/usr/include/bits/socket.h:304:24: error: asm/socket.h: No such file or directory
In file included from /opt/eldk/eldk4.1.1/usr/../ppc_8xx/usr/include/bits/errno.h:25,
from /opt/eldk/eldk4.1.1/usr/../ppc_8xx/usr/include/errno.h:36,
from include/libbb.h:17,
from include/busybox.h:10,
from applets/applets.c:11:
/home/liaoy/work/linux/linux-2.6.20/include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory
In file included from /opt/eldk/eldk4.1.1/usr/../ppc_8xx/usr/include/signal.h:333,
from include/libbb.h:22,
from include/busybox.h:10,
from applets/applets.c:11:
/opt/eldk/eldk4.1.1/usr/../ppc_8xx/usr/include/bits/sigcontext.h:28:29: error: asm/sigcontext.h: No such file or directory
In file included from /opt/eldk/eldk4.1.1/usr/../ppc_8xx/usr/include/sys/ioctl.h:27,
from include/libbb.h:29,
from include/busybox.h:10,
from applets/applets.c:11:
/opt/eldk/eldk4.1.1/usr/../ppc_8xx/usr/include/bits/ioctls.h:24:24: error: asm/ioctls.h: No such file or directory
In file included from /opt/eldk/eldk4.1.1/usr/../ppc_8xx/usr/include/sys/param.h:24,
from include/libbb.h:46,
from include/busybox.h:10,
from applets/applets.c:11:
/home/liaoy/work/linux/linux-2.6.20/include/linux/param.h:4:23: error: asm/param.h: No such file or directory
make[1]: *** [applets/applets.o] Error 1
make: *** [applets_dir] Error 2
make的时候,找不到头文件,这是为啥??
|
编译器是否设置正确?
CROSS_COMPILE=?
CROSS_COMPILE=?
|
内核源码的path没有设置好。
|
/home/liaoy/work/linux/linux-2.6.20/include/linux/param.h:4:23: error: asm/param.h: No such file or directory
你最好现编译一下内核先。