Compiling latest kernel (from kernel.org, linux-omap git version) in n800

Leandro Melo de Sales
2007-04-18T17:08:05Z

Hi list,

I download the git version and then, after some commands I got the following:

[sbox-SDK_ARMEL: ~/maemo_kernel_git/linux-omap] > make zImage
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
CHK include/linux/compile.h
CC arch/arm/mach-omap2/board-n800.o
arch/arm/mach-omap2/board-n800.c:507: error: `MACH_TYPE_NOKIA_N800'
undeclared here (not in a function)
arch/arm/mach-omap2/board-n800.c:507: error: initializer element is not constant
arch/arm/mach-omap2/board-n800.c:507: error: (near initialization for
`__mach_desc_NOKIA_N800.nr')
make[1]: *** [arch/arm/mach-omap2/board-n800.o] Error 1
make: *** [arch/arm/mach-omap2] Error 2

What is the problem? I'm using scratchbox and before make zImage, I
did make n800_defconfig.

Any clue will be greatfully appreciated.

Thank you,
Leandro.

--
Leandro Melo de Sales.
Computer Science MSc Candidate
Pervasive and Embedded Computing Lab - embedded.ufcg.edu.br
Center of Electrical Engineering and Informatics at Federal University
of Campina Grande - UFCG / Brazil
083 33101404 (extension 208)