Hi All, I was trying to build kernel 3.x(git://git.denx.de/linux-denx.git). Below are the errors I got when I tried to compile the kernel.
khalid@khalid-VPCS13S9E:~/ctbuild/linux-denx/linux-denx$ make ARCH=powerpc CROSS_COMPILE=powerpc-linux- uImage CHK include/linux/version.h CHK include/generated/utsrelease.h CALL scripts/checksyscalls.sh CHK include/generated/compile.h CALL arch/powerpc/kernel/systbl_chk.sh BOOTAS arch/powerpc/boot/string.o cc1: error: Do not use -Os option if --enable-target-optspace is not set. make[1]: *** [arch/powerpc/boot/string.o] Error 1 make: *** [uImage] Error 2 khalid@khalid-VPCS13S9E:~/ctbuild/linux-denx/linux-denx$ powerpc-linux-gcc -Os -S -o /dev/null -xc /dev/null cc1: error: Do not use -Os option if --enable-target-optspace is not set. For configuration, I was using 85xx/tqm8548_defconfig file. Thanks for your help.(please consider that I am new linux user when replying). Regards Khalid _______________________________________________ eldk mailing list [email protected] http://lists.denx.de/mailman/listinfo/eldk
