Problem solved. One must compile the kernel first (make bzimage) before 
one can compile modules. 

It would've been handy if I just could have recompiled the modules for the 
kernel installed from RPM...

Regards,
Peter


On Tue, Nov 20, 2001 at 05:49:32PM +0200, Peter Peltonen wrote:
> I've updated my RH72 box with the following kernel packages:
> 
> --<snip>--
> [root@pihlaja linux]# rpm -qa |grep kernel
> kernel-2.4.7-10
> kernel-headers-2.4.9-13
> kernel-doc-2.4.9-13
> kernel-source-2.4.9-13
> kernel-BOOT-2.4.9-13
> kernel-2.4.9-13
> [root@pihlaja linux]# uname -a
> Linux pihlaja 2.4.9-13 #1 Tue Oct 30 20:05:14 EST 2001 i686 unknown
> --</snip>--
> 
> I tried recompiling the modules (I only added the support for NTFS as a 
> module) with `make dep; make clean; make modules` but I receive the 
> following error about missing compile.h:
> 
> --<snip>--
> sysinfo.c:11:27: 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.9-13/abi/svr4'
> make[1]: *** [_modsubdir_svr4] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.9-13/abi'
> make: *** [_mod_abi] Error 2
> --</snip>--
> 
> I checked my 2.4.13 kernel sources (upnacked from tarball) and I found a 
> linux/compile.h in there. Why is there not one in the sources/headers 
> installed from RPM?
> 
> I haven't recompiled the kernel itself -- this shouldn't be a problem, 
> right?
> 
> Regards,
> Peter
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to