Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2007 11:44:24 +0100
From:      Florent Thoumie <flz@FreeBSD.org>
To:        John Nielsen <lists@jnielsen.net>
Cc:        Kris Glynn <Kristen.Glynn@virginblue.com.au>, freebsd-x11@freebsd.org
Subject:   Re: CURRENT: /usr/ports/x11/nvidia-driver-7184 build failure.
Message-ID:  <460B9888.2020706@FreeBSD.org>
In-Reply-To: <200703282201.56779.lists@jnielsen.net>
References:  <7C3101310BBC894E8A0D5FB2C36B958934574D@ISKCMX01.virginblue.internal> <200703282201.56779.lists@jnielsen.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?460B9888.2020706>