thomas wrote:
> Hello,
> 
> after trying to recompile kernel 2.4.9-21 by "make dep, clean,  modules,
> modules_install, bzImage"(installed:  kernel, headers, sources of
> 2.4.9-21, modutils 2.4.10-1) on my RH 7.2 box (AMD K7, gcc 2.96.98,
> glibc 2.2.4-19.3) I receive these error messages:
> 
> 
> ------------------------ snip -------------------------
> 
> In file included from paep.c:69:
> 
> /usr/include/linux/modversions.h:1:2: #error modules should never use
> kernel-headers system
> 
> /usr/include/linux/modversions.h:2:2  #error but rather headers from an
> appropriate kernel-source package
> 
> /usr/include/linux/modversions.h:3:2 #error Change
> -l/usr/src/linux/include(or similiar)to
> 
> /usr/include/linux/modversions.h:4:2 #error -l/lib/modules/$(uname
> -r)/build/include
> 
> /usr/include/linux/modversions.h:5:2 #error to build against the
> currently running kernel
> 
> make:*** [paep.o]  error 1
> make:*** [modsubdir_aep] error 2
> make:*** [modsubdir_addon] error 2
> make:*** [_mod_drivers] error 2
> --------------------------------- snap ----------------------------
> 
> 
> 
> I unsuccessfully repeated the recompilation by starting with " make
> mrproper" and going on as described above. At the moment I cannot start
> X because NVIDI drivers cannot be initialized after failed compilation:
> 
> 
> 
> Does somebody know why compilation might fails? I have never seen the
> error messages before!
> 
> Any idea what to do ? 
>  
> 
> thanks
> Thomas
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 
> 
> 


Have you installed the kernel-headers*.rpm and kernel-source*.rpm? Have 
you tried building all the rpm binaries from a kernel*.src.rpm?

--jeremy



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

Reply via email to