编译内核时出现错误:
1,No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
于是上网查找原因,最后重新make clean 然后再make menuconfig 再make 没有出现这样的错误。
2, 错误size of array `type name' is negative 暂时没有解决
3.出错信息:CC kernel/bounds.s
cc1: error: invalid option `abi=aapcs-linux'
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
原因:旧编译器可能是用OABI的,而配置内核时又选择了使用EABI的,即使用的编译器是3.4.5或以下的编译器,不需要用到这个。修改内核配置:
Kernel Features ---->Use the ARM EABIto compile the kernel 不要选中这项即可。问题解决了
4.编译busybox时出错`SYS_ioprio_get' undeclared (first use in this function),执行menuconfig将coreutils下面的fsync去掉
5.SYS_ioprio_set' undeclared (first use in this function)
5,移植时发现错误drivers/rtc/hctosys.c: unable to open rtc device (rtc0),
首先在内核编译的时候添加对rtc的
S3C2440的嵌入式移植过程中出现的问题
最新推荐文章于 2021-10-25 12:14:53 发布