Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Nov 2022 16:21:05 +0100
From:      <louis.freebsd@xs4all.nl>
To:        <freebsd-current@FreeBSD.org>
Subject:   Trying to compile theNVIDIA driver ........  however no ^bsd.sysdir.mk^ 
Message-ID:  <001c01d8f2bc$8dc96870$a95c3950$@xs4all.nl>

next in thread | raw e-mail | index | archive | help
This is a multipart message in MIME format.

------=_NextPart_000_001D_01D8F2C4.EF8E6CB0
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

As the title is allready tells, I try to compile and install a NVIDIA =
driver for my 960 video card.=20

 =EF=BF=BD

So I downloaded the driver from the NVIDIA site and tried to compile. =
That =E2=80=A6 does not work

 =EF=BF=BD

Below the messages I get. It seems that the makefile expects =
bsd.sysdir.mk, which is not there

(I verified)

 =EF=BF=BD

How to fix this!?

How to setup the nvidia driver for FreeBSD 14 current?=20

 =EF=BF=BD

Below the error messages.

 =EF=BF=BD

Louis

 =EF=BF=BD

 =EF=BF=BD

[root@mysys /usr/myshare/NV_driver/NVIDIA-FreeBSD-x86_64-515.76]# make =
install clean

=3D=3D=3D> src (install)

=3D=3D=3D> src/nvidia (install)

make[2]: "/usr/share/mk/bsd.sysdir.mk" line 15: Unable to locate the =
kernel source tree. Set SYSDIR to override.

 =EF=BF=BD

make[2]: stopped in =
/usr/myshare/NV_driver/NVIDIA-FreeBSD-x86_64-515.76/src/nvidia

*** Error code 1

 =EF=BF=BD

Stop.

make[1]: stopped in =
/usr/myshare/NV_driver/NVIDIA-FreeBSD-x86_64-515.76/src

*** Error code 1

 =EF=BF=BD

Stop.

make: stopped in /usr/myshare/NV_driver/NVIDIA-FreeBSD-x86_64-515.76

[root@mysys /usr/myshare/NV_driver/NVIDIA-FreeBSD-x86_64-515.76]#


------=_NextPart_000_001D_01D8F2C4.EF8E6CB0
Content-Type: text/html;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta =
name=3DGenerator content=3D"Microsoft Word 15 (filtered =
medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
span.E-mailStijl17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:792140121;
	mso-list-type:hybrid;
	mso-list-template-ids:-125376558 -426089724 68354051 68354053 68354049 =
68354051 68354053 68354049 68354051 68354053;}
@list l0:level1
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:=EF=83=98;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Wingdings;
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:=EF=82=A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:=EF=82=B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:=EF=82=A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:=EF=82=B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:=EF=82=A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Wingdings;}
ol
	{margin-bottom:0cm;}
ul
	{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DNL =
link=3D"#0563C1" vlink=3D"#954F72" style=3D'word-wrap:break-word'><div =
class=3DWordSection1><p class=3DMsoNormal><span lang=3DEN-US>As the =
title is allready tells, I try to compile and install a NVIDIA driver =
for my 960 video card. <o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>So I downloaded the driver from the NVIDIA site and tried =
to compile. That =E2=80=A6 does not work<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US>Below the messages I get. It seems =
that the makefile expects bsd.sysdir.mk, which is not =
there<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US>(I =
verified)<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>How to fix this!?<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US>How to setup the nvidia driver for =
FreeBSD 14 current? <o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>Below the error messages.<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US>Louis<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US> [root@mysys =
/usr/myshare/NV_driver/NVIDIA-FreeBSD-x86_64-515.76]# make install =
clean<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>=3D=3D=3D&gt; src (install)<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US>=3D=3D=3D&gt; src/nvidia =
(install)<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>make[2]: &quot;/usr/share/mk/bsd.sysdir.mk&quot; line 15: =
Unable to locate the kernel source tree. Set SYSDIR to =
override.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>make[2]: stopped in =
/usr/myshare/NV_driver/NVIDIA-FreeBSD-x86_64-515.76/src/nvidia<o:p></o:p>=
</span></p><p class=3DMsoNormal><span lang=3DEN-US>*** Error code =
1<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>Stop.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>make[1]: stopped in =
/usr/myshare/NV_driver/NVIDIA-FreeBSD-x86_64-515.76/src<o:p></o:p></span>=
</p><p class=3DMsoNormal><span lang=3DEN-US>*** Error code =
1<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>Stop.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>make: stopped in =
/usr/myshare/NV_driver/NVIDIA-FreeBSD-x86_64-515.76<o:p></o:p></span></p>=
<p class=3DMsoNormal><span lang=3DEN-US>[root@mysys =
/usr/myshare/NV_driver/NVIDIA-FreeBSD-x86_64-515.76]#<o:p></o:p></span></=
p></div></body></html>
------=_NextPart_000_001D_01D8F2C4.EF8E6CB0--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001c01d8f2bc$8dc96870$a95c3950$>