From owner-freebsd-stable@freebsd.org Sun Mar 24 09:25:44 2019 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8DAC215522E3 for ; Sun, 24 Mar 2019 09:25:44 +0000 (UTC) (envelope-from alonsoschaich@fastmail.fm) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BF50C741BF for ; Sun, 24 Mar 2019 09:25:41 +0000 (UTC) (envelope-from alonsoschaich@fastmail.fm) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 0AA0321ACF; Sun, 24 Mar 2019 05:25:41 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 24 Mar 2019 05:25:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=D I6kLTRJ/ZA1P2HWJLv30qKMCeb4fkdS1W/TFgSlQSs=; b=TvhTe/XjsypTYYyID v8e/vSmKKRwrHTWxzvbXkh4SpaYR4D5IG37HwqfGuCohyJdfUpEipvlGxZ/Ua1hN 0gwvigyqaDtv8akZFXBiwLrfzjrUohRIHHzDyPGEKZYhb1wzHQJYX0qK4D5ANQCm SLI6vgGaw2V0DpdP5osfbo0pdU9irbv2uF3NMojn5AddvW6+gKjNBXwkN6XvwYv/ 4rEYSaRjY8wzaFfd4o62LKazGSnSNMbWw8uJ+Zsu5z0wOSPo4C9doOJrd9jnzmU6 lcHwNxyq0Z6uxGN9oQgA6BK7IsnRJIoIUOUWXkge5KcacH7dJKO8HYePdgrPoTb5 OAsgw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=DI6kLTRJ/ZA1P2HWJLv30qKMCeb4fkdS1W/TFgSlQ Ss=; b=0eqp4cupWizAcOa2qyOkmKE4QxVETFFt+ZP1l5BcIb+gML/WoAET8nFNx L2MRmZtJnh+YnDG5dQuO+FGaZy3N0q3vAp0xkvPeE/8zcYitQ+0kykSAeV2uze0O GD/YvgJK+wTLIB5sZbG12EKSwP9rb+i/SVdyKXxnJJRQ8dWd/Ql9ct5IY71qP7s3 F35fkJuwBRyk5YCyUHDO149iVhNR7vAxbE51CaEurRNR77gPyMywriFz1Byw278z AFMTDCqUbAuFi6GBHLpBQMcxCcq16hEHA+Kd0bdafV4GlItiVeMp8USGNSkK9Xyh SgUYOc6dT9yhwK4Rn3/3iA4LqQOIg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrjeeigddtfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthhqre dttdefjeenucfhrhhomheptehlohhnshhoucfutghhrghitghhuceorghlohhnshhoshgt hhgrihgthhesfhgrshhtmhgrihhlrdhfmheqnecukfhppeejkedrgeefrdegtddrvdduvd enucfrrghrrghmpehmrghilhhfrhhomheprghlohhnshhoshgthhgrihgthhesfhgrshht mhgrihhlrdhfmhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from sunstream.divine.net (hsi-kbw-078-043-040-212.hsi4.kabel-badenwuerttemberg.de [78.43.40.212]) by mail.messagingengine.com (Postfix) with ESMTPA id 0DEC7E409D; Sun, 24 Mar 2019 05:25:39 -0400 (EDT) Subject: Re: Nvidia driver cannot compile on FreeBSD 12.0 To: Unga , "freebsd-stable@freebsd.org" References: <671534126.8932488.1553361040673.ref@mail.yahoo.com> <671534126.8932488.1553361040673@mail.yahoo.com> From: Alonso Schaich Message-ID: <6c595f09-ac19-6349-3e92-0a1bf0acaab1@fastmail.fm> Date: Sun, 24 Mar 2019 10:25:38 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.0 MIME-Version: 1.0 In-Reply-To: <671534126.8932488.1553361040673@mail.yahoo.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Rspamd-Queue-Id: BF50C741BF X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=fastmail.fm header.s=fm2 header.b=TvhTe/Xj; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=0eqp4cup; dmarc=pass (policy=none) header.from=fastmail.fm; spf=pass (mx1.freebsd.org: domain of alonsoschaich@fastmail.fm designates 66.111.4.27 as permitted sender) smtp.mailfrom=alonsoschaich@fastmail.fm X-Spamd-Result: default: False [-8.60 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[fastmail.fm]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.27]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[fastmail.fm:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[fastmail.fm,none]; MX_GOOD(-0.01)[in2-smtp.messagingengine.com,in1-smtp.messagingengine.com,in2-smtp.messagingengine.com,in1-smtp.messagingengine.com,in2-smtp.messagingengine.com,in1-smtp.messagingengine.com,in2-smtp.messagingengine.com,in1-smtp.messagingengine.com,in2-smtp.messagingengine.com,in1-smtp.messagingengine.com]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[fastmail.fm]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[27.4.111.66.list.dnswl.org : 127.0.5.1]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[fastmail.fm:s=fm2,messagingengine.com:s=fm2]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_SHORT(-0.95)[-0.949,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-3.54)[ip: (-9.62), ipnet: 66.111.4.0/24(-4.60), asn: 11403(-3.42), country: US(-0.07)]; DWL_DNSWL_LOW(-1.00)[fastmail.fm.dwl.dnswl.org : 127.0.5.1]; TO_MATCH_ENVRCPT_SOME(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Mar 2019 09:25:44 -0000 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 =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