On Sun, 2010-12-12 at 12:51 -0500, Patrick Shanahan wrote:
* Roger Oberholtzer
[12-12-10 12:42]: I am guessing this is not going to work with a file as downloaded from nvidia. There is the stdarg.h madness that seems never to go away...
That is the *files* that it does work with.
/usr/src/linux-2.6.37-rc3-git1-6/include/linux/kernel.h:12:20: fatal error: stdarg.h: No such file or directory
you need to have kernel-source-2.6.37-rc3-git1-6.noarch installed, or whatever kernel-source-#### that matches your kernel. The nvidia compiler is looking for the kernel header files contained in the kernel-source package.
This is what I do not understand. There is no stdarg.h file in the kernel source. At least not in the one I have installed. On 11.4 it is kernel-source-2.6.37-6.1.noarch. On 11.2 and 11.3 it is whatever is the kernel-source for the running kernel. No stdarg.h in those. It has been this way on 11.2, 11.3 and 11.4. What do you get for: rpm -qa kernel-source-2.6.37-rc3-git1-6.noarch | grep stdarg.h I get nothing. Because it is not in the kernel source. I even downloaded a kernel source from kernel.org to be sure. No stdarg.h file. So I think it is in some other package that you have installed. Note that the stdarg.h files that are installed with the GNU compilers are (on my system): /usr/include/c++/4.5/tr1/stdarg.h /usr/lib/gcc/i586-suse-linux/4.5/include/stdarg.h I also have these for cross-compiling: /usr/lib/gcc/i686-pc-mingw32/4.5.1/include/c++/tr1/stdarg.h /usr/lib/gcc/i686-pc-mingw32/4.5.1/include/stdarg.h /usr/i686-pc-mingw32/sys-root/mingw/include/stdarg.h But the compile is not looking there. The command line to compile the kernel module is in the nvidia .run file. I have this same problem with vmware.
works for me(!TM).
I suspect because of some other reason than the one you think is making it work. -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 SHAW'S PRINCIPAL Build a system that even a fool can use, and only a fool will want to use it. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org