Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2019 17:10:40 +0000 (UTC)
From:      Unga <unga888@yahoo.com>
To:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Nvidia driver cannot compile on FreeBSD 12.0
Message-ID:  <671534126.8932488.1553361040673@mail.yahoo.com>
References:  <671534126.8932488.1553361040673.ref@mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi all
I tried to install=C2=A0NVIDIA-FreeBSD-x86_64-418.56 display driver but I g=
et following compilation error:
# make install=3D=3D=3D> src (install)=3D=3D=3D> src/nvidia (install)cc=C2=
=A0 -O2 -pipe -DNV_VERSION_STRING=3D\"418.56\" -D__KERNEL__ -DNVRM -Wno-unu=
sed-function -Wuninitialized -O2 -fno-strict-aliasing -mno-red-zone -mcmode=
l=3Dkernel -UDEBUG -U_DEBUG -DNDEBUG -Werror=3Dundef=C2=A0 -Werror -D_KERNE=
L -DKLD_MODULE -nostdinc=C2=A0 -I. -I../common/inc -I. -I/usr/src/sys -I/us=
r/src/sys/contrib/ck/include -fno-common=C2=A0 -fno-omit-frame-pointer -mno=
-omit-leaf-frame-pointer=C2=A0 =C2=A0 -mcmodel=3Dkernel -mno-red-zone -mno-=
mmx -mno-sse -msoft-float=C2=A0 -fno-asynchronous-unwind-tables -ffreestand=
ing -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wst=
rict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -W=
no-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -=
fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compa=
re -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-=
function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-addre=
ss-of-packed-member=C2=A0 -mno-aes -mno-avx=C2=A0 -std=3Diso9899:1999 -c nv=
idia_acpi.c -o nvidia_acpi.oIn file included from nvidia_acpi.c:12:./os-int=
erface.h:27:10: fatal error: 'stdarg.h' file not found#include <stdarg.h>=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~~1 error generated.

My OS:# uname -aFreeBSD unga 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENE=
RIC=C2=A0 amd64
I used to have a previous version of Nvidia driver running well on FreeBSD =
11.2 on the same machine.
Any idea?
Best regardsUnga



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