Mailinglist Archive: opensuse (882 mails)

< Previous Next >
Re: [opensuse] 11.3 kernel
  • From: Roger Oberholtzer <roger@xxxxxx>
  • Date: Tue, 14 Dec 2010 18:28:42 +0100
  • Message-id: <1292347722.2783.10.camel@xxxxxxxxxxxxxxxxx>
On Sun, 2010-12-12 at 12:51 -0500, Patrick Shanahan wrote:
* Roger Oberholtzer <roger@xxxxxx> [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 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):


I also have these for cross-compiling:


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

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

Build a system that even a fool can use,
and only a fool will want to use it.

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >