From owner-freebsd-x11@FreeBSD.ORG Thu Mar 29 02:39:57 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5CCF916A402 for ; Thu, 29 Mar 2007 02:39:57 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id 96AB913C455 for ; Thu, 29 Mar 2007 02:39:56 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from insp.local (jn@c-76-23-109-98.hsd1.sc.comcast.net [76.23.109.98]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id l2T22obr057853; Wed, 28 Mar 2007 22:02:51 -0400 (EDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-x11@freebsd.org Date: Wed, 28 Mar 2007 22:01:55 -0400 User-Agent: KMail/1.9.6 References: <7C3101310BBC894E8A0D5FB2C36B958934574D@ISKCMX01.virginblue.internal> In-Reply-To: <7C3101310BBC894E8A0D5FB2C36B958934574D@ISKCMX01.virginblue.internal> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703282201.56779.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Kris Glynn Subject: Re: CURRENT: /usr/ports/x11/nvidia-driver-7184 build failure. X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Mar 2007 02:39:57 -0000 On Wednesday 28 March 2007, Kris Glynn wrote: > Hi, > > On bootup I was being warned that the Nvidia driver I was using would > not work with my card (Geforce 256) and to install the legacy drivers > (7184) > > I then proceeded to build the following > /usr/ports/x11/nvidia-driver-7184 but received this build error.. > > cc -O2 -fno-strict-aliasing -pipe -DNV_MAJOR_VERSION=1 > -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7184 -DNVCPU_X86 -DNV_BSD > -DNV_INT64_OK -DNV_UNIX -D__KERNEL__ -UDEBUG -U_DEBUG -DNDEBUG -O > -fno-common -fno-unit-at-a-time -minline-all-stringops -Werror -D_KERNEL > -DKLD_MODULE -std=c99 -nostdinc -I- -I/src -I. -I@ -I@/contrib/altq > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fno-common -mno-align-long-strings > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -Wundef -fformat-extensions -c nvidia_pci.c > nvidia_pci.c: In function `nvidia_pci_setup_intr': > nvidia_pci.c:50: warning: passing arg 4 of `bus_setup_intr' from > incompatible pointer type > nvidia_pci.c:50: warning: passing arg 5 of `bus_setup_intr' from > incompatible pointer type > nvidia_pci.c:50: error: too few arguments to function `bus_setup_intr' > *** Error code 1 > Stop in > /usr/ports/x11/nvidia-driver-7184/work/NVIDIA-FreeBSD-x86-1.0-7184/src. > *** Error code 1 > Stop in > /usr/ports/x11/nvidia-driver-7184/work/NVIDIA-FreeBSD-x86-1.0-7184. > *** Error code 1 > Stop in /usr/ports/x11/nvidia-driver-7184. > > Any ideas ? I just ran in to this myself (trying to use the 9631 version of the driver). See: http://www.nvnews.net/vbulletin/showthread.php?t=87019 for an unverified patch. The poster there just supplied NULL for the missing (fourth) argument. That works for me (at least for compiling).. still trying to get the driver to behave after upgrading to -CURRENT today though.. I expect someone on -current would be able to comment on the API change, but I haven't seen this mentioned over there yet (and I haven't bothered to go CVS-diving myself). JN