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>
index | next in thread | raw e-mail
[-- Attachment #1 --] As the title is allready tells, I try to compile and install a NVIDIA driver for my 960 video card. � So I downloaded the driver from the NVIDIA site and tried to compile. That … does not work � Below the messages I get. It seems that the makefile expects bsd.sysdir.mk, which is not there (I verified) � How to fix this!? How to setup the nvidia driver for FreeBSD 14 current? � Below the error messages. � Louis � � [root@mysys /usr/myshare/NV_driver/NVIDIA-FreeBSD-x86_64-515.76]# make install clean ===> src (install) ===> src/nvidia (install) make[2]: "/usr/share/mk/bsd.sysdir.mk" line 15: Unable to locate the kernel source tree. Set SYSDIR to override. � make[2]: stopped in /usr/myshare/NV_driver/NVIDIA-FreeBSD-x86_64-515.76/src/nvidia *** Error code 1 � Stop. make[1]: stopped in /usr/myshare/NV_driver/NVIDIA-FreeBSD-x86_64-515.76/src *** Error code 1 � 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]# [-- Attachment #2 --] <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="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:; 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:; 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:; 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:; 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:; 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:; 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="edit" spidmax="1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1" /> </o:shapelayout></xml><![endif]--></head><body lang=NL link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span lang=EN-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=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>So I downloaded the driver from the NVIDIA site and tried to compile. That … does not work<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-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=MsoNormal><span lang=EN-US>(I verified)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>How to fix this!?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>How to setup the nvidia driver for FreeBSD 14 current? <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Below the error messages.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Louis<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US> [root@mysys /usr/myshare/NV_driver/NVIDIA-FreeBSD-x86_64-515.76]# make install clean<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>===> src (install)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>===> src/nvidia (install)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>make[2]: "/usr/share/mk/bsd.sysdir.mk" line 15: Unable to locate the kernel source tree. Set SYSDIR to override.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-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=MsoNormal><span lang=EN-US>*** Error code 1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Stop.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>make[1]: stopped in /usr/myshare/NV_driver/NVIDIA-FreeBSD-x86_64-515.76/src<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>*** Error code 1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Stop.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>make: stopped in /usr/myshare/NV_driver/NVIDIA-FreeBSD-x86_64-515.76<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>[root@mysys /usr/myshare/NV_driver/NVIDIA-FreeBSD-x86_64-515.76]#<o:p></o:p></span></p></div></body></html>help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001c01d8f2bc$8dc96870$a95c3950$>
