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

Solution 1:

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

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