Closed ErikBcd closed 1 month ago
Hi, it's me who is to blame since I have not properly checked the Makefile before opening PR #178.
But the error <command-line>: error: macro names must be identifiers
clearly shows me that there is an empty define.
This is caused by a typo in the Makefile: DEFINE_EXTRAVERSION
(wrong) instead of EXTRAVERSION_DEFINE
(correct).
Are you sure you are using the correction from PR #179? Also be aware that dkms add .
will actully copy the repo content to /usr/src/i915-sriov-dkms-2024.07.17/
. If you change the repo later, it won't update the latter automatically.
So you could try the following:
# Change into the root of the cloned repository
cd i915-sriov-dkms
# Only needed with #178 (without #179)
sed -i 's/DEFINE_EXTRAVERSION/EXTRAVERSION_DEFINE/' Makefile
# Remove the old copy of the repo
rm -rf /usr/src/i915-sriov-dkms-2024.07.17
# Remove the build stuff (just to be sure)
rm -rf /var/lib/dkms/i915-sriov-dkms
# Add the dkms repo again (copy to /usr/src/i915-sriov-dkms-2024.07.17)
dkms add .
# Install the dkms module again
dkms install -m i915-sriov-dkms -v 2024.07.17 --force
Thank you a lot for your help, I didn't properly clone your PR so it was my fault. Should've seen that when I looked into the Makefile..
Can confirm now that #179 fixes everything!
Following the pve host installation steps from the README. When compiling the module in step 5, I get the following errors:
/var/lib/dkms/i915-sriov-dkms/2024.07.17/build/make.log:
System:
Fresh install of Proxmox 8.2.4/Linux 6.8.8-2-pve Intel N100
I also tried to compile using #179 , but the error is the same. Not sure if this is related.
Any help in identifying the issue is much appreciated!