编译环境是VM12虚拟机的Fedora23 -32位
gcc 版本 5.3.1 20151207 (Red Hat 5.3.1-2) (GCC)
arm-linux-gcc version 4.5.1 (ctng-1.8.1-FA)
编译的.config是原来的tiny4412_linux_defconfig文件复制的
目前出现的问题,编译时候提示错误如下:
[root@localhost linux-3.5]# make
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
TIMEC kernel/timeconst.h
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at kernel/timeconst.pl line 373.
/opt/FriendlyARM/tiny4412/linux/linux-3.5/kernel/Makefile:133: recipe for target 'kernel/timeconst.h' failed
make[1]: *** [kernel/timeconst.h] Error 255
Makefile:776: recipe for target 'kernel' failed
make: *** [kernel] Error 2