Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Jan 2003 09:47:06 -0700
From:      Scott Long <scott_long@btc.adaptec.com>
To:        Kenneth Culver <culverk@yumyumyum.org>
Cc:        nuzrin@nuzrin.com, current@freebsd.org
Subject:   Re: NVIDIA driver compilation failed
Message-ID:  <3E146D0A.7030305@btc.adaptec.com>
In-Reply-To: <20030102104851.I31520-100000@alpha.yumyumyum.org>
References:  <20030102104851.I31520-100000@alpha.yumyumyum.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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