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 [EMAIL PROTECTED]
>with "unsubscribe freebsd-current" in the body of the message
>



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to