All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dirk Behme <dirk.behme@googlemail.com>
To: Leandro Melo de Sales <leandroal@gmail.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: Compiling latest kernel (from kernel.org, linux-omap git version) in n800
Date: Wed, 18 Apr 2007 20:30:47 +0200	[thread overview]
Message-ID: <462663D7.6040308@googlemail.com> (raw)
In-Reply-To: <5bc4c4570704181008w51ce9c3fg36769d80bf245fbc@mail.gmail.com>

Leandro Melo de Sales wrote:
> 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?

MACH_TYPE_NOKIA_N800 used by Nokia isn't available by 
Russels (ARM kernel maintainer) machine registry [1]. It's 
currently just a 'hack' Nokia (?) made locally to 
arch/arm/tools/mach-types. Because of this 'hack' status it 
isn't checked in.

So you have to manually apply a patch:

http://linux.omap.com/pipermail/linux-omap-open-source/2007-January/008958.html

(second patch of this mail, 02-mach-types-hack.patch)

Regards

Dirk

Btw.: Just noticed that Kai Svahn registered mach number 
1271 for N800 in machine registry.

[1] http://www.arm.linux.org.uk/developer/machines/

  reply	other threads:[~2007-04-18 18:30 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-18 17:08 Compiling latest kernel (from kernel.org, linux-omap git version) in n800 Leandro Melo de Sales
2007-04-18 18:30 ` Dirk Behme [this message]
2007-04-18 19:38   ` Tony Lindgren
2007-04-19  5:45     ` Jarkko Nikula
     [not found]       ` <5bc4c4570704191356q6a6d89e9y745bc8fb661d36c5@mail.gmail.com>
     [not found]         ` <5bc4c4570704191417u6c27c752se688d8347eadec9c@mail.gmail.com>
2007-04-21 22:18           ` Fwd: " Leandro Melo de Sales
2007-04-21 22:19             ` Leandro Melo de Sales
     [not found]               ` <31e679430704211543x65fb0950pc997a360a30f9e6d@mail.gmail.com>
2007-04-22 17:23                 ` Leandro Melo de Sales
2007-04-23  6:02                   ` Jarkko Nikula
2007-04-23 18:18                     ` Leandro Melo de Sales
     [not found]                       ` <31e679430704231123v6a73cc8fqd6b67918be28a5a9@mail.gmail.com>
2007-04-23 18:29                         ` Leandro Melo de Sales
2007-04-23 18:35                           ` Daniel Stone
     [not found]                             ` <5bc4c4570704231153p788a3936ue36041eeb7e06f8e@mail.gmail.com>
     [not found]                               ` <20070423185719.GJ19866@intune.research.nokia.com>
     [not found]                                 ` <5bc4c4570704231216m15565ed0l8e8bb976ac8c0828@mail.gmail.com>
2007-04-23 19:39                                   ` Leandro Melo de Sales
2007-04-23 22:34                                     ` Leandro Melo de Sales
2007-04-24  5:40                                       ` Jarkko Nikula
2007-04-26 22:35                                         ` Tony Lindgren
     [not found]                                     ` <5bc4c4570704231250m34f325b6s45939ffd0a6b28a8@mail.gmail.com>
     [not found]                                       ` <87wt028igg.fsf@nokia.com>
     [not found]                                         ` <5bc4c4570704240856j5e01da7alf16a64ece7ff0b78@mail.gmail.com>
2007-04-24 16:29                                           ` Leandro Melo de Sales
     [not found]                                           ` <877is0sf5b.fsf@nokia.com>
     [not found]                                             ` <f1a96fb30704250804x51d349apb0caca85ea80f8ea@mail.gmail.com>
     [not found]                                               ` <4630B7CD.6080601@seznam.cz>
     [not found]                                                 ` <161717d50704260932s3dea048bod1d85bc012704c55@mail.gmail.com>
     [not found]                                                   ` <5bc4c4570704261344m7e645c44v4489b18ae1043753@mail.gmail.com>
2007-04-26 22:43                                                     ` Leandro Melo de Sales
2007-04-23 19:47                             ` Felipe Balbi
2007-04-26 22:35                     ` Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=462663D7.6040308@googlemail.com \
    --to=dirk.behme@googlemail.com \
    --cc=leandroal@gmail.com \
    --cc=linux-omap-open-source@linux.omap.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.