编译 g13-driver 时出现“错误添加符号:命令行中缺少 DSO”

Dan*_*iel 13 compiling make

我正在尝试编译这里收到的下载:https://code.google.com/p/linux-g13-driver/通过运行 make 但我收到了错误,在网上搜索后,看起来他们是程序员的错,但他们是:

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
Run Code Online (Sandbox Code Playgroud)

如果有人有任何想法,请帮助我真的想让它运行

Har*_*ris 15

编辑 makefile 中如下所示的行,它应该可以编译:

FLAGS    = -L /lib64 
LIBS     = -lusb-1.0 -l pthread
Run Code Online (Sandbox Code Playgroud)