1021256354 发表于 2018-5-6 11:55

libfloat提示是什么鬼?????

root@ubuntu:/workplace/u-boot/u-boot-1.1.2# make
make: Entering directory '/workplace/u-boot/u-boot-1.1.2/tools'
make: '.depend' is up to date.
make: Leaving directory '/workplace/u-boot/u-boot-1.1.2/tools'
make: Entering directory '/workplace/u-boot/u-boot-1.1.2/examples'
make: '.depend' is up to date.
make: Leaving directory '/workplace/u-boot/u-boot-1.1.2/examples'
make: Entering directory '/workplace/u-boot/u-boot-1.1.2/post'
make: '.depend' is up to date.
make: Leaving directory '/workplace/u-boot/u-boot-1.1.2/post'
make: Entering directory '/workplace/u-boot/u-boot-1.1.2/post/cpu'
make: '.depend' is up to date.
make: Leaving directory '/workplace/u-boot/u-boot-1.1.2/post/cpu'
make -C tools all
make: Entering directory '/workplace/u-boot/u-boot-1.1.2/tools'
make: Leaving directory '/workplace/u-boot/u-boot-1.1.2/tools'
make -C examples all
make: Entering directory '/workplace/u-boot/u-boot-1.1.2/examples'
arm-linux-gcc -g-Os   -fno-strict-aliasing-fno-common -ffixed-r8 -malignment-traps -msoft-float -D__KERNEL__ -DTEXT_BASE=0x33A00000 -I/workplace/u-boot/u-boot-1.1.2/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/arm/usr/local/arm/3.4.1/bin/../lib/gcc/arm-linux/3.4.1/include -pipe-DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes -g-Os   -fno-strict-aliasing-fno-common -ffixed-r8 -malignment-traps -msoft-float -D__KERNEL__ -DTEXT_BASE=0x33A00000 -I/workplace/u-boot/u-boot-1.1.2/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/arm/usr/local/arm/3.4.1/bin/../lib/gcc/arm-linux/3.4.1/include -pipe-DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -I.. -Bstatic -T /workplace/u-boot/u-boot-1.1.2/board/s3c2410/u-boot.lds -Ttext 0x33A00000   hello_world.c   -o hello_world
/usr/local/arm/usr/local/arm/3.4.1/bin/../lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: cannot find -lfloat
collect2: ld returned 1 exit status
<builtin>: recipe for target 'hello_world' failed
make: *** Error 1
make: Leaving directory '/workplace/u-boot/u-boot-1.1.2/examples'
Makefile:168: recipe for target 'examples' failed
make: *** Error 2
页: [1]
查看完整版本: libfloat提示是什么鬼?????