Re: x11/nvidia-driver / Compilation has failed

看板FB_current作者時間14年前 (2011/08/17 10:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/19 (看更多)
On Aug 16, 2011, at 11:26 AM, Ivan Klymenko <fidaj@ukr.net> wrote: > $B'#(B Tue, 16 Aug 2011 19:23:06 +0100 > Alvaro Castillo <gobledb@gmail.com> $B'a'Z'j'V'd(B: > >> I try to compile a x11/nvidia-driver and give this error. >> >> ===> Building for nvidia-driver-270.41.19 >> ===> src (all) >> cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"270.41.19\" >> -D__KERNEL__ -DNVRM -Wno-unused-function -O -mno-red-zone >> -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL >> -DKLD_MODULE -nostdinc >> -I/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-270.41.19/src >> -I. -I@ -I@/contrib/altq -finline-limit=8000 --param >> inline-unit-growth=100 --param large-function-growth=1000 -fno-common >> -fno-omit-frame-pointer -mno-sse -mcmodel=kernel -mno-red-zone >> -mno-mmx -msoft-float -fno-asynchronous-unwind-tables -ffreestanding >> -fstack-protector -std=iso9899:1999 -fstack-protector -Wall >> -Wredundant-decls -Wnested-externs -Wstrict-prototypes >> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef >> -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs >> -fdiagnostics-show-option -c nvidia_linux.c >> cc1: warnings being treated as errors >> nvidia_linux.c: In function 'linux_ioctl_nvidia': >> nvidia_linux.c:42: warning: passing argument 3 of 'fget' makes integer >> from pointer without a cast >> nvidia_linux.c:42: error: too few arguments to function 'fget' >> *** Error code 1 >> >> Stop >> in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-270.41.19/src. >> *** Error code 1 >> >> Stop >> in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-270.41.19. >> *** Error code 1 >> >> Stop in /usr/ports/x11/nvidia-driver. >> *** Error code 1 >> >> uname -a: >> FreeBSD shuttle0.lan 9.0-BETA1 FreeBSD 9.0-BETA1 #2: Mon Aug 8 >> 17:05:59 WEST 2011 >> netSys@shuttle0.lan:/usr/obj/usr/src/sys/HYDROGEN amd64 >> >> Ports has been updated since 19:20 (GMT0) >> >> Step to reproduce: >> # cd /usr/ports/x11/nvidia-driver >> # make >> >> Options to compile: (From make config command) >> >> WITH_FREEBSD_AGP=yes >> WITH_ACPI_PM=yes >> WITHOUT_LINUX=no >> WITH_WBINVD=no >> > > http://lists.freebsd.org/pipermail/freebsd-current/2011-August/026533.html Thanks for the reminder. I'll submit a patch to fix this to danfe tonight. Cheers, -Garrett _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1EIo3U96 (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1EIo3U96 (FB_current)