ports/131412: x11/nvidia-driver-96xx driver does not compile on the current/i386

Oleg Ginzburg oleg.ginzburg at nevosoft.ru
Thu Feb 5 09:40:04 UTC 2009


>Number:         131412
>Category:       ports
>Synopsis:       x11/nvidia-driver-96xx driver does not compile on the current/i386
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 05 09:40:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Oleg Ginzburg
>Release:        8-CURRENT
>Organization:
Nevosoft
>Environment:
FreeBSD oleg.net.nevosoft.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #2 r187912M: Fri Jan 30 13:17:19 MSK 2009     root at oleg.net.nevosoft.ru:/usr/obj/usr/src/sys/o20090103  i386
>Description:
compiling /usr/ports/x11/nvidia-driver\* failed with lot errors like:
--
nvidia_dev.c: In function 'nvidia_dev_open':                                                                                                                                       
nvidia_dev.c:43: error: invalid operands to binary &      
--
>How-To-Repeat:
cd /usr/ports/x11/nvidia-drivers && make

>Fix:
Solution  from zander at nvidia:
http://www.nvnews.net/vbulletin/showthread.php?s=b098376a95a484d084b2a84d8b43156f&p=1921079#post1921079

replace all minor() calls -> dev2unit()

(maybe http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/130976 is override this problem for x11/nvidia-drivers, but nvidia-driver-96xx update is needed too)

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list