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

Re: Kernel Headers for 2.6.11



On Tue, Sep 20, 2005 at 10:51:57PM -0400, Zaq Rizer wrote:
> Sorry to sort of butt in here, but I've been trying to get my nvidia
> drivers fixed for some time now and am stuck at a certain point.  Hoping
> you can point me in the same direction you took, since you recently got
> your setup working.
> 
> Steps I have taken thus far:
> Following Adam Majer's instructions, which are roughly 
> 1) Get the latest nvidia-graphics-drivers package files from
> experimental 
> 2) dpkg-source -x nvidia-graphics-drivers_1.0.7667-3.dsc
>     cd nvidia-graphics-drivers*
>     fakeroot dpkg-buildpackage
> 3) [This part I might have mucked up] -- Use the old instructions for
> building the custom nvidia-kernel module as per the AMD64 HOWTO
> available at
> [https://alioth.debian.org/docman/view.php/30192/21/debian-amd64-howto.html#id272586]
> 
> But it's during this step #3, which Adam also recommended, applying
> [MAKEFLAGS="CC=gcc-3.4" make-kpkg --append-to-version -1-amd64-k8
> modules_image (from within /usr/src/linux-headers-2.6.12-1-amd64-k8]
> that I get the following error:
> make[1]: Entering directory `/usr/src/linux-headers-2.6.12-1-amd64-k8'
> scripts/Makefile.build:13: scripts/basic/Makefile: No such file or
> directory
> make[2]: *** No rule to make target `scripts/basic/Makefile'.  Stop.
> make[1]: *** [scripts_basic] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.12-1-amd64-k8'
> make: *** [stamp-kernel-configure] Error 2
> 
> Naturally, attempting to install the nvidia-glx, et al, packages fails
> because I need nvidia-kernel-1.0.7676.
> 
> Any help you or Adam Majer can provide is greatly appreciated.

Well for me compiling has worked just fine when I use module assistant
(and have gcc-4.0 installed since that is what the debian 2.6.12 kernels
use and hence require, unless you rebuilt it with 3.4 or someone else
did).

apt-get install gcc-4.0 (just in case you didn't already)
m-a -t prepare (sets up kernel headers and build essentials and such)
m-a a-i -t nvidia (builds and installs the module and it's dependancies)

Len Sorensen



Reply to: