3

Cross LFS - PPC - Error while compiling

view full story
linux-howto

http://unix.stackexchange.com – I'm trying to build a CLFS for a PPC 8270 processor. All is fine until I use the make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- command. CC arch/powerpc/kernel/align.o arch/powerpc/kernel/align.c: In function 'fix_alignment': arch/powerpc/kernel/align.c:704:33: error: variable 'instruction' set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors make[1]: *** [arch/powerpc/kernel/align.o] Error 1 make: *** [arch/powerpc/kernel] Error 2 In menuconfig, I used the default configuration except I choose compatibily with PPC 82XX processor family. (HowTos)