[Badmem-users] unable to compile kernel
Status: Beta
Brought to you by:
eagle2
From: Frank V. D. <fra...@st...> - 2003-03-12 17:27:10
|
Hello, I'm trying to compile a badmem-enabled 2.4.20 linux kernel. I installed the badmem-utils package and enabled badmem in the kernel configuration. This is what I get : gcc -D__KERNEL__ -I/home/yalu/build/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i486 -nostdinc -iwithprefix include -DKBUILD_BASENAME=vmscan -c -o vmscan.o vmscan.c gcc -D__KERNEL__ -I/home/yalu/build/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i486 -nostdinc -iwithprefix include -DKBUILD_BASENAME=page_io -c -o page_io.o page_io.c gcc -D__KERNEL__ -I/home/yalu/build/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i486 -nostdinc -iwithprefix include -DKBUILD_BASENAME=page_alloc -DEXPORT_SYMTAB -c page_alloc.c page_alloc.c:28:24: badmemlib.h: No such file or directory page_alloc.c: In function `badmem_markpages': page_alloc.c:906: `badmem_pattern' undeclared (first use in this function) page_alloc.c:906: (Each undeclared identifier is reported only once page_alloc.c:906: for each function it appears in.) page_alloc.c:906: syntax error before "p" page_alloc.c:914: `p' undeclared (first use in this function) page_alloc.c:928: warning: implicit declaration of function `badmem_nextaddress' make[3]: *** [page_alloc.o] Error 1 make[3]: Leaving directory `/home/yalu/build/linux-2.4.20/mm' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/home/yalu/build/linux-2.4.20/mm' make[1]: *** [_dir_mm] Error 2 make[1]: Leaving directory `/home/yalu/build/linux-2.4.20' make: *** [stamp-build] Error 2 In the kernel configuration I set the path to the badmem utils as /usr/local (I also tried /usr/local/include). Anyone? P.S. please CC me. -- Frank Van Damme http://www.openstandaarden.be |