韦东山 编译器
- 问题所在章节: 第017课_LCD
- 发生问题的运行环境: 编译器 4.3.2 用你们提供的源码 010_palette_017_011
- 问题发生描述:
- 编译报错:
- 用你们提供的Ubuntu9.10 系统编译也是一样的错误
- 输出的错误信息:
- my_printf.o: In function `out_num':
- my_printf.c:(.text+0x120): undefined reference to `__aeabi_uidivmod'
- my_printf.c:(.text+0x158): undefined reference to `__aeabi_uidiv'
- lcd/s3c2440_lcd_controller.o: In function `s3c2440_lcd_controller_init':
- s3c2440_lcd_controller.c:(.text+0xb8): undefined reference to `__aeabi_i2f'
- s3c2440_lcd_controller.c:(.text+0xcc): undefined reference to `__aeabi_fdiv'
- s3c2440_lcd_controller.c:(.text+0xe0): undefined reference to `__aeabi_fdiv'
- s3c2440_lcd_controller.c:(.text+0xf4): undefined reference to `__aeabi_fsub'
- s3c2440_lcd_controller.c:(.text+0x100): undefined reference to `__aeabi_f2d'
- s3c2440_lcd_controller.c:(.text+0x128): undefined reference to `__aeabi_dadd'
- s3c2440_lcd_controller.c:(.text+0x13c): undefined reference to `__aeabi_d2iz'
- make: *** [all] Error 1
- 用编译器自带的libgcc.a 编译 报错
- libgcc.a(_udivsi3.o): In function `__aeabi_uidiv':
- (.text+0x0): multiple definition of `__udivsi3'
- lib1funcs.o:(.text+0x0): first defined here
- libgcc.a(_dvmd_lnx.o): In function `__aeabi_ldiv0':
- (.text+0x8): undefined reference to `raise'
- make: *** [all] Error 1
- 不知道怎么解决了。。麻烦老师给解决下
回帖(2)
2019-4-17 10:15:15
历史告诉我们 最好用最新的开发环境
历史告诉我们 最好用最新的开发环境
举报
2019-4-17 10:32:49
工具链换3.4.5
工具链换3.4.5
举报
更多回帖