Date: Thu, 29 Mar 2007 12:20:15 +1000 From: "Kris Glynn" <Kristen.Glynn@virginblue.com.au> To: "Kris Glynn" <Kristen.Glynn@virginblue.com.au>, "John Nielsen" <lists@jnielsen.net>, <freebsd-x11@freebsd.org> Subject: RE: CURRENT: /usr/ports/x11/nvidia-driver-7184 build failure. Message-ID: <7C3101310BBC894E8A0D5FB2C36B9589345755@ISKCMX01.virginblue.internal>
next in thread | raw e-mail | index | archive | help
Further more.. I just added the fix from http://www.nvnews.net/vbulletin/showthread.php?t=3D87019 to nvidia-driver-7184 just to see if the fix does indeed work (incase I wish to use a Legacy NV card) and received another 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_KERNEL -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_subr.c nvidia_subr.c: In function `nv_os_agp_init': nvidia_subr.c:580: error: structure has no member named `ai_aperture_va' *** Error code 1 Stop in /usr/ports/x11/nvidia-driver-7184/work/NVIDIA-FreeBSD-x86-1.0-7184/src. Kris -----Original Message----- From: owner-freebsd-x11@freebsd.org [mailto:owner-freebsd-x11@freebsd.org] On Behalf Of Kris Glynn Sent: Thursday, 29 March 2007 12:08 PM To: John Nielsen; freebsd-x11@freebsd.org Subject: RE: CURRENT: /usr/ports/x11/nvidia-driver-7184 build failure. That's odd as I pulled out my Geforce 256 (after getting the Legacy warning and not being able to compile 7184) and inserted a GF4 MX440 and then built 9631 without a hitch.. Maybe my src wasn't as up to date as yours was. Thanks Kris -----Original Message----- From: John Nielsen [mailto:lists@jnielsen.net] Sent: Thursday, 29 March 2007 12:02 PM To: freebsd-x11@freebsd.org Cc: Kris Glynn Subject: Re: CURRENT: /usr/ports/x11/nvidia-driver-7184 build failure. On Wednesday 28 March 2007, Kris Glynn wrote: > Hi, > > On bootup I was being warned that the Nvidia driver I was using would=20 > 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=20 > -DNV_MINOR_VERSION=3D0 -DNV_PATCHLEVEL=3D7184 -DNVCPU_X86 -DNV_BSD=20 > -DNV_INT64_OK -DNV_UNIX -D__KERNEL__ -UDEBUG -U_DEBUG -DNDEBUG -O=20 > -fno-common -fno-unit-at-a-time -minline-all-stringops -Werror=20 > -D_KERNEL -DKLD_MODULE -std=3Dc99 -nostdinc -I- -I/src -I. -I@=20 > -I@/contrib/altq -finline-limit=3D8000 --param = inline-unit-growth=3D100=20 > --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=20 > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline=20 > -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=20 > incompatible pointer type > nvidia_pci.c:50: warning: passing arg 5 of `bus_setup_intr' from=20 > 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).=20 See: http://www.nvnews.net/vbulletin/showthread.php?t=3D87019 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 OAG Best Low Cost Airline Of The Year=20 The content of this e-mail, including any attachments, is a confidential communication between Virgin Blue, Pacific Blue or a related entity (or the sender if this email is a private communication) and the intended addressee and is for the sole use of that intended addressee. If you are not the intended addressee, any use, interference with, disclosure or copying of this material is unauthorized and prohibited. If you have received this e-mail in error please contact the sender immediately and then delete the message and any attachment(s). There is no warranty that this email is error, virus or defect free. This email is also subject to copyright. No part of it should be reproduced, adapted or communicated without the written consent of the copyright owner. If this is a private communication it does not represent the views of Virgin Blue, Pacific Blue or their related entities. Please be aware that the contents of any emails sent to or from Virgin Blue, Pacific Blue or their related entities may be periodically monitored and reviewed. Virgin Blue, Pacific Blue and their related entities respect your privacy. Our privacy policy can be accessed from our website: www.virginblue.com.au _______________________________________________ freebsd-x11@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-x11 To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" OAG Best Low Cost Airline Of The Year=20 The content of this e-mail, including any attachments, is a confidential = communication between Virgin Blue, Pacific Blue or a related entity (or = the sender if this email is a private communication) and the intended = addressee and is for the sole use of that intended addressee. If you are = not the intended addressee, any use, interference with, disclosure or = copying of this material is unauthorized and prohibited. If you have = received this e-mail in error please contact the sender immediately and = then delete the message and any attachment(s). There is no warranty that = this email is error, virus or defect free. This email is also subject to = copyright. No part of it should be reproduced, adapted or communicated = without the written consent of the copyright owner. If this is a private = communication it does not represent the views of Virgin Blue, Pacific = Blue or their related entities. Please be aware that the contents of any = emails sent to or from Virgin Blue, Pacific Blue or their related = entities may be periodically monitored and reviewed. Virgin Blue, = Pacific Blue and their related entities respect your privacy. Our = privacy policy can be accessed from our website: www.virginblue.com.au
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7C3101310BBC894E8A0D5FB2C36B9589345755>