I have tried to compile linux-2.6.24.atmel.1 on Ubunty 'Gutsy' 32-bit with the official Debian AVR32 compiler packages and tools from Atmel. To configure and make the kernel, I am using:
make ARCH=avr32 KBUILD_HAVE_NLS=yes xconfig make ARCH=avr32 CROSS_COMPILE=avr32-linux- KBUILD_HAVE_NLS=yes
I have tried using defaults for all of the choices presented by xconfig. Ideally, I would like to compile the kernel and then customize it for a board that I am designing. However, I find that the kernel compile crashes:
CC [M] crypto/tea.o CC [M] crypto/khazad.o CC [M] crypto/anubis.o CC [M] crypto/deflate.o CC [M] crypto/michael_mic.o CC [M] crypto/crc32c.o CC [M] crypto/tcrypt.o CC [M] crypto/xor.o crypto/xor.c:23:21: error: asm/xor.h: No such file or directory crypto/xor.c: In function 'calibrate_xor_blocks': crypto/xor.c:131: error: 'XOR_TRY_TEMPLATES' undeclared (first use in this function) crypto/xor.c:131: error: (Each undeclared identifier is reported only once crypto/xor.c:131: error: for each function it appears in.) make: *** [crypto/xor.o] Error 1 make: *** [crypto] Error 2
Does anyone know what is happening? I would like to get this up and running, and I am becoming slightly frustrated. The same error seems to occur when I try compiling from the Atmel AVR32 git tree.