Quoting �lie Charest <[EMAIL PROTECTED]>:

> Le 6 Ao�t 2003 12:42, Thomas Backlund a �crit :
> > From: "Thomas Backlund" <[EMAIL PROTECTED]>
> >
> > Argh ... Onother typo... It should be:
> >
> > rpm --rebuild kernel_srpm_name  --without up --without smp --without
> > secure --without doc --without BOOT
> >
> >
> > will build only the enterprise kernel and the kernel-source ...
> 
> I did this, and it worked...however, once I've installed the kernel and the
> 
> kernel-source, I can't install the NVIDIA driver module. Using the install 
> script, I get this error message:
> 
> "ERROR: Unable to load the kernel module 'nvidia.o'.  This is most likely
>        because the kernel module was built using the wrong kernel header 
> files.
>        Please make sure you have installed the kernel header files for your
>        kernel; on Red Hat Linux systems, for example, be sure you have the
>        'kernel-source' rpm installed.  If you know the correct kernel
> header
>        files are installed, you may specify the kernel include path with
> the
>        '--kernel-include-path' commandline option."
> 
> I've tried using the --kernel-inclue-path with both of these paths:
> 
> /usr/src/linux-2.4.21-6.5tmb/include
> /lib/modules/2.4.21-6.5tmbenterprise/build/include


cd /usr/src/linux-2.4.21-6.5tmb/ 
cp /boot/config-2.4.21-6.5tmbenterpreise ./.config

change in the Makefile 6.5tmbcustom to 6.5tmbenterpreise

make clean && make oldconfig && make dep

try again recompiling nvidia, if it doesn't work again

make bzImage in /usr/src/linux-2.4.21-6.5tmb/ should fix it


svetljo



Reply via email to