Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2003 03:26:31 +0200
From:      brakje@nith.no
To:        freebsd-questions@freebsd.org
Subject:   5.1 and nvidia drivers
Message-ID:  <1055381191.3ee7d6c7b9e81@webmail.nith.no>

next in thread | raw e-mail | index | archive | help
hi! 
 
I have just installed 5.1 on my laptop and everything was going smooth. but 
when i was trying to install the nvidia drivers for my GF2 go i got stuck. 
They worked perfectly in 5.0, but now i get some errors while doing "make 
setup". 
In 5.1, modules are put in /boot/modules/ instead of /modules as they where in 
5.0. The release notes for 5.1 say modules designed for 4.x are likely to 
panic when loaded into a 5.1 kernel. 
I think this might be the reason behind the error. if so, is it possible to 
use this driver?  
I need this driver to enable agp support and to use my s-video output. As far 
as i know the drivers in XFree86 for my video adapter does not support this. 
 
# make setup 
===> module 
cc -O -pipe -mcpu=pentiumpro 
-I/usr/download/NVIDIA_FreeBSD-1.0-3203/module/../src -D__KERNEL__ 
-DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3203     -DNV_UNIX   
-DNV_BSD   -DNVCPU_X86  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I-  
-I/usr/download/NVIDIA_FreeBSD-1.0-3203/module/../src -I. -I@ -I@/dev 
-I@/../include -fno-common  -mno-align-long-strings 
-mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -fformat-extensions -std=c99 -c 
/usr/download/NVIDIA_FreeBSD-1.0-3203/module/../src/nvidia_dev.c 
/usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:23: warning: 
initialization makes integer from pointer without a cast 
/usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:24: warning: 
initialization makes integer from pointer without a cast 
/usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:25: warning: 
initialization from incompatible pointer type 
/usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:26: warning: 
initialization from incompatible pointer type 
/usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:27: warning: 
initialization from incompatible pointer type 
/usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:28: warning: 
initialization from incompatible pointer type 
/usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:29: warning: 
initialization from incompatible pointer type 
/usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:30: warning: 
initialization from incompatible pointer type 
/usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:31: warning: 
initialization from incompatible pointer type 
/usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:32: warning: 
initialization makes pointer from integer without a cast 
/usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:33: warning: 
initialization from incompatible pointer type 
/usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:35: warning: 
initialization makes pointer from integer without a cast 
/usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:39: warning: excess 
elements in struct initializer 
/usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:39: warning: (near 
initialization for `nvidia_dev_cdevsw') 
/usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:140: conflicting types 
for `nvidia_dev_mmap' 
/usr/download/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:20: previous 
declaration of `nvidia_dev_mmap' 
*** Error code 1 
 
Stop in /usr/download/NVIDIA_FreeBSD-1.0-3203/module. 
*** Error code 1 
 
Stop in /usr/download/NVIDIA_FreeBSD-1.0-3203. 
 
kjetil 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1055381191.3ee7d6c7b9e81>