hid-tmff2 icon indicating copy to clipboard operation
hid-tmff2 copied to clipboard

`ld` missing

Open Querzion opened this issue 11 months ago • 3 comments

make -C deps/hid-tminit KDIR="/lib/modules/6.7.9-206.fsync.fc39.x86_64/build" 
make[1]: Entering directory '/var/home/querzion/Git/hid-tmff2/deps/hid-tminit'
make -C /lib/modules/6.7.9-206.fsync.fc39.x86_64/build M=/var/home/querzion/Git/hid-tmff2/deps/hid-tminit modules
make[2]: Entering directory '/usr/src/kernels/6.7.9-206.fsync.fc39.x86_64'
  CC [M]  /var/home/querzion/Git/hid-tmff2/deps/hid-tminit/hid-tminit.o
  MODPOST /var/home/querzion/Git/hid-tmff2/deps/hid-tminit/Module.symvers
  CC [M]  /var/home/querzion/Git/hid-tmff2/deps/hid-tminit/hid-tminit.mod.o
  LD [M]  /var/home/querzion/Git/hid-tmff2/deps/hid-tminit/hid-tminit.ko
/bin/sh: line 1: ld: command not found
make[4]: *** [scripts/Makefile.modfinal:56: /var/home/querzion/Git/hid-tmff2/deps/hid-tminit/hid-tminit.ko] Error 127
make[3]: *** [/usr/src/kernels/6.7.9-206.fsync.fc39.x86_64/Makefile:1865: modules] Error 2
make[2]: *** [Makefile:246: __sub-make] Error 2
make[2]: Leaving directory '/usr/src/kernels/6.7.9-206.fsync.fc39.x86_64'
make[1]: *** [Makefile:5: all] Error 2
make[1]: Leaving directory '/var/home/querzion/Git/hid-tmff2/deps/hid-tminit'
make: *** [Makefile:16: deps/hid-tminit] Error 2

Querzion avatar Mar 11 '24 06:03 Querzion

What is usually ld?

Querzion avatar Mar 11 '24 06:03 Querzion

ld is the linker, a program that replaces references to symbols (functions, global variables) with their addresses. It's an essential part of compilation, and usually any compiler you install will automatically install the linker, so it seems like one or more of your packages are broken for whatever reason. Maybe try reinstalling your compiler?

Kimplul avatar Mar 11 '24 12:03 Kimplul

@Querzion I see that you probably have a Bazzite installation. I suggest you to open a feature request there to include ld. Note that you still won't be able to build this kernel module because of ublue-os/bazzite#899, but I've already requested to layer all custom kernel modules for steering wheels in the image (see ublue-os/bazzite#901), so eventually we won't need to build them ourselves.

napaalm avatar Mar 20 '24 09:03 napaalm