Upgraded to 2.4.7, now kernel source won't build!!
This is a strange one.
I took the updated 2.4.7 kernel from the SuSE site and the kernel source to
go with it.
Now when I try to do a 'make modules' I get this:
gcc -D__KERNEL__ -I/usr/src/linux-2.4.7.SuSE/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i586 -DMODULE -c -o sysinfo.o sysinfo.c
sysinfo.c:11: linux/compile.h: No such file or directory
sysinfo.c: In function `svr4_sysinfo':
sysinfo.c:86: `UTS_VERSION' undeclared (first use in this function)
sysinfo.c:86: (Each undeclared identifier is reported only once
sysinfo.c:86: for each function it appears in.)
make[2]: *** [sysinfo.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.7.SuSE/abi/svr4'
make[1]: *** [_modsubdir_svr4] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.7.SuSE/abi'
make: *** [_mod_abi] Error 2
This is not good. How on earth do I end up with a kernel source from SuSE
that won't compile?
The 2.4.4 sources all compiled fine. And I haven't touched the gcc that came
with 7.2. gcc -v gives 'gcc version 2.95.3 20010315 (SuSE)'.
I'm using 2.4.7 at the moment, the only other issue being the NVidia drivers
(see the xfree update thread), but this seems truly weird to get a kernel
source rpm direct from SuSE that won't build.
Note that I checked the MD5 sums and the signing keys before installing.
Regards,
--
Tim Harrell
It now seems to work ok.
I have no idea what changed. :-?
--
Tim Harrell
This is a strange one. I took the updated 2.4.7 kernel from the SuSE site and the kernel source to go with it.
Now when I try to do a 'make modules' I get this:
gcc -D__KERNEL__ -I/usr/src/linux-2.4.7.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -c -o sysinfo.o sysinfo.c sysinfo.c:11: linux/compile.h: No such file or directory sysinfo.c: In function `svr4_sysinfo': sysinfo.c:86: `UTS_VERSION' undeclared (first use in this function) sysinfo.c:86: (Each undeclared identifier is reported only once sysinfo.c:86: for each function it appears in.) make[2]: *** [sysinfo.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.4.7.SuSE/abi/svr4' make[1]: *** [_modsubdir_svr4] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.7.SuSE/abi' make: *** [_mod_abi] Error 2
This is not good. How on earth do I end up with a kernel source from SuSE that won't compile?
participants (1)
-
Tim Harrell