Date: Sun, 24 Mar 2019 10:25:38 +0100 From: Alonso Schaich <alonsoschaich@fastmail.fm> To: Unga <unga888@yahoo.com>, "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org> Subject: Re: Nvidia driver cannot compile on FreeBSD 12.0 Message-ID: <6c595f09-ac19-6349-3e92-0a1bf0acaab1@fastmail.fm> In-Reply-To: <671534126.8932488.1553361040673@mail.yahoo.com> References: <671534126.8932488.1553361040673.ref@mail.yahoo.com> <671534126.8932488.1553361040673@mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3/23/19 6:10 PM, Unga via freebsd-stable wrote: > Hi all > I tried to install=C2=A0NVIDIA-FreeBSD-x86_64-418.56 display driver but= I get 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 -Wn= o-unused-function -Wuninitialized -O2 -fno-strict-aliasing -mno-red-zone = -mcmodel=3Dkernel -UDEBUG -U_DEBUG -DNDEBUG -Werror=3Dundef=C2=A0 -Werror= -D_KERNEL -DKLD_MODULE -nostdinc=C2=A0 -I. -I../common/inc -I. -I/usr/sr= c/sys -I/usr/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-t= ables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -W= nested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -= Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__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-sh= ift-negative-value -Wno-address-of-packed-member=C2=A0 -mno-aes -mno-avx=C2= =A0 -std=3Diso9899:1999 -c nvidia_acpi.c -o nvidia_acpi.oIn file included= from nvidia_acpi.c:12:./os-interface.h:27:10: fatal error: 'stdarg.h' fi= le 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 = GENERIC=C2=A0 amd64 > I used to have a previous version of Nvidia driver running well on Free= BSD 11.2 on the same machine. > Any idea? > Best regardsUnga Hi You need to add > /usr/src/sys/amd64/include to the include path set. The nvidia-driver port you are using isn't part of the FreeBSD ports coll= ection btw. Alonso
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6c595f09-ac19-6349-3e92-0a1bf0acaab1>