loboris / OrangePI-Kernel

116 stars 84 forks source link

Build fails #2

Closed gicho closed 8 years ago

gicho commented 8 years ago

Build script "./build_linux_kernel 2" fails with "Error: KERNEL NOT BUILT.". Build log file shows that first error is: arch/arm/mach-sunxi/power/brom/gen_check_code: 1: arch/arm/mach-sunxi/power/brom/gen_check_code: Syntax error: end of file unexpected (expecting ")") make[3]: * [arch/arm/mach-sunxi/power/brom/resumes.code] Error 2 make[2]: * [arch/arm/mach-sunxi/power/brom/resumes.code] Error 2 make[1]: * [arch/arm/mach-sunxi/power] Error 2 make: * [arch/arm/mach-sunxi] Error 2

Here is the complete kbuild2.log: https://gist.github.com/gicho/6a6a48e58ea584e5b757

After this point the log continues with 30-40 successfully compiled *.o files All this on virtual machine with Ubuntu 14.04: Linux ubuntu 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:18:00 UTC 2015 i686 i686 i686 GNU/Linux

Tried both the sources from Mega download archive and from the github - no differences.

gicho commented 8 years ago

Maybe the reason is the host system - those tools (gen_check_code) seems to run only on 64bit systems?