[maemo-developers] Compiling latest kernel (from kernel.org) in n800

From: Leandro Melo de Sales leandroal at gmail.com
Date: Wed Apr 18 19:46:41 EEST 2007
Daniel,

    still cannot compile linux-omap for n800_defconfig and kernel git.
Can you please give me a point to solve this problem?

Thank you,
Leandro.

2007/4/17, Leandro Melo de Sales <leandroal at gmail.com>:
> If I type make n770_defconfig I can compile the kernel, but if I type
> n800_defconfig I can't, make output is as bellow... any clue?
>
> 2007/4/17, Leandro Melo de Sales <leandroal at gmail.com>:
> > Hi Daniel,
> >
> >   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, do you know? I'm using scratchbox.
> >
> > Thank you,
> > Leandro.
> >
> > 2007/4/17, Daniel Stone <daniel.stone at nokia.com>:
> > > On Tue, Apr 17, 2007 at 05:00:38PM -0300, ext Leandro Melo de Sales wrote:
> > > >  Do you say, linux-omap tree of kernel.org, right? I'm getting the
> > > > git version of the following tree:
> > > >  http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git
> > > >
> > > > Is it right?
> > >
> > > Yeah, that's the one.
> > >
> > > Cheers,
> > > Daniel
> > >
> > > -----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v1.4.3 (GNU/Linux)
> > >
> > > iD8DBQFGJS2I68xJuWtYYdURAgAjAJ4oA4wZzbHW+zxA40Vt/cQMw52c7wCff0El
> > > zil+hl7Cb3jSvDWuAj1Fl8A=
> > > =KygY
> > > -----END PGP SIGNATURE-----
> > >
> > >
> >
>

More information about the maemo-developers mailing list