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. :(
** Changed in: libusb (Ubuntu)
Status: Confirmed => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/920948
Title:
Can't build simple app with libusb-dev
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libusb/+bug/920948/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs