NVidia Port Problems with kernel
Harald Schmalzbauer
h at schmalzbauer.de
Wed Sep 3 12:24:09 PDT 2003
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
create a folder named "files" in /usr/ports/x11/nvidia-driver with the file
patch.aa which reads:
--- 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.
*/
- hdrtype = pci_read_config(dev, PCIR_HEADERTYPE, 1);
+ hdrtype = pci_read_config(dev, PCIR_HDRTYPE, 1);
if ((hdrtype & PCIM_MFDEV) == 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!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030903/4e21a9a6/attachment.bin
More information about the freebsd-current
mailing list