From owner-freebsd-x11@FreeBSD.ORG Thu Mar 29 10:44:42 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 2C6D016A402 for ; Thu, 29 Mar 2007 10:44:42 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from smtp6-g19.free.fr (smtp6-g19.free.fr [212.27.42.36]) by mx1.freebsd.org (Postfix) with ESMTP id BCAC913C48A for ; Thu, 29 Mar 2007 10:44:41 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from smtp.xbsd.org (unknown [82.233.2.192]) by smtp6-g19.free.fr (Postfix) with ESMTP id 1755E5E16E; Thu, 29 Mar 2007 12:44:40 +0200 (CEST) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 8E0AB11984; Thu, 29 Mar 2007 12:44:39 +0200 (CEST) X-Virus-Scanned: amavisd-new at xbsd.org Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uSR4Wa7KacXE; Thu, 29 Mar 2007 12:44:32 +0200 (CEST) Received: from [193.95.134.156] (mayday.esat.net [193.95.134.156]) by smtp.xbsd.org (Postfix) with ESMTP id 68C2C1198C; Thu, 29 Mar 2007 12:44:31 +0200 (CEST) Message-ID: <460B9888.2020706@FreeBSD.org> Date: Thu, 29 Mar 2007 11:44:24 +0100 From: Florent Thoumie User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: John Nielsen References: <7C3101310BBC894E8A0D5FB2C36B958934574D@ISKCMX01.virginblue.internal> <200703282201.56779.lists@jnielsen.net> In-Reply-To: <200703282201.56779.lists@jnielsen.net> X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig806DBF7F75B26B7E64F60141" Cc: Kris Glynn , freebsd-x11@freebsd.org 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 10:44:42 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig806DBF7F75B26B7E64F60141 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable John Nielsen wrote: > 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=3D1 >> -DNV_MINOR_VERSION=3D0 -DNV_PATCHLEVEL=3D7184 -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_KERN= EL >> -DKLD_MODULE -std=3Dc99 -nostdinc -I- -I/src -I. -I@ -I@/contrib/altq= >> -finline-limit=3D8000 --param inline-unit-growth=3D100 --param >> large-function-growth=3D1000 -fno-common -mno-align-long-strings >> -mpreferred-stack-boundary=3D2 -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= =2E >> *** 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 ? >=20 > I just ran in to this myself (trying to use the 9631 version of the dri= ver).=20 > See: > http://www.nvnews.net/vbulletin/showthread.php?t=3D87019 >=20 > for an unverified patch. The poster there just supplied NULL for the mi= ssing=20 > (fourth) argument. That works for me (at least for compiling).. still=20 > trying to get the driver to behave after upgrading to -CURRENT today=20 > though.. >=20 > I expect someone on -current would be able to comment on the API change= , but=20 > I haven't seen this mentioned over there yet (and I haven't bothered to= go=20 > CVS-diving myself). This is the latest newbus change, to add interrupt filtering. Committed by piso a few weeks ago. --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --------------enig806DBF7F75B26B7E64F60141 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGC5iNMxEkbVFH3PQRCloeAKCDPA+Rg67dLN3d3653NbulPeIJPwCePBFF X2p0y0pmemFEatxLLzQrKK4= =LPYE -----END PGP SIGNATURE----- --------------enig806DBF7F75B26B7E64F60141--