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

> cd /usr/ports/x11/nvidia-driver;make

#ERRORS

/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_sysctl.       
                                                        c: In function 
`nvidia_find_bridge':
/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_sysctl.       
                                                        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_sysctl.       
                                                        c:234: error: (Each undeclared 
identifier is reported only once
/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_sysctl.       
                                                        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!


Define WITH_FREEBSD_AGP to use FreeBSD AGP GART driver
Define FORCE_AGP_RATE to limit the driver to lower speeds
Define WITH_NVIDIA_HACKS to enable work-arounds to override basic AGP setup
===>  Extracting for nvidia-driver-1.0.4365
>> Checksum OK for NVIDIA-FreeBSD-x86-1.0-4365.tar.gz.
===>  Patching for nvidia-driver-1.0.4365
===>   nvidia-driver-1.0.4365 depends on shared library: X11.6 - found
===>  Configuring for nvidia-driver-1.0.4365
===>  Building for nvidia-driver-1.0.4365
===> module
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
cp 
/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../obj/nv-kernel.o
 NVIDIA.o
cc -O -pipe -march=athlon 
-I/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src 
-D__KERNEL__ -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4365  
-DNVCPU_X86   -DNV_BSD   -DNV_INT64_OK   -DNV_UNIX  -D_KERNEL -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I-  
-I/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src -I. -I@ 
-I@/../include -I/usr/include -finline-limit=15000 -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 -std=c99 -c 
/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src/nvidia_ctl.c
cc -O -pipe -march=athlon 
-I/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src 
-D__KERNEL__ -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4365  
-DNVCPU_X86   -DNV_BSD   -DNV_INT64_OK   -DNV_UNIX  -D_KERNEL -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I-  
-I/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src -I. -I@ 
-I@/../include -I/usr/include -finline-limit=15000 -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 -std=c99 -c 
/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src/nvidia_dev.c
cc -O -pipe -march=athlon 
-I/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src 
-D__KERNEL__ -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4365  
-DNVCPU_X86   -DNV_BSD   -DNV_INT64_OK   -DNV_UNIX  -D_KERNEL -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I-  
-I/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src -I. -I@ 
-I@/../include -I/usr/include -finline-limit=15000 -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 -std=c99 -c 
/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src/nvidia_linux.c
cc -O -pipe -march=athlon 
-I/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src 
-D__KERNEL__ -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4365  
-DNVCPU_X86   -DNV_BSD   -DNV_INT64_OK   -DNV_UNIX  -D_KERNEL -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I-  
-I/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src -I. -I@ 
-I@/../include -I/usr/include -finline-limit=15000 -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 -std=c99 -c 
/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src/nvidia_os.c
cc -O -pipe -march=athlon 
-I/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src 
-D__KERNEL__ -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4365  
-DNVCPU_X86   -DNV_BSD   -DNV_INT64_OK   -DNV_UNIX  -D_KERNEL -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I-  
-I/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src -I. -I@ 
-I@/../include -I/usr/include -finline-limit=15000 -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 -std=c99 -c 
/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src/nvidia_os_pci.c
cc -O -pipe -march=athlon 
-I/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src 
-D__KERNEL__ -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4365  
-DNVCPU_X86   -DNV_BSD   -DNV_INT64_OK   -DNV_UNIX  -D_KERNEL -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I-  
-I/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src -I. -I@ 
-I@/../include -I/usr/include -finline-limit=15000 -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 -std=c99 -c 
/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src/nvidia_os_registry.c
cc -O -pipe -march=athlon 
-I/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src 
-D__KERNEL__ -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4365  
-DNVCPU_X86   -DNV_BSD   -DNV_INT64_OK   -DNV_UNIX  -D_KERNEL -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I-  
-I/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src -I. -I@ 
-I@/../include -I/usr/include -finline-limit=15000 -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 -std=c99 -c 
/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src/nvidia_pci.c
cc -O -pipe -march=athlon 
-I/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src 
-D__KERNEL__ -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4365  
-DNVCPU_X86   -DNV_BSD   -DNV_INT64_OK   -DNV_UNIX  -D_KERNEL -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I-  
-I/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src -I. -I@ 
-I@/../include -I/usr/include -finline-limit=15000 -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 -std=c99 -c 
/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src/nvidia_subr.c
cc -O -pipe -march=athlon 
-I/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src 
-D__KERNEL__ -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4365  
-DNVCPU_X86   -DNV_BSD   -DNV_INT64_OK   -DNV_UNIX  -D_KERNEL -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I-  
-I/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src -I. -I@ 
-I@/../include -I/usr/include -finline-limit=15000 -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 -std=c99 -c 
/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module/../src/nvidia_sysctl.c
/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_sysctl.c: In 
function `nvidia_find_bridge':
/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_sysctl.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_sysctl.c:234: 
error: (Each undeclared identifier is reported only once
/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/src/nvidia_sysctl.c:234: 
error: for each function it appears in.)
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365/module.
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-4365.
*** Error code 1

Stop in /usr/ports/x11/nvidia-driver.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to