错误一
make[1]: *** 没有规则可以创建“all”需要的目标“hello_world.srec”
解决办法:可以简单的改一个目录examples下的Makefile来解决:
SREC = hello_world.srec
BIN = hello_world.bin hello_world
改为:
SREC = hello_world.o
BIN = hello_world.o hello_world
错误二
cc1: invalid option `abi=apcs-gnu'
解决办法:文件是/cpu/arm920t/下的config.mk:将
PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,-mabi=apcs-gnu)
改成:
PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,$(call cc-option,-mabi=apcs-gnu),)
PS:此处于芯片相关紧密
/CPU/arm920t
此处芯片型号与
smdk2410_config : unconfig
@./mkconfig $(@:_config=) arm arm920t smdk2410 NULL s3c24x0
严格相符
错误三、
arm-linux-ld: Error: interrupts.o uses hard floating point, whereas u-boot uses soft floating point
??????: failed to merge target specific data of file cpu/arm920t/libarm920t.a(interrupts.o)
arm-linux-ld: Error: interrupts.o uses hard floating point, whereas u-boot uses soft floating point
??????: failed to merge target specific data of file cpu/arm920t/s3c24x0/libs3c24x0.a(interrupts.o)
编译器版本不匹配,更新编译器,检查系统内核和版本是否与要求相符合!
阅读(1557) | 评论(0) | 转发(0) |