Thread (3 messages) 3 messages, 3 authors, 2003-09-10

Re: Compiling Kernel 2.6 for ppc32

flat view

From: Wolfgang Denk <hidden>
Date: 2003-09-09 17:30:49

In message [ref] 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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help