In an attempt to make the wait for my CuBox a little shorter, I've tried to cross-compile
the kernel on my Kubuntu 11.10:
Code:
apt-get install gcc-arm-linux-gnueabi
export ARCH=arm
export CROSS_COMPILE=/usr/bin/arm-linux-gnueabi-
make cubox_defconfig
make uImage
Unfortunately, this ends in the following error:
Code:
In file included from arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/os/linux/kernel/gc_hal_kernel_device.c:25:0:
include/linux/pagemap.h: In function ‘fault_in_pages_readable’:
include/linux/pagemap.h:415:16: error: variable ‘c’ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make[3]: *** [arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src/hal/os/linux/kernel/gc_hal_kernel_device.o] Error 1
make[2]: *** [arch/arm/mach-dove/gc600_driver_dove/galcore_ko_src] Error 2
make[1]: *** [arch/arm/mach-dove/gc600_driver_dove] Error 2
make: *** [arch/arm/mach-dove] Error 2
Is this due to an error on my part?