From owner-freebsd-current@FreeBSD.ORG Wed Sep 3 15:04:47 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 B656316A4BF; Wed, 3 Sep 2003 15:04:47 -0700 (PDT) Received: from smtp13.eresmas.com (smtp13.eresmas.com [62.81.235.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 968CE4400B; Wed, 3 Sep 2003 15:04:40 -0700 (PDT) (envelope-from prodriguez@iespana.es) Received: from [192.168.108.102] (helo=smtp02.in.mad.eresmas.com) by smtp13.eresmas.com with esmtp (Exim 4.10) id 19ufjy-0007bP-00; Thu, 04 Sep 2003 00:04:38 +0200 Received: from [80.224.211.21] (helo=Olea.Bosc) by smtp02.in.mad.eresmas.com with smtp (Exim 4.10) id 19ufjx-0003Yz-00; Thu, 04 Sep 2003 00:04:37 +0200 Date: Thu, 4 Sep 2003 00:04:38 +0200 From: Pau Rodriguez To: freebsd-current@freebsd.org Message-Id: <20030904000438.750a9858.prodriguez@iespana.es> In-Reply-To: <200309032124.09800@harrymail> References: <20030903211721.5126cacb.prodriguez@iespana.es> <200309032124.09800@harrymail> X-Mailer: Sylpheed version 0.9.3claws (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SA-Do-Not-Run: Yes X-SA-Exim-Scanned: No; SAEximRunCond expanded to false cc: "Sergey A. Osokin" cc: Harald Schmalzbauer 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 22:04:47 -0000 Really thank-you!! It runs perfect-ly. I have changed it manualy but it compiles perfectly. Really thanks for all team that answerme fastly. thanks! On Wed, 3 Sep 2003 21:24:05 +0200 Harald Schmalzbauer wrote: > 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! >