嵌入式爱好者

查看: 3670|回复: 0

为什么uboot编译不成功

[复制链接]

2

主题

3

帖子

6

积分

扫一扫,手机访问本帖
发表于 2015-6-4 10:04:29 | 显示全部楼层 |阅读模式
root@fc11ruan01 uboot_ok2416_1.3.4]# make distclean
[root@fc11ruan01 uboot_ok2416_1.3.4]# make forlinx2416_config
Configuring for forlinx2416 board...
[root@fc11ruan01 uboot_ok2416_1.3.4]# make
Generating include/autoconf.mk
cc1: error: invalid option `float-abi=soft'
Generating include/autoconf.mk.dep
cc1: error: invalid option `float-abi=soft'
for dir in tools examples/standalone examples/api ; do make -C $dir _depend ; done
make[1]: Entering directory `/uboot_ok2416_1.3.4/tools'
In file included from /usr/include/errno.h:36,
                 from /uboot_ok2416_1.3.4/include/compiler.h:22,
                 from /uboot_ok2416_1.3.4/include/environment.h:121,
                 from /uboot_ok2416_1.3.4/common/env_embedded.c:30:
/usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or directory
In file included from /usr/include/errno.h:36,
                 from /uboot_ok2416_1.3.4/include/compiler.h:22,
                 from /uboot_ok2416_1.3.4/tools/os_support.h:22,
                 from /uboot_ok2416_1.3.4/tools/mkimage.h:25,
                 from /uboot_ok2416_1.3.4/common/image.c:71:
/usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or directory
In file included from /usr/include/errno.h:36,
                 from /uboot_ok2416_1.3.4/include/compiler.h:22,
                 from /uboot_ok2416_1.3.4/lib_generic/md5.c:28:
/usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or directory
In file included from /usr/include/errno.h:36,
                 from /uboot_ok2416_1.3.4/include/compiler.h:22,
                 from /uboot_ok2416_1.3.4/tools/os_support.h:22,
                 from /uboot_ok2416_1.3.4/tools/mkimage.h:25,
                 from /uboot_ok2416_1.3.4/tools/default_image.c:30:
/usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or directory
In file included from /usr/include/errno.h:36,
                 from /uboot_ok2416_1.3.4/include/compiler.h:22,
                 from /uboot_ok2416_1.3.4/tools/os_support.h:22,
                 from /uboot_ok2416_1.3.4/tools/mkimage.h:25,
                 from /uboot_ok2416_1.3.4/tools/fit_image.c:30:
/usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or directory
In file included from /usr/include/errno.h:36,
                 from /uboot_ok2416_1.3.4/include/compiler.h:22,
                 from /uboot_ok2416_1.3.4/tools/os_support.h:22,
                 from /uboot_ok2416_1.3.4/tools/mkimage.h:25,
                 from /uboot_ok2416_1.3.4/tools/kwbimage.c:28:
/usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or directory
In file included from /usr/include/errno.h:36,
                 from /uboot_ok2416_1.3.4/include/compiler.h:22,
                 from /uboot_ok2416_1.3.4/tools/os_support.h:22,
                 from /uboot_ok2416_1.3.4/tools/mkimage.h:25,
                 from /uboot_ok2416_1.3.4/tools/mkimage.c:24:
/usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or directory
In file included from /usr/include/errno.h:36,
                 from /uboot_ok2416_1.3.4/include/compiler.h:22,
                 from /uboot_ok2416_1.3.4/tools/os_support.c:22:
/usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or directory
In file included from /usr/include/errno.h:36,
                 from /uboot_ok2416_1.3.4/include/compiler.h:22,
                 from /uboot_ok2416_1.3.4/include/libfdt_env.h:24,
                 from /uboot_ok2416_1.3.4/libfdt/fdt.c:51:
/usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or directory
In file included from /usr/include/errno.h:36,
                 from /uboot_ok2416_1.3.4/include/compiler.h:22,
                 from /uboot_ok2416_1.3.4/include/libfdt_env.h:24,
                 from /uboot_ok2416_1.3.4/libfdt/fdt_ro.c:51:
/usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or directory
In file included from /usr/include/errno.h:36,
                 from /uboot_ok2416_1.3.4/include/compiler.h:22,
                 from /uboot_ok2416_1.3.4/include/libfdt_env.h:24,
                 from /uboot_ok2416_1.3.4/libfdt/fdt_rw.c:51:
/usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or directory
In file included from /usr/include/errno.h:36,
                 from /uboot_ok2416_1.3.4/include/compiler.h:22,
                 from /uboot_ok2416_1.3.4/include/libfdt_env.h:24,
                 from /uboot_ok2416_1.3.4/libfdt/fdt_strerror.c:51:
/usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or directory
In file included from /usr/include/errno.h:36,
                 from /uboot_ok2416_1.3.4/include/compiler.h:22,
                 from /uboot_ok2416_1.3.4/include/libfdt_env.h:24,
                 from /uboot_ok2416_1.3.4/libfdt/fdt_wip.c:51:
/usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or directory
make[1]: *** No rule to make target `.depend', needed by `_depend'.  Stop.
make[1]: Leaving directory `/uboot_ok2416_1.3.4/tools'
make[1]: Entering directory `/uboot_ok2416_1.3.4/examples/standalone'
cc1: error: invalid option `float-abi=soft'
cc1: error: invalid option `float-abi=soft'
make[1]: *** No rule to make target `.depend', needed by `_depend'.  Stop.
make[1]: Leaving directory `/uboot_ok2416_1.3.4/examples/standalone'
make[1]: Entering directory `/uboot_ok2416_1.3.4/examples/api'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/uboot_ok2416_1.3.4/examples/api'
make -C tools all
make[1]: Entering directory `/uboot_ok2416_1.3.4/tools'
gcc -g -Wall -idirafter /uboot_ok2416_1.3.4/include -idirafter /uboot_ok2416_1.3.4/include2 -idirafter /uboot_ok2416_1.3.4/include -I /uboot_ok2416_1.3.4/libfdt -I /uboot_ok2416_1.3.4/tools -DTEXT_BASE=0xC3E00000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -O -c -o default_image.o /uboot_ok2416_1.3.4/tools/default_image.c
In file included from /usr/include/errno.h:36,
                 from /uboot_ok2416_1.3.4/include/compiler.h:22,
                 from /uboot_ok2416_1.3.4/tools/os_support.h:22,
                 from /uboot_ok2416_1.3.4/tools/mkimage.h:25,
                 from /uboot_ok2416_1.3.4/tools/default_image.c:30:
/usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or directory
make[1]: *** [default_image.o] Error 1
make[1]: Leaving directory `/uboot_ok2416_1.3.4/tools'
make: *** [tools] Error 2
回复

使用道具 举报

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

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-11-22 17:54

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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