Newer versions of GCC require the linker flags to be placed after the objects to be linked. (So with this example, the proper command to build it is "gcc -Wall test.c -lusb -o test")
This bit me too for a while. :(
Newer versions of GCC require the linker flags to be placed after the objects to be linked. (So with this example, the proper command to build it is "gcc -Wall test.c -lusb -o test")
This bit me too for a while. :(