Am Sonntag, 26. Januar 2003 01:47 schrieb David Haller:
Hallo,
On Sat, 25 Jan 2003, Christoph Strins wrote:
Hört sich ja gut an. Aber bei mir gibt es beim obigen Kernel beim Ausführen von "make bzImage" folgenden Fehler:
[..]
gcc -D__KERNEL__ -I/usr/src/linux-2.4.21/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -nostdinc -iwithprefix include -DKBUILD_BASENAME=memcpy -c -o memcpy.o memcpy.c memcpy.c: In function `memcpy': memcpy.c:10: warning: implicit declaration of function `__memcpy3d' memcpy.c:10: warning: return makes pointer from integer without a cast
[..]
/usr/src/linux-2.4.21/arch/i386/lib/lib.a(memcpy.o): In function `memcpy': memcpy.o(.text+0x1): undefined reference to `__memcpy3d' make: *** [vmlinux] Fehler 1
[..]
Die Datei memcpy.c sieht folgendermaßen aus:
[..]
void * memcpy(void * to, const void * from, size_t n) { #ifdef CONFIG_X86_USE_3DNOW return __memcpy3d(to, from, n); #else return __memcpy(to, from, n); #endif }
Flaches CPU ausgewaehlt? make dep clean vergessen?
Meinst du falsche CPU? Die CPU ist jedenfalls richtig ausgewählt. Ich habe einen Athlon XP und ausgewählt Athlon/K7/Duron. Ein make dep clean habe ich vorher auch gemacht. Christoph