View Single Post
Old 06-01-11, 07:16 AM   #26
Registered User
Join Date: Oct 2004
Posts: 17
Default Re: Driver fails to compile with gcc 4.6.0 on kernel 2.6.39-git11/-git12

Rusty, when you apply the patch are you seeing output from the patch program? It should respond like this when you apply the patch:
patching file conftest.h
patching file nv-linux.h
Assuming the patch is being applied properly (you could also try editing conftest.h and nv-linux.h from the posts above - it's a change to one line for each file - just to be sure) there must be something else going on. What distro are you on, and how did you build and install your kernel? The sources should be available and there should be a link called /lib/modules/<whatever-the-version-is>/build that points to the source directory.
gun26 is offline   Reply With Quote