The kernel-source-2.4.19-16mdk package fails to build. I simply wanted to reproduce the kernel I have installed (the default "up" kernel) to verify the kernel-source package before moving on to other builds. It failed.
The failure message is:
gcc -D__KERNEL__ -I/usr/src/linux-2.4.19-16mdk/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.19-16mdk/include/linux/modversions.h -nostdinc -I
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include -DKBUILD_BASENAME=zftape_compress
-c -o zftape-compress.o zftape-compress.c
In file included from /usr/src/linux-2.4.19-16mdk/include/linux/mm.h:4,
from zftape-compress.c:35:
/usr/src/linux-2.4.19-16mdk/include/linux/sched.h:6: invalid suffix on integer constant
/usr/src/linux-2.4.19-16mdk/include/linux/sched.h:6: parse error before numeric
constant
/usr/src/linux-2.4.19-16mdk/include/linux/sched.h:6: warning: function declaration
isn't a prototype
make[4]: *** [zftape-compress.o] Error 1
make[4]: Leaving directory `/usr/src/linux-2.4.19-16mdk/drivers/char/ftape/compressor'
make[3]: *** [_modsubdir_compressor] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.19-16mdk/drivers/char/ftape'
make[2]: *** [_modsubdir_ftape] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.19-16mdk/drivers/char'
make[1]: *** [_modsubdir_char] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.19-16mdk/drivers'
make: *** [_mod_drivers] Error 2
I am building with the default gcc that comes in Cooker:
$ rpm -q gcc
gcc-3.2-1mdk
but here are the particulars on all (gcc) packages on my system:
$ rpm -qa | grep gcc
gcc-cpp-3.2-1mdk
gcc2.96-cpp-2.96-0.80mdk
gcc3.0-cpp-3.0.4-5mdk
gcc-c++-3.2-1mdk
gcc2.96-2.96-0.80mdk
gcc-3.2-1mdk
gcc3.0-c++-3.0.4-5mdk
gcc3.0-3.0.4-5mdk
libgcc1-3.2-1mdk
Ideas?
b.
--
Brian J. Murrell
msg78242/pgp00000.pgp
Description: PGP signature
