[Slackbuilds-users] (no subject)
Dave Woodfall
dave at slackbuilds.org
Thu Jun 16 22:48:13 UTC 2022
On 16/06/22 17:09,
Fernando Lopez <fernando.lopezjr at gmail.com> put forth the proposition:
> any ideas on how to fix this issue with nvidia-legacy390-kernel (390.151)?
> I am running slackware current kernel 5.18.3.
> CONFTEST: is_export_symbol_gpl_refcount_inc
> CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
> CC [M] /tmp/SBo/NVIDIA-Linux-x86_64-390.151/kernel/nvidia/nv-frontend.o
> CC [M] /tmp/SBo/NVIDIA-Linux-x86_64-390.151/kernel/nvidia/nv-instance.o
> CC [M] /tmp/SBo/NVIDIA-Linux-x86_64-390.151/kernel/nvidia/nv-gpu-numa.o
> CC [M] /tmp/SBo/NVIDIA-Linux-x86_64-390.151/kernel/nvidia/nv.o
> /tmp/SBo/NVIDIA-Linux-x86_64-390.151/kernel/nvidia/nv.c: In function
> ‘nv_set_dma_address_size’:
> /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]
> 2745 | pci_set_dma_mask(nvl->dev, new_mask);
> | ^~~~~~~~~~~~~~~~
That's probably defined in a header, but not found, probably due to kernel changes since then.
At a guess I'd think you'd need to #include <linux/pci-dma-compat.h>
somewhere in nv.c or nv.h if it exists.
--
Dave
sbo-maintainer-tools:
https://slackbuilds.org/repository/15.0/system/sbo-maintainer-tools/
SBo templates:
https://slackbuilds.org/templates/
How to format github downloads:
https://slackbuilds.org/GITHUB_URLs.txt
More information about the SlackBuilds-users
mailing list