From owner-freebsd-current@FreeBSD.ORG Wed Sep 3 12:24:09 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F46F16A4BF for ; Wed, 3 Sep 2003 12:24:09 -0700 (PDT) Received: from svr7.m-online.net (svr7.m-online.net [62.245.150.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22DB243FDF for ; Wed, 3 Sep 2003 12:24:08 -0700 (PDT) (envelope-from h@schmalzbauer.de) Received: from cale.flintsbach.schmalzbauer.de (ppp-62-245-161-182.mnet-online.de [62.245.161.182]) by svr7.m-online.net (Postfix) with ESMTP id DCB7B79E79; Wed, 3 Sep 2003 21:24:06 +0200 (CEST) From: Harald Schmalzbauer To: Pau Rodriguez , freebsd-current@freebsd.org Date: Wed, 3 Sep 2003 21:24:05 +0200 User-Agent: KMail/1.5.3 References: <20030903211721.5126cacb.prodriguez@iespana.es> In-Reply-To: <20030903211721.5126cacb.prodriguez@iespana.es> X-Birthday: 06 Oktober 1972 X-Name: Harald Schmalzbauer X-Phone1: +49 (0) 163 555 3237 X-Phone2: +49 (0) 89 18947781 X-Address: Munich, 80686 X-Country: Germany MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_Z/jV/dTZZRXIEEk"; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200309032124.09800@harrymail> Subject: Re: NVidia Port Problems with kernel X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2003 19:24:09 -0000 --Boundary-02=_Z/jV/dTZZRXIEEk Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline On Wednesday 03 September 2003 21:17, Pau Rodriguez wrote: > Hello! > I'm a FreeBSD 5.1-CURRENT user and I use NVidia card. > While I'm building 'ports/x11/nvidia-driver' make return errors Either re-cvsup, the HAEDERTYPE->HDRTYPE change got the old as alias, or=20 create a folder named "files" in /usr/ports/x11/nvidia-driver with the fil= e=20 patch.aa which reads: =2D-- src/nvidia_sysctl.c.orig Wed May 28 18:51:52 2003 +++ src/nvidia_sysctl.c Wed Sep 3 12:30:29 2003 @@ -231,7 +231,7 @@ * It also doesn't make sense to to iterate over multiple * functions if this isn't a multi-function device. */ =2D hdrtype =3D pci_read_config(dev, PCIR_HEADERTYPE, 1); + hdrtype =3D pci_read_config(dev, PCIR_HDRTYPE, 1); if ((hdrtype & PCIM_MFDEV) =3D=3D 0) break; > > > cd /usr/ports/x11/nvidia-driver;make > > #ERRORS > > /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_= sy >sctl. c: In > function `nvidia_find_bridge': > /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_= sy >sctl. c:234: > error: `PCIR_HEADERTYPE' undeclared (first use in this function) > /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_= sy >sctl. c:234: > error: (Each undeclared identifier is reported only once > /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_= sy >sctl. c:234: > error: for each function it appears in.) > > > > You can see full output in attrached file 'make.out'. > I know that in previous version of kernel it runs. > > If is error that I made answarme. thanks! --Boundary-02=_Z/jV/dTZZRXIEEk Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/Vj/ZBylq0S4AzzwRAtXHAJ9c5jAeIbCMQY6a3k/uzbQv6QrOIwCfeS2l wwQaOHYdSHp/pkkamxedElU= =aToz -----END PGP SIGNATURE----- --Boundary-02=_Z/jV/dTZZRXIEEk--