Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 2003 21:24:05 +0200
From:      Harald Schmalzbauer <h@schmalzbauer.de>
To:        Pau Rodriguez <prodriguez@iespana.es>, freebsd-current@freebsd.org
Subject:   Re: NVidia Port Problems with kernel
Message-ID:  <200309032124.09800@harrymail>
In-Reply-To: <20030903211721.5126cacb.prodriguez@iespana.es>
References:  <20030903211721.5126cacb.prodriguez@iespana.es>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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