Build error
JoneKone opened this issue · 0 comments
JoneKone commented
DKMS make.log for zenpower-0.1.12 for kernel 5.11.15-21.04.18.amdgpu.ubuntu (x86_64)
la 13.11.2021 12.52.52 +0200
make[1]: Entering directory '/var/lib/dkms/zenpower/0.1.12/build'
make[2]: Entering directory '/usr/src/linux-headers-5.11.15-21.04.18.amdgpu.ubuntu'
CC [M] /var/lib/dkms/zenpower/0.1.12/build/zenpower.o
In file included from /var/lib/dkms/zenpower/0.1.12/build/zenpower.c:35:
/var/lib/dkms/zenpower/0.1.12/build/zenpower.c:734:21: error: ‘PCI_DEVICE_ID_AMD_19H_M40H_DF_F3’ undeclared here (not in a function); did you mean ‘PCI_DEVICE_ID_AMD_19H_M40H_DF_F4’?
734 | { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_19H_M40H_DF_F3) },
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/pci.h:938:45: note: in definition of macro ‘PCI_VDEVICE’
938 | .vendor = PCI_VENDOR_ID_##vend, .device = (dev), \
| ^~~
/var/lib/dkms/zenpower/0.1.12/build/zenpower.c:735:21: error: ‘PCI_DEVICE_ID_AMD_19H_M50H_DF_F3’ undeclared here (not in a function); did you mean ‘PCI_DEVICE_ID_AMD_19H_M50H_DF_F4’?
735 | { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_19H_M50H_DF_F3) },
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/pci.h:938:45: note: in definition of macro ‘PCI_VDEVICE’
938 | .vendor = PCI_VENDOR_ID_##vend, .device = (dev), \
| ^~~
make[3]: *** [scripts/Makefile.build:287: /var/lib/dkms/zenpower/0.1.12/build/zenpower.o] Error 1
make[2]: *** [Makefile:1848: /var/lib/dkms/zenpower/0.1.12/build] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.11.15-21.04.18.amdgpu.ubuntu'
make[1]: *** [Makefile:27: modules] Error 2
make[1]: Leaving directory '/var/lib/dkms/zenpower/0.1.12/build'
I tried to make with your instructions.. before this I did remove old plain "zenpower"