nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA FreeBSD (http://www.nvnews.net/vbulletin/forumdisplay.php?f=47)
-   -   Building 1.0-4365 driver for FreeBSD 5.3-RELEASE ? (http://www.nvnews.net/vbulletin/showthread.php?t=43762)

zipster 01-10-05 08:57 AM

Building 1.0-4365 driver for FreeBSD 5.3-RELEASE ?
 
Anyone out there try to build the 1.0-4365 release of the nVidia driver for a FreeBSD 5.3-RELEASE system ?

I have a Toshiba Satellite Pro 6100 with a 1600x1200 TFT display, and the (current) 1.0-6113 release does not allow the full 1600x1200 resolution -- rather, it simply drops the the right 12-pixel edge of the display.

The 1.0-4365 release of the driver did not do this under 5.3.1-RELEASE, so I've been having a look at building the kernel module for the driver under 5.3-RELEASE (and gcc-3.4.2).

When I try to make the kernel module, the make fails with the following errors:

nvidia_ctl.c:61: error: conflicting types for 'nvidia_ctl_open'
nvidia_ctl.c:16: error: previous declaration of 'nvidia_ctl_open' was here
nvidia_ctl.c:61: error: conflicting types for 'nvidia_ctl_open'
nvidia_ctl.c:16: error: previous declaration of 'nvidia_ctl_open' was here
nvidia_ctl.c:78: error: conflicting types for 'nvidia_ctl_close'
nvidia_ctl.c:17: error: previous declaration of 'nvidia_ctl_close' was here
nvidia_ctl.c:78: error: conflicting types for 'nvidia_ctl_close'
nvidia_ctl.c:17: error: previous declaration of 'nvidia_ctl_close' was here
nvidia_ctl.c:96: error: conflicting types for 'nvidia_ctl_ioctl'
nvidia_ctl.c:18: error: previous declaration of 'nvidia_ctl_ioctl' was here
nvidia_ctl.c:96: error: conflicting types for 'nvidia_ctl_ioctl'
nvidia_ctl.c:18: error: previous declaration of 'nvidia_ctl_ioctl' was here
nvidia_ctl.c:168: error: conflicting types for 'nvidia_ctl_poll'
nvidia_ctl.c:19: error: previous declaration of 'nvidia_ctl_poll' was here
nvidia_ctl.c:168: error: conflicting types for 'nvidia_ctl_poll'
nvidia_ctl.c:19: error: previous declaration of 'nvidia_ctl_poll' was here
nvidia_ctl.c: In function `nvidia_ctl_attach':
nvidia_ctl.c:211: warning: assignment makes integer from pointer without a cast
nvidia_ctl.c: In function `nvidia_ctl_detach':
nvidia_ctl.c:248: warning: passing arg 1 of `destroy_dev' makes pointer from int
eger without a cast
nvidia_ctl.c: At top level:
nvidia_ctl.c:16: warning: 'nvidia_ctl_open' used but never defined
nvidia_ctl.c:17: warning: 'nvidia_ctl_close' used but never defined
nvidia_ctl.c:18: warning: 'nvidia_ctl_ioctl' used but never defined
nvidia_ctl.c:19: warning: 'nvidia_ctl_poll' used but never defined
*** Error code 1

The 1.0-6113 driver, on the other hand, builds without complaint on this system.
I'm afraid I'm at a loss to explain what's causing the compiler to balk at the 4365 flavor of nvidia_ctl.c.
Is some "patch" available that will "fix" 1.0-4365 for gcc-3.4.2 ?


All times are GMT -5. The time now is 07:47 PM.

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