From owner-freebsd-current Thu Jan 2 8:47:47 2003 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 B344B37B4B6 for ; Thu, 2 Jan 2003 08:47:44 -0800 (PST) Received: from magic.adaptec.com (magic.adaptec.com [208.236.45.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 216E743EE1 for ; Thu, 2 Jan 2003 08:47:44 -0800 (PST) (envelope-from scott_long@btc.adaptec.com) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.11.6+Sun/8.11.6) with ESMTP id h02GlLj04853; Thu, 2 Jan 2003 08:47:21 -0800 (PST) Received: from btc.btc.adaptec.com (btc.btc.adaptec.com [10.100.0.52]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id IAA10838; Thu, 2 Jan 2003 08:47:15 -0800 (PST) Received: from btc.adaptec.com (hollin [10.100.253.56]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id JAA08573; Thu, 2 Jan 2003 09:47:10 -0700 (MST) Message-ID: <3E146D0A.7030305@btc.adaptec.com> Date: Thu, 02 Jan 2003 09:47:06 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2b) Gecko/20021105 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kenneth Culver Cc: nuzrin@nuzrin.com, current@freebsd.org Subject: Re: NVIDIA driver compilation failed References: <20030102104851.I31520-100000@alpha.yumyumyum.org> In-Reply-To: <20030102104851.I31520-100000@alpha.yumyumyum.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG It looks like sys/filedesc.h needs to be included in nv-freebsd.h Kenneth Culver wrote: > Only one, that driver wasn't meant to compile on -CURRENT. It's not even > supported there. > > Ken > > On Thu, 2 Jan 2003, Nuzrin Yaapar wrote: > > > >Hi all, > > > >With the latest CURRENT cvsupped today, NVIDIA driver failed to > compile. The > >output: > > > >--- > >[root@zhang-wu-ji ~/NVIDIA]# make setup > >... > ><< snipped >> > >cc -O -pipe -mcpu=pentiumpro -I/root/NVIDIA/module/../src -D__KERNEL__ > >-DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3203 > -DNV_UNIX > >-DNV_BSD -DNVCPU_X86 -D_KERNEL -Wall -Wredundant-decls > -Wnested-externs > >-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual > >-fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- > >-I/root/NVIDIA/module/../src -I. -I@ -I@/dev -I@/../include > -I/usr/include > >-fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 > >-ffreestanding -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes > >-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > -fformat-extensions > >-ansi -c /root/NVIDIA/module/../src/nvidia_subr.c > >/root/NVIDIA/src/nvidia_subr.c: In function `nvidia_close_ctl': > >/root/NVIDIA/src/nvidia_subr.c:317: dereferencing pointer to > incomplete type > >/root/NVIDIA/src/nvidia_subr.c: In function `nvidia_close_dev': > >/root/NVIDIA/src/nvidia_subr.c:370: dereferencing pointer to > incomplete type > >*** Error code 1 > > > >Stop in /root/NVIDIA/module. > >*** Error code 1 > > > >Stop in /root/NVIDIA. > >Exit 1 > >[root@zhang-wu-ji ~/NVIDIA]# > > > >--- > > > >Any pointers? > > > >__________________________________________________ > >Do you Yahoo!? > >Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > >http://mailplus.yahoo.com > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-current" in the body of the message > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message