Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

"error adding symbols: DSO missing from command line" while compiling g13-driver

Writer Sebastian Wright

I'm trying to compile the download received here: by running make but I'm receiving errors that to me, after searching on the web, look like they're the programmers fault but here they are:

g++ c-source/G13.o c-source/G13Action.o c-source/Macro.o c-source/MacroAction.o c-source/Main.o c-source/Output.o c-source/PassThroughAction.o -o Linux-G13-Driver -lusb-1.0
/usr/bin/ld: c-source/Main.o: undefined reference to symbol 'pthread_kill@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [Linux-G13-Driver] Error 1

If anyone has any ideas please help I really want to get this running

4

1 Answer

Edit the lines as shown below in the makefile and it should compile:

FLAGS = -L /lib64
LIBS = -lusb-1.0 -l pthread
3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy