Skip to content

error is make hid-logitech-hidpp.c:26:10: fatal error: asm/unaligned.h: Bestand of map bestaat niet #6

@sojab0on

Description

@sojab0on

i cloned this git hub to get my g27 working properly on ubuntu

i has a strange problem that when i plug it in the wheel stops turning half way to the right then starts again goes to the left when it hits the end of left turning it comes back for like 2 or 3 cm of tuning and stops also the force feedback dosnt work

when i ran the make from the clean clone it
hid-logitech-hidpp.c:26:10: fatal error: asm/unaligned.h: Bestand of map bestaat niet

make -C /lib/modules/uname -r/build M=$PWD
make[1]: Map '/usr/src/linux-headers-6.17.0-8-generic' wordt binnengegaan
make[2]: Map '/home/michel/Documenten/hid-logitech-hidpp' wordt binnengegaan
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 15.2.0-4ubuntu4) 15.2.0
You are using: gcc (Ubuntu 15.2.0-4ubuntu4) 15.2.0
CC [M] hid-logitech-hidpp.o
hid-logitech-hidpp.c:26:10: fatal error: asm/unaligned.h: Bestand of map bestaat niet
26 | #include <asm/unaligned.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/linux-headers-6.17.0-8-generic/scripts/Makefile.build:287: hid-logitech-hidpp.o] Fout 1
make[3]: *** [/usr/src/linux-headers-6.17.0-8-generic/Makefile:2016: .] Fout 2
make[2]: *** [/usr/src/linux-headers-6.17.0-8-generic/Makefile:248: __sub-make] Fout 2
make[2]: Map '/home/michel/Documenten/hid-logitech-hidpp' wordt verlaten
make[1]: *** [Makefile:248: __sub-make] Fout 2
make[1]: Map '/usr/src/linux-headers-6.17.0-8-generic' wordt verlaten
make: *** [Makefile:9: default] Fout 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions