strange errors

Hua Li privatestuffs at gmail.com
Sat Feb 11 07:59:08 EST 2012


Dear All,

I am trying to transplant the linux kernel.

I downloaded the linux kernel and got the cross compiler from
ftp://ftp.arm.linux.org.uk/pub/armlinux,
then I specified the ARCH and CROSS_COMPILE in the Makefile, then I
executed the following:

make xconfig
make clean
make

I encountered two errors here:
cc1: invalid option 'abi=apcs-gnu'
cc1: unrecognized option '-fstack-protector'
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare 0]Error 2

How can I fix these two errors? Thanks a lot!



More information about the linux-arm-toolchain mailing list