[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-ports
Subject:    Re: Failure to build x11/nvidia-driver-340 kmod in head @r312812
From:       David Wolfskill <david () catwhisker ! org>
Date:       2017-01-27 14:50:40
Message-ID: 20170127145040.GP5908 () albert ! catwhisker ! org
[Download RAW message or body]


On Thu, Jan 26, 2017 at 04:52:34AM -0800, David Wolfskill wrote:
> ...
> cc  -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"340.101\" -D__KERNEL__ \
> -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -mno-red-zone \
> -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG  -Werror -D_KERNEL -DKLD_MODULE -nostdinc \
> -I. -I. -I/usr/src/sys -fno-common  -fno-omit-frame-pointer \
> -mno-omit-leaf-frame-pointer  -MD  -MF.depend.nvidia_acpi.o -MTnvidia_acpi.o \
> -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  \
> -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall \
> -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \
> -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign \
> -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option \
> -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body \
> -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign \
> -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c \
> nvidia_acpi.c -o nvidia_acpi.o In file included from nvidia_acpi.c:14:
> In file included from ./nv-freebsd.h:109:
> /usr/src/sys/sys/capability.h:41:2: error: this file includes <sys/capability.h> \
> which is deprecated [-Werror,-W#warnings] #warning this file includes \
> <sys/capability.h> which is deprecated ^
> 1 error generated.
> *** Error code 1
> ....

danfe@ has fixed this via r432548 -- thanks! :-)

Peace,
david
-- 
David H. Wolfskill				david@catwhisker.org
How could one possibly "respect" a misogynist, racist, bullying con-man??!?

See http://www.catwhisker.org/~david/publickey.gpg for my public key.


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic