Android kernel compilation - error (multiple definition of `per_cpu_load_addr')
by korsun from LinuxQuestions.org on (#6DJKR)
Hello forumites! How to solve this error. Or how to disable it when compiling? I would be grateful for any hint.
Code:*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/external_drivers/camera/Kconfig:5:warning: config symbol defined without type
make[1]: Nothing to be done for 'all'.
HOSTLD arch/x86/tools/relocs
/usr/bin/ld: arch/x86/tools/relocs_64.o:(.bss+0x0): multiple definition of `per_cpu_load_addr'; arch/x86/tools/relocs_32.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [scripts/Makefile.host:127: arch/x86/tools/relocs] Error 1
make: *** [/home/korsun/android_kernel_asus_moorefield/arch/x86/Makefile:182: archscripts] Error 2
Code:*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/external_drivers/camera/Kconfig:5:warning: config symbol defined without type
make[1]: Nothing to be done for 'all'.
HOSTLD arch/x86/tools/relocs
/usr/bin/ld: arch/x86/tools/relocs_64.o:(.bss+0x0): multiple definition of `per_cpu_load_addr'; arch/x86/tools/relocs_32.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [scripts/Makefile.host:127: arch/x86/tools/relocs] Error 1
make: *** [/home/korsun/android_kernel_asus_moorefield/arch/x86/Makefile:182: archscripts] Error 2