Re: Kernel-Image für AMD64
Am So 03.07.2005 19:45 schrieb Andreas Bießmann <andreas@biessmann.de>:
Hallo,
[...]
> > /usr/bin/make CROSS_COMPILE=amd64-linux-
> > ARCH=x86_64 prepare
> > make[1]: amd64-linux-gcc: Command not found
> > make[1]: Entering directory `/usr/src/linux-2.6.12'
> > SPLIT include/linux/autoconf.h -> include/config/*
> > CC scripts/mod/empty.o
> > /bin/sh: line 1: amd64-linux-gcc: command not found
> > make[3]: *** [scripts/mod/empty.o] Error 127
> > make[2]: *** [scripts/mod] Error 2
> > make[1]: *** [scripts] Error 2
> > make[1]: Leaving directory `/usr/src/linux-2.6.12'
> > make: *** [stamp-kernel-configure] Error 2
> >
> > Ihm fehlt wohl die gcc Version für amd64 aber gibt es diese
> > überhaubt in Sarge?
> Ok, Schein ein anderes Problem zu sein. Bin mir jetzt nicht ganz
> sicher,
> (hab keinen amd64) aber normalerweise müsste amd64-linux-gcc ein link
> auf den gcc sein.
Danke für den Tip funktioniert leider nicht. Nach anlegen des Links
erhalte ich die Fehlermeldung:
HOSTLD scripts/genksyms/genksyms
CC scripts/mod/empty.o
scripts/mod/empty.c:1: error: code model `kernel' not supported in the
32 bit mode
make[3]: *** [scripts/mod/empty.o] Error 1
make[2]: *** [scripts/mod] Error 2
make[1]: *** [scripts] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12'
make: *** [stamp-kernel-configure] Error 2
Ich habe im Web einen Hinweis gefunden dass wenn man unter 32Bit-Linux
einen 64Bit-Kernel bauen möchte man einen gcc braucht der als
Cross-Compiler arbeitet und der gcc von Debian-Sarge würde genau das
nicht tun.
Viele Grüß
Sven
Reply to: