Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install error #34

Open
dougg0k opened this issue Nov 20, 2024 · 0 comments
Open

Install error #34

dougg0k opened this issue Nov 20, 2024 · 0 comments

Comments

@dougg0k
Copy link

dougg0k commented Nov 20, 2024

Installing the driver (kernel module)
rm -rf `pwd`/driver/.*.cmd `pwd`/driver/*.ko `pwd`/driver/*.mod `pwd`/driver/*.mod.* `pwd`/driver/*.symvers `pwd`/driver/*.order `pwd`/driver/*.o
rmmod: ERROR: Module maccel is not currently loaded
make: *** [Makefile:31: uninstall] Error 1
make CC=gcc EXTRA_CFLAGS= -C /lib/modules/`uname -r`/build M=`pwd`/driver
make[1]: Entering directory '/usr/lib/modules/6.12.0-2-cachyos/build'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: clang version 18.1.8
  You are using:           gcc (GCC) 14.2.1 20240910
  CC [M]  /opt/maccel/driver/maccel.o
gcc: error: unrecognized command-line option ‘-mretpoline-external-thunk’
gcc: error: unrecognized command-line option ‘-fsplit-lto-unit’
make[3]: *** [scripts/Makefile.build:229: /opt/maccel/driver/maccel.o] Error 1
make[2]: *** [/usr/lib/modules/6.12.0-2-cachyos/build/Makefile:1946: /opt/maccel/driver] Error 2
make[1]: *** [Makefile:224: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.12.0-2-cachyos/build'
make: *** [Makefile:13: build] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant