From owner-freebsd-x11@FreeBSD.ORG Thu Mar 29 02:19:22 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 E61A516A403 for ; Thu, 29 Mar 2007 02:19:21 +0000 (UTC) (envelope-from Kristen.Glynn@virginblue.com.au) Received: from mail16.messagelabs.com (mail16.messagelabs.com [64.124.170.131]) by mx1.freebsd.org (Postfix) with SMTP id 90F9F13C457 for ; Thu, 29 Mar 2007 02:19:21 +0000 (UTC) (envelope-from Kristen.Glynn@virginblue.com.au) X-VirusChecked: Checked X-Env-Sender: Kristen.Glynn@virginblue.com.au X-Msg-Ref: server-25.tower-16.messagelabs.com!1175134759!48025007!1 X-StarScan-Version: 5.5.10.7.1; banners=-,-,- X-Originating-IP: [203.202.21.160] Received: (qmail 2409 invoked from network); 29 Mar 2007 02:19:19 -0000 Received: from mail.virginblue.com.au (HELO mail.virginblue.com.au) (203.202.21.160) by server-25.tower-16.messagelabs.com with SMTP; 29 Mar 2007 02:19:19 -0000 Received: from DJQHOCMX01.virginblue.internal (djqhonmx01.virginblue.internal [192.168.63.1]) by mail.virginblue.com.au (Postfix) with ESMTP id 6240B3D4018; Thu, 29 Mar 2007 12:19:18 +1000 (EST) Received: from ISKCMX01.virginblue.internal ([192.168.60.71]) by DJQHOCMX01.virginblue.internal with Microsoft SMTPSVC(6.0.3790.1830); Thu, 29 Mar 2007 12:19:18 +1000 X-MessageTextProcessor: DisclaimIt (2.50.252) [Virgin Blue Airlines Pty Limited, AU] Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 29 Mar 2007 12:20:15 +1000 Message-ID: <7C3101310BBC894E8A0D5FB2C36B9589345755@ISKCMX01.virginblue.internal> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: CURRENT: /usr/ports/x11/nvidia-driver-7184 build failure. thread-index: AcdxpoeQa/0bPlbTTaqnOdB5MGerlQAADoqQAABxZBA= Importance: normal Priority: normal From: "Kris Glynn" To: "Kris Glynn" , "John Nielsen" , X-OriginalArrivalTime: 29 Mar 2007 02:19:18.0168 (UTC) FILETIME=[A77B7980:01C771A8] Cc: 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:19:22 -0000 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