Skip to content

DKMS cannot install on 6.11 release candidate kernel #12

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

Closed
wantija opened this issue Aug 13, 2024 · 3 comments
Closed

DKMS cannot install on 6.11 release candidate kernel #12

wantija opened this issue Aug 13, 2024 · 3 comments

Comments

@wantija
Copy link

wantija commented Aug 13, 2024

The module compiles fine (and in a clean chroot too on Arch), but dkms cannot install it on 6.11-rc kernels, works on 6.10.

Tue 13 Aug 2024 02:29:22 AM EDT
make: Entering directory '/usr/lib/modules/6.11.0-rc3-2-cachyos-rc/build'
  CC [M]  /var/lib/dkms/xone/0.3.r50.g58004bf/build/transport/wired.o
  CC [M]  /var/lib/dkms/xone/0.3.r50.g58004bf/build/transport/dongle.o
  CC [M]  /var/lib/dkms/xone/0.3.r50.g58004bf/build/transport/mt76.o
  CC [M]  /var/lib/dkms/xone/0.3.r50.g58004bf/build/bus/bus.o
  CC [M]  /var/lib/dkms/xone/0.3.r50.g58004bf/build/bus/protocol.o
  CC [M]  /var/lib/dkms/xone/0.3.r50.g58004bf/build/auth/auth.o
  CC [M]  /var/lib/dkms/xone/0.3.r50.g58004bf/build/auth/crypto.o
  CC [M]  /var/lib/dkms/xone/0.3.r50.g58004bf/build/driver/common.o
  CC [M]  /var/lib/dkms/xone/0.3.r50.g58004bf/build/driver/gamepad.o
  CC [M]  /var/lib/dkms/xone/0.3.r50.g58004bf/build/driver/headset.o
  CC [M]  /var/lib/dkms/xone/0.3.r50.g58004bf/build/driver/chatpad.o
  CC [M]  /var/lib/dkms/xone/0.3.r50.g58004bf/build/driver/madcatz_strat.o
  CC [M]  /var/lib/dkms/xone/0.3.r50.g58004bf/build/driver/madcatz_glam.o
  CC [M]  /var/lib/dkms/xone/0.3.r50.g58004bf/build/driver/pdp_jaguar.o
/var/lib/dkms/xone/0.3.r50.g58004bf/build/bus/bus.c:125:18: error: initialization of ‘int (*)(struct device *, const struct device_driver *)’ from incompatible pointer type ‘int (*)(struct device *, struct device_driver *)’ [-Wincompatible-pointer-types]
  125 |         .match = gip_bus_match,
      |                  ^~~~~~~~~~~~~
/var/lib/dkms/xone/0.3.r50.g58004bf/build/bus/bus.c:125:18: note: (near initialization for ‘gip_bus_type.match’)
make[2]: *** [scripts/Makefile.build:244: /var/lib/dkms/xone/0.3.r50.g58004bf/build/bus/bus.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/usr/lib/modules/6.11.0-rc3-2-cachyos-rc/build/Makefile:1928: /var/lib/dkms/xone/0.3.r50.g58004bf/build] Error 2
make: *** [Makefile:224: __sub-make] Error 2
make: Leaving directory '/usr/lib/modules/6.11.0-rc3-2-cachyos-rc/build'
@wantija
Copy link
Author

wantija commented Aug 18, 2024

Nevermind, this fixes it.

@wantija wantija closed this as completed Aug 18, 2024
@dlundqvist
Copy link
Owner

Sorry for being slow, above PR is in my fork now.

@pallaswept
Copy link

Sorry for being slow, above PR is in my fork now.

Thank you for maintaining the driver for us!

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

3 participants