free5lot / hid-apple-patched

Allows to swap the Fn key and left Control key and other tweaks on Macbook Pro and Apple keyboards in GNU/Linux
GNU General Public License v2.0
350 stars 61 forks source link

5.4 Kernel build issue #54

Closed dustin-hawkins closed 4 years ago

dustin-hawkins commented 4 years ago
dhawkins@dhawkins-MacBookAir:~/build/hid-apple-patched$ sudo dkms build hid-apple/1.0

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j4 KERNELRELEASE=5.4.2-050402-generic -C /lib/modules/5.4.2-050402-generic/build M=/var/lib/dkms/hid-apple/1.0/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.4.2-050402-generic (x86_64)
Consult /var/lib/dkms/hid-apple/1.0/build/make.log for more information.

Having trouble building on a newer 5.4 Kernel - ubuntu 18.04 based. Make.log attached

make.log

dustin-hawkins commented 4 years ago

I think this has to be a version mismatch of GCC.

7.4 on my system, and the newest kernel is compiled w/ the 9.2 branch

almson commented 4 years ago

@free5lot Issue should be closed. (Issue is with user's system's inability to compile any kernel modules.)

free5lot commented 4 years ago

@almson agreed. Considering this being solved. If anyone has other opinion - please write a message.