2.4.20-pre2-ac1 does not compile
Hi,
I've the following message :
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.20-pre2-ac1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6 -nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=swap_state -c -o swap_state.o swap_state.c swap_state.c:155: macro `PAGE_BUG' used without args make[3]: *** [swap_state.o] Erreur 1
make[3]: Leaving directory `/usr/src/kernel-source-2.4.20-pre2-ac1/mm' make[2]: *** [first_rule] Erreur 2
make[2]: Leaving directory `/usr/src/kernel-source-2.4.20-pre2-ac1/mm' make[1]: *** [_dir_mm] Erreur 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.20-pre2-ac1'
-------
Regards
Jean-Luc
Quoted 5 lines · Jean-Luc Coulon
(quoted diff) +0
-4-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6 -nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=swap_state -c -o swap_state.o swap_state.cswap_state.c:155: macro `PAGE_BUG' used without args
make that a plain BUG() - no idea what drove alan into that..
Quoted 9 lines · Christoph Hellwig
Quoted 5 lines · Jean-Luc Coulon
(quoted diff) +0
-4-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6 -nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=swap_state -c -o swap_state.o swap_state.cswap_state.c:155: macro `PAGE_BUG' used without args
make that a plain
BUG()- no idea what drove alan into that..
When nfsd is compiled as a module it fails on depmod -a, as exp_readunlock can't be found.
mvh,
A
Signature · 3 lines
Alexander Hoogerhuis | [email protected] CCNP - CCDP - MCNE - CCSE | +47 908 21 485 "You have zero privacy anyway. Get over it." --Scott McNealy
Quoted 8 lines · Christoph Hellwig
Quoted 5 lines · Jean-Luc Coulon
(quoted diff) +0
-4-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6 -nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=swap_state -c -o swap_state.o swap_state.cswap_state.c:155: macro `PAGE_BUG' used without args
make that a plain
BUG()- no idea what drove alan into that..
Shouldn't it be PAGE_BUG(page)?!
Regards: David
Signature · 3 lines
/> David Weinehall <[email protected]> /> Northern lights wander <\ // Maintainer of the v2.0 kernel // Dance across the winter sky // \> http://www.acc.umu.se/~tao/ </ Full colour fire </
Quoted 11 lines · David Weinehall
Quoted 8 lines · Christoph Hellwig
Quoted 5 lines · Jean-Luc Coulon
(quoted diff) +0
-4-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6 -nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=swap_state -c -o swap_state.o swap_state.cswap_state.c:155: macro `PAGE_BUG' used without args
make that a plain
BUG()- no idea what drove alan into that..Shouldn't it be
PAGE_BUG(page)?!
Have you ever looked at the defintion of PAGE_BUG()? :)
Quoted 11 lines · Christoph Hellwig
Quoted 10 lines · David Weinehall
Quoted 8 lines · Christoph Hellwig
Quoted 5 lines · Jean-Luc Coulon
(quoted diff) +0
-4-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6 -nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=swap_state -c -o swap_state.o swap_state.cswap_state.c:155: macro `PAGE_BUG' used without args
make that a plain
BUG()- no idea what drove alan into that..
Quoted 4 lines
Quoted 1 line
Shouldn't it be
PAGE_BUG(page)?!Have you ever looked at the defintion of
PAGE_BUG()? :)
Yes I have (it simply ignores its argument and calls BUG()), but I find it likely that there is some thought behind the existance of PAGE_BUG. I may be wrong of course; I just saw it as reasonable that it is planned to become somewhat more useful.
Regards: David
Signature · 3 lines
/> David Weinehall <[email protected]> /> Northern lights wander <\ // Maintainer of the v2.0 kernel // Dance across the winter sky // \> http://www.acc.umu.se/~tao/ </ Full colour fire </