Skip to content

Make issue when building for new kernel #552

@Wheelz108

Description

@Wheelz108

I'm getting the following issue when trying to build the module for a kernel upgrade.

DKMS (dkms-3.2.1) make.log for hid-xpadneo-v0.9-226/ga16acb0 for kernel 6.15.9-arch1-1 (x86_64)
Mon 04 Aug 2025 15:25:22 AEST

Building module(s)
# command: make -j16 KERNELRELEASE=6.15.9-arch1-1 -C '/usr/lib/modules/6.15.9-arch1-1/build' M='/var/lib/dkms/hid-xpadneo/v0.9-226-ga16acb0/build/src' VERSION='v0.9-226-ga16acb0' modules
make: Entering directory '/usr/lib/modules/6.15.9-arch1-1/build'
Makefile:199: *** specified external module directory "/var/lib/dkms/hid-xpadneo/v0.9-226-ga16acb0/build/src" does not exist.  Stop.
make: Leaving directory '/usr/lib/modules/6.15.9-arch1-1/build'

# exit code: 2
# elapsed time: 00:00:00
----------------------------------------------------------------

The directory it wants does indeed not exist on my machine, but installing after a restart (i.e sudo modprobe uhid; ./install.sh) works totally fine.

Not sure how I would go about fixing this properly and submitting a pull request for said fix, so any help is greatly appreciated. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions