nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Prob Compiling Nvidia driver (http://www.nvnews.net/vbulletin/showthread.php?t=11434)

danbuk 05-08-03 10:29 AM

Prob Compiling Nvidia driver
 
Hi there I am trying to compile the NVidia drivers on a RH9 box, freshinstall and it is falling over on compile.
gcc version (Red Hat Linux 3.2.2-5)
kernel 2.4.20-8

Anyone got any suggestions?
Kind Regards,
Daniel.
:confused:
Heres what happens when I make.
Code:

[root@my nforce]# make
make -C  nvnet
make[1]: Entering directory `/home2/davidj/old/root/nforce/nvnet'
cc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O -Wstrict-prototypes -DCONFIG_PM  -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -I/lib/modules/2.4.20-8/build/include  -DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h nvnet.c
ld -r -o temp.o nvnet.o nvnetlib.o
objcopy --strip-symbol="gcc2_compiled." temp.o
cp temp.o nvnet.o
rm temp.o
make[1]: Leaving directory `/home2/davidj/old/root/nforce/nvnet'
make -C  nvaudio
make[1]: Entering directory `/home2/davidj/old/root/nforce/nvaudio'
make nvaudio.o
make[2]: Entering directory `/home2/davidj/old/root/nforce/nvaudio'
cc -D__KERNEL__  -I/lib/modules/2.4.20-8/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE  -DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h  -c -o nvhw.o nvhw.c
cc -D__KERNEL__  -I/lib/modules/2.4.20-8/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE  -DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h  -c -o nvrec.o nvrec.c
cc -D__KERNEL__  -I/lib/modules/2.4.20-8/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE  -DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h  -c -o nvwavout.o nvwavout.c
cc -D__KERNEL__  -I/lib/modules/2.4.20-8/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE  -DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h  -c -o nvspdif.o nvspdif.c
cc -D__KERNEL__  -I/lib/modules/2.4.20-8/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE  -DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h  -c -o nvcrush.o nvcrush.c
nvcrush.c: In function `Nvaudio_mmapwrite':
nvcrush.c:426: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
nvcrush.c:426: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nvcrush.c:426: too few arguments to function `remap_page_range_R2baf18f2'
nvcrush.c: In function `Nvaudio_mmap':
nvcrush.c:465: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
nvcrush.c:465: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nvcrush.c:465: too few arguments to function `remap_page_range_R2baf18f2'
make[2]: *** [nvcrush.o] Error 1
make[2]: Leaving directory `/home2/davidj/old/root/nforce/nvaudio'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home2/davidj/old/root/nforce/nvaudio'
make: *** [nvaudio_make] Error 2
[root@my nforce]#


danbuk 05-08-03 11:12 AM

YOU CAN IGNORE THIS
 
I was trying to compile version .296 or somthing hadn't noticed the .run file that supported redhat9 you can forget this post, me being stupid. :rolleyes:


All times are GMT -5. The time now is 12:06 PM.

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