From owner-freebsd-current@FreeBSD.ORG Thu Nov 22 20:45:47 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BCBE16A46D for ; Thu, 22 Nov 2007 20:45:47 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with SMTP id 0EAC313C4EC for ; Thu, 22 Nov 2007 20:45:46 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 15972 invoked by uid 399); 22 Nov 2007 20:45:40 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 22 Nov 2007 20:45:40 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <4745EA72.6070201@FreeBSD.org> Date: Thu, 22 Nov 2007 12:45:38 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.9 (X11/20071119) MIME-Version: 1.0 To: Yuri Pankov References: <200711221438.25776.yuri.pankov@gmail.com> In-Reply-To: <200711221438.25776.yuri.pankov@gmail.com> X-Enigmail-Version: 0.95.5 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Alexey Dokuchaev , freebsd-current@freebsd.org Subject: Re: Lack of agpvar.h causing nvidia-driver build to fail X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 22 Nov 2007 20:45:47 -0000 Yuri Pankov wrote: > On Thursday 22 November 2007 11:49:40 Doug Barton wrote: >> On the latest -current, I'm trying to debug the issue with >> nvidia-driver-100.14.19 not being able to "see" my external monitor >> that's attached to the dock. However, I didn't get very far: >> >> cc -O2 -fno-strict-aliasing -pipe -ggdb -ggdb >> -DNV_VERSION_STRING=\"100.14.19\" -D__KERNEL__ -DNVRM -UDEBUG >> -U_DEBUG -DNDEBUG -O -Werror -D_KERNEL -DKLD_MODULE -std=c99 >> -nostdinc -I/src -I. -I@ -I@/contrib/altq -finline-limit=8000 >> --param inline-unit-growth=100 --param large-function-growth=1000 >> -fno-common -ggdb >> -mno-align-long-strings -mpreferred-stack-boundary=2 -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 >> -Wno-pointer-sign -fformat-extensions -c nvidia_ctl.c >> In file included from nvidia_ctl.c:14: >> nv-freebsd.h:75:24: error: pci/agpvar.h: No such file or directory >> *** Error code 1 >> >> This seems to be related to the removal of that header by jhb on 12 >> November. >> >> Doug > > Hi, > > I've had the same problem and filed PR: > http://www.freebsd.org/cgi/query-pr.cgi?pr=118063 Doesn't work for me: cc -O2 -fno-strict-aliasing -pipe -ggdb -ggdb -DNV_VERSION_STRING=\"100.14.19\" -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -Werror -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I/src -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -ggdb -mno-align-long-strings -mpreferred-stack-boundary=2 -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 -Wno-pointer-sign -fformat-extensions -c nvidia_os.c cc1: warnings being treated as errors nvidia_os.c: In function 'os_is_administrator': nvidia_os.c:170: warning: implicit declaration of function 'suser' nvidia_os.c:170: warning: nested extern declaration of 'suser' *** Error code 1 -- This .signature sanitized for your protection