SylixOS嵌入式操作系统|论坛
标题:
RealCoder编译SylixOS的2440BSP模板,出现错误
[打印本页]
作者:
lixiaocheng
时间:
2015-1-14 16:08
标题:
RealCoder编译SylixOS的2440BSP模板,出现错误
大神们有没有遇到到过使用RealCoder编译一个920T的的sylixos
然后再创建一个mini2440模板的BSP
编译sylixos base的时候没有问题,但是编译 mini2440 bsp的时候,出现如下错误,
arm-sylixos-eabi-g++ -mcpu=arm920t -nostdlib -TSylixOSBSP.ld -o ./Debug/mini2440bsp.elf ./Debug/obj/SylixOS/bsp/bspInit.o ./Debug/obj/SylixOS/bsp/bspLib.o ./Debug/obj/SylixOS/bsp/startup.o ./Debug/obj/SylixOS/bsp/targetInit.o ./Debug/obj/SylixOS/driver/dma/samsungdma.o ./Debug/obj/SylixOS/driver/gpio/s3c2440_gpio.o ./Debug/obj/SylixOS/driver/i2c/samsungi2c.o ./Debug/obj/SylixOS/driver/lcd/s3c2440a_lcd.o ./Debug/obj/SylixOS/driver/mtd/nand/k9f1g08.o ./Debug/obj/SylixOS/driver/mtd/nand/nand.o ./Debug/obj/SylixOS/driver/mtd/nand/s3c24xx_nand.o ./Debug/obj/SylixOS/driver/netif/dm9000x.o ./Debug/obj/SylixOS/driver/pm/s3c2440a_pm.o ./Debug/obj/SylixOS/driver/rtc/rtc.o ./Debug/obj/SylixOS/driver/sdi/mciLib.o ./Debug/obj/SylixOS/driver/sdi/s3csdi.o ./Debug/obj/SylixOS/driver/sdi/sdInit.o ./Debug/obj/SylixOS/driver/timer/timer.o ./Debug/obj/SylixOS/driver/touchscr/s3c_onewire.o ./Debug/obj/SylixOS/driver/touchscr/touchscr.o ./Debug/obj/SylixOS/driver/tty/samsungtty.o ./Debug/obj/SylixOS/driver/tty/uart.o ./Debug/obj/SylixOS/user/main.o ./Debug/obj/SylixOS/bsp/symbol.o \
-L"D:\sylixos_workspace\SylixOS_v4/libsylixos/Debug" -lsylixos -lm -lgcc
D:\sylixos_workspace\SylixOS_v4/libsylixos/Debug\libsylixos.a(vfprintf.o): In function `vfprintf':
D:\sylixos_workspace\SylixOS_v4\libsylixos/SylixOS/lib/libc/stdio/vfprintf.c:563: undefined reference to `__fpclassify'
D:\sylixos_workspace\SylixOS_v4\libsylixos/SylixOS/lib/libc/stdio/vfprintf.c:570: undefined reference to `__isnan'
collect2.exe: error: ld returned 1 exit status
make: *** [Debug/mini2440bsp.elf] Error 1
file:///C:\Users\xcli\AppData\Roaming\Tencent\Users\42896846\QQ\WinTemp\RichOle\6T9]D(0IXEXTQSP6UA2YD}I.jpg
作者:
tiger
时间:
2015-1-16 15:44
某些软件(如:mingw)安装过程中会添加一个名为C_INCLUDE_PATH的环境变量,arm-sylixos-eabi-gcc会优先查找C_INCLUDE_PATH指定的目录,导致头文件引用错误。删除该变量可解决问题。我们会在下一版产品中屏蔽这个功能。
欢迎光临 SylixOS嵌入式操作系统|论坛 (https://bbs.sylixos.com/)
Powered by Discuz! X3.2