linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: "André Lämmer" <alaemmer@fh-konstanz.de>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Compiling Kernel 2.6 for ppc32
Date: Tue, 09 Sep 2003 19:30:49 +0200	[thread overview]
Message-ID: <20030909173054.72C37C59E4@atlas.denx.de> (raw)
In-Reply-To: Your message of "Tue, 09 Sep 2003 18:17:58 +0200." <000001c376ed$eef95430$0f21258d@fhkonstanz.de>


In message <000001c376ed$eef95430$0f21258d@fhkonstanz.de> you wrote:
>
> I tried to compile the kernel 2.6. test 4 for PowerPC. I used the cross
> compile tool chain ELDK V2.1 from Denx http://www.denx.de/. I am not
> able to make the kernel, because I get the following error.
>
> In file included from include/asm/system.h:8,
>                  from include/linux/list.h:8,
>                  from include/linux/signal.h:4,
>                  from arch/ppc/kernel/asm-offsets.c:12:
> include/linux/kernel.h:10: stdarg.h: Datei oder Verzeichnis nicht
> gefunden In file included from include/asm/system.h:8,
...


In the top level Makefile, change the line

kbuild_2_4_nostdinc     := -nostdinc -iwithprefix include

into:

kbuild_2_4_nostdinc     := -nostdinc $(shell $(CC) -print-search-dirs | \
				sed -ne 's/install: \(.*\)/-I \1include/gp')


Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Good manners are the settled  medium  of  social,  as  specie  is  of
commercial, life; returns are equally expected for both.
           - Lord Chesterfield _Letters to his Son_, 25 December 1753

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  parent reply	other threads:[~2003-09-09 17:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-09 16:17 Compiling Kernel 2.6 for ppc32 André Lämmer
2003-09-09 16:49 ` Dan Kegel
2003-09-09 17:30 ` Wolfgang Denk [this message]
2003-09-10 16:08   ` André Lämmer
2003-09-10 16:54     ` Wolfgang Denk
2003-09-10 19:14     ` Shih-Ying Chou

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=20030909173054.72C37C59E4@atlas.denx.de \
    --to=wd@denx.de \
    --cc=alaemmer@fh-konstanz.de \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).