jlam55555 / veikk-linux-driver

Linux driver for VEIKK-brand digitizers
139 stars 33 forks source link

Error compiling #5

Closed kmstr113 closed 4 years ago

kmstr113 commented 5 years ago

HI I am having an error compiling the driver. When I run make I get make -C /lib/modules/4.18.0-22-generic/build M=/home/jhahn/Documents/Veikk Driver/veikk-s640-driver-master modules make[1]: Entering directory '/usr/src/linux-headers-4.18.0-22-generic' arch/x86/Makefile:155: CONFIG_X86_X32 enabled but no binutils support arch/x86/Makefile:244: You are building kernel with non-retpoline compiler, please update your compiler.. Stop. make[1]: Leaving directory '/usr/src/linux-headers-4.18.0-22-generic' Makefile:7: recipe for target 'all' failed make: [all] Error 2

Any thoughts as to what I am doing wrong ?

jlam55555 commented 5 years ago

I'm not sure. Can you check your gcc version? (gcc -v) From posts like this it seems that it might be a problem with older gcc versions.

By the way, you might want to remove the space in your path (between "Veikk" and "Driver"). I.e., rename that directory to Veikk_Driver or something of the like. I haven't tested it, but it looks like the space might cause errors.

kmstr113 commented 4 years ago

Thank you I will try changing the folder name and see if that resolves it

jlam55555 commented 4 years ago

Closed for inactivity.