{"id":2452,"date":"2018-12-07T15:27:26","date_gmt":"2018-12-07T23:27:26","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=2452"},"modified":"2018-12-07T15:27:26","modified_gmt":"2018-12-07T23:27:26","slug":"nvidia-new-driver-supposed-to-fix-kernel-4-20-issues-but-doesnt","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=2452","title":{"rendered":"NVIDIA &#8211; New Driver, Supposed to Fix Kernel 4.20 Issues &#8211; but Doesn&#8217;t?"},"content":{"rendered":"<p>NVIDIA have released driver <strong>415.22<\/strong>, which is supposed to fix compile problems with Kernel 4.20.\u00a0\u00a0 Details are here:\u00a0 <a href=\"https:\/\/www.nvidia.com\/Download\/driverResults.aspx\/141072\/en-us\" target=\"_blank\" rel=\"noopener\">https:\/\/www.nvidia.com\/Download\/driverResults.aspx\/141072\/en-us<\/a><\/p>\n<p>Unfortunately, this still fails to compile (tested with <strong>4.20-rc5<\/strong>):<\/p>\n<pre><span style=\"font-family: courier new, courier;\"><strong> ................................<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>CC [M] \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-415.22\/kernel\/nvidia\/linux_nvswitch.o<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>\/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-415.22\/kernel\/nvidia\/linux_nvswitch.c: In function \u2018nvswitch_os_snprintf_time\u2019:<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>\/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-415.22\/kernel\/nvidia\/linux_nvswitch.c:1585:5: error: implicit declaration of function \u2018time_to_tm\u2019; did you mean \u2018time64_to_tm\u2019? [-Werror=implicit-function-declaration]<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>time_to_tm(time_nsec \/ NVSWITCH_NSEC_PER_SEC, 0, &amp;t);<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>^~~~~~~~~~<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>time64_to_tm<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>cc1: some warnings being treated as errors<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>make[3]: *** [\/usr\/src\/linux-4.20-rc5\/scripts\/Makefile.build:292: \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-415.22\/kernel\/nvidia\/linux_nvswitch.o] Error 1<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>make[2]: *** [\/usr\/src\/linux-4.20-rc5\/Makefile:1565: _module_\/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-415.22\/kernel] Error 2<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>make[2]: Leaving directory '\/usr\/src\/linux-4.20-rc5'<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>make[1]: *** [Makefile:152: sub-make] Error 2<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>make[1]: Leaving directory '\/usr\/src\/linux-4.20-rc5'<\/strong><\/span>\r\n<span style=\"font-family: courier new, courier;\"><strong>make: *** [Makefile:79: modules] Error 2<\/strong><\/span><\/pre>\n<p>It would appear that one of the compile issues has been fixed, but the remaining error\/s have been ignored?<\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0\u00a0 December 7th, 2018.<\/em><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>NVIDIA have released driver 415.22, which is supposed to fix compile problems with Kernel 4.20.\u00a0\u00a0 Details are here:\u00a0 https:\/\/www.nvidia.com\/Download\/driverResults.aspx\/141072\/en-us Unfortunately, this still fails to compile (tested with 4.20-rc5): &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.. CC [M] \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-415.22\/kernel\/nvidia\/linux_nvswitch.o \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-415.22\/kernel\/nvidia\/linux_nvswitch.c: In function \u2018nvswitch_os_snprintf_time\u2019: \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-415.22\/kernel\/nvidia\/linux_nvswitch.c:1585:5: error: implicit declaration of function \u2018time_to_tm\u2019; did you mean \u2018time64_to_tm\u2019? [-Werror=implicit-function-declaration] time_to_tm(time_nsec \/ NVSWITCH_NSEC_PER_SEC, 0, &amp;t); ^~~~~~~~~~ time64_to_tm cc1: some <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=2452\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[14,15,18,19],"tags":[2002,2004,2003,277],"class_list":["post-2452","post","type-post","status-publish","format-standard","hentry","category-kernel","category-linux-2","category-nvidia","category-opinion","tag-415-22","tag-compile-still-fails","tag-kernel-4-20-rc5","tag-nvidia-2"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2452","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2452"}],"version-history":[{"count":1,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2452\/revisions"}],"predecessor-version":[{"id":2453,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2452\/revisions\/2453"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2452"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2452"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}