打印

为什么uboot编译不成功

[复制链接]
276|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
张さん|  楼主 | 2018-9-1 10:42 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
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

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

448

主题

464

帖子

1

粉丝