On Tuesday 02 April 2002 05:47 am, RR wrote:
kernel sources with no patch dont compile how ocme\ 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:85: `UTS_VERSION' undeclared (first use in this function) sysinfo.c:85: (Each undeclared identifier is reported only once sysinfo.c:85: for each function it appears in.) make[2]: *** [sysinfo.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.4.16.SuSE/abi/svr4' make[1]: *** [_modsubdir_svr4] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.16.SuSE/abi' make: *** [_mod_abi] Error 2
this really sucks
I've run across this kind of problem lately and my solution was to open up /usr/src/linux/.config in an editor and search for the module referenced by the error (in your case "svr4") to get an idea of its location. Then run xconfig to turn that module off (I suppose I could just do it w/ the text editor but that wouldn't allow me to click my mouse button so many times.) I've had to go through the process 4 or 5 times to get a compile w/out errors, as once you get past one error another may or may not show up. By the way svr4 appears to be related to "# Binary emulation of other systems" Relax, have fun. -- dh