请帮助我 我在Linux中是菜鸟;我的设备是Sony z1 c6903,并从https://developer.sony.com下载了设备内核源代码 并下载交叉编译器gcc eabi 4.6和gcc eabi 4.8 并且我从此页面逐步完成了说明:https://developer.sony.com/develop/open-devices/guides/kernel-compilation-guides/how-to-build-and-flash-a-linux-kernel-for-aosp-supported-devices
在编译时观察到此错误:
arch/arm/kernel/return_address.c:62:2: warning: #warning "TODO:
return_address should use unwind tables" [-Wcpp]
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at
kernel/timeconst.pl line 373.
/home/amh/kernel/kernel/kernel/Makefile:129: recipe for target
'kernel/timeconst.h' failed
make[1]: *** [kernel/timeconst.h] Error 255
Makefile:950: recipe for target 'kernel' failed
make: *** [kernel] Error 2
make: *** Waiting for unfinished jobs....
/tmp/ccitMpzg.s: Assembler messages:
/tmp/ccitMpzg.s:169: Warning: swp{b} use is deprecated for ARMv6 and ARMv7
/tmp/ccitMpzg.s:195: Warning: swp{b} use is deprecated for ARMv6 and ARMv7
但是在最后一个状态下,编译在“ LD arch / arm / mach-msm / built-in.o”失败,并停止了!
请帮助我...我可能在哪里弄错了?