nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   General Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=27)
-   -   compiling error gcc 3.3.2 nvidia 5336 (http://www.nvnews.net/vbulletin/showthread.php?t=25069)

vitali 02-19-04 06:35 AM

compiling error gcc 3.3.2 nvidia 5336
 
I have a slackware 9.1 distribution and upgraded to the 2.6.2 kernel.
Also the gcc version is upgraded to 3.3.2. (The linux kernel is compiled with this version). The nvidia driver is version 5336.

When I use the nvidia installer it fails. When I try make install (after running the installler with --extract only)I get the following error:


error: parse error before "va_list"


What can be the reason for this ?

Thanks in advance Peter Bos

vitali 02-19-04 12:17 PM

compiler output
 
Here is the exact compiler

In file included from /home/peter/download/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv-linux.h:51,
from /home/peter/download/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:14:
include/linux/kernel.h:10:20: stdarg.h: No such file or directory
In filenvidia.ko failed to build!
download/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv-linux.h:51,
from /home/peter/download/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:14:
include/linux/kernel.h:71: error: parse error before "va_list"
include/linux/kernel.h:71: warning: function declaration isn't a prototype
include/linux/kernel.h:74: error: parse error before "va_list"
include/linux/kernel.h:74: warning: function declaration isn't a prototype
include/linux/kernel.h:78: error: parse error before "va_list"
include/linux/kernel.h:78: warning: function declaration isn't a prototype
/home/peter/download/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1185: warning: initialization from incompatible pointer type
make[3]: *** [/home/peter/download/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.o] Error 1
make[2]: *** [/home/peter/download/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv] Error 2
make[1]: *** [module] Error 1
make: *** [install] Error 2


Anyone have a clue?


Thanks Peter

saturnotaku 02-19-04 12:28 PM

Linux forum, people. Linux forum. The sticky's right on top here.

borgzilla 03-01-04 05:50 AM

Is GCC 3.3.2 official slackware package or did you get it from GCC website?

Btw GCC 3.3.3 slackware package is out in the current tree so you might try that one as well.

I'm running kernel 2.6.3 on slackware current and I've never had compiling problems with any nvidia drivers including betas.


All times are GMT -5. The time now is 01:47 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.