<div dir="auto">Download the latest SBo script.  It has a patch for the 5.18 kernel.<div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 16, 2022, 18:09 Fernando Lopez <<a href="mailto:fernando.lopezjr@gmail.com">fernando.lopezjr@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>any ideas on how to fix this issue with nvidia-legacy390-kernel (390.151)? I am running slackware current kernel 5.18.3.</div><div><br></div><div><br></div><br clear="all"><div> CONFTEST: is_export_symbol_gpl_refcount_inc<br> CONFTEST: is_export_symbol_gpl_refcount_dec_and_test<br>  CC [M]  /tmp/SBo/NVIDIA-Linux-x86_64-390.151/kernel/nvidia/nv-frontend.o<br>  CC [M]  /tmp/SBo/NVIDIA-Linux-x86_64-390.151/kernel/nvidia/nv-instance.o<br>  CC [M]  /tmp/SBo/NVIDIA-Linux-x86_64-390.151/kernel/nvidia/nv-gpu-numa.o<br>  CC [M]  /tmp/SBo/NVIDIA-Linux-x86_64-390.151/kernel/nvidia/nv.o<br>/tmp/SBo/NVIDIA-Linux-x86_64-390.151/kernel/nvidia/nv.c: In function ‘nv_set_dma_address_size’:<br>/tmp/SBo/NVIDIA-Linux-x86_64-390.151/kernel/nvidia/nv.c:2745:9: error: implicit declaration of function ‘pci_set_dma_mask’ [-Werror=implicit-function-declaration]<br> 2745 |         pci_set_dma_mask(nvl->dev, new_mask);<br>      |         ^~~~~~~~~~~~~~~~<br>cc1: some warnings being treated as errors<br>make[2]: *** [scripts/Makefile.build:288: /tmp/SBo/NVIDIA-Linux-x86_64-390.151/kernel/nvidia/nv.o] Error 1<br>make[1]: *** [Makefile:1834: /tmp/SBo/NVIDIA-Linux-x86_64-390.151/kernel] Error 2<br>make[1]: Leaving directory '/usr/src/linux-5.18.3'<br>make: *** [Makefile:81: modules] Error 2<br><br>nvidia-legacy390-kernel:<br>Would you like to continue processing the rest of the<br>queue or would you like to abort?  If this failed<br>package is a dependency of another package in the queue<br>then it may not make sense to continue.<br></div>-- <br><div dir="ltr" data-smartmail="gmail_signature"><br>------------<br>Regards,<br>    Fernando Lopez Jr.</div></div>
_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org" target="_blank" rel="noreferrer">SlackBuilds-users@slackbuilds.org</a><br>
<a href="https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" rel="noreferrer noreferrer" target="_blank">https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/" rel="noreferrer noreferrer" target="_blank">https://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="https://slackbuilds.org/faq/" rel="noreferrer noreferrer" target="_blank">https://slackbuilds.org/faq/</a><br>
<br>
</blockquote></div>