[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Kernel-sourcecode directory



> 
> Hello for the 3rd time today,
> 

Hello back just once. :)

> I've downloaded the nvidia-kernel-src and nvidia-glc-src and read the 
> documentation. You have to give a command wich gives this result:
> 
> We do not seem to be in a top level linux kernel source directory
> tree. Since we are trying to make a kernel package, that does not make
> sense.  Please change directory to a top level linux kernel source
> directory, and try again. (If I am wrong, and this is indeed a top
> level linux kernel source directory, then I have gotten sadly out of
> date with current kernels, and you should upgrade kernel-package)
> 
> So I downloaded the kernel-source-2.4.18 and installed that 
> package. I 
> searched my computer but I can't find the correct directory. 
> I still get this 
> message.
> 
> Does someone know where to find this directory/how to install 
> the nvidia 
> drivers?
> 

When you downloaded kernels-source it created /usr/src/kernel-source-2.*.bz2

These are the next steps (replace 2.4.18 with your kernel, if that's not it)

> cd /usr/src
> tar jxf kernel-source.*.bz2 (a long time)
> ln -s /usr/src/kernel-source.2-4.18 /usr/src/linux
> cp /boot/config-2.4.18 /usr/src/linux/.config
> cd /usr/src/linux
> tar zxf nvidia-kernel-src.tar.gz (?name might be slightly wrong)
> cd /usr/src/linux
> make clean
> make oldconfig
> make-kpkg modules_image
> cd /usr/src
> dpkg -i your_brand_spanking_new.deb

:)

man make-kpkg



> 

------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the designated recipient(s) named above.  If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited.  This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or error-free.  Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such.  All information is subject to change without notice.




Reply to: