Go Back   nV News Forums > Linux Support Forums > NVIDIA FreeBSD

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-10-05, 09:57 AM   #1
zipster
Registered User
 
Join Date: Nov 2004
Posts: 3
Default 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 ?
zipster is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:03 AM.


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