Fabian Niestroj wrote:
I tried to kompile "logitech-resolution.c" but I get theses error messages after typing "gcc logitech-resolution.c"
/tmp/ccffOufp.o: In function `get_resolution':
/tmp/ccffOufp.o(.text+0xd): undefined reference to `usb_open'
/tmp/ccffOufp.o(.text+0x2e): undefined reference to `usb_control_msg'
/tmp/ccffOufp.o(.text+0x45): undefined reference to `usb_strerror'
/tmp/ccffOufp.o(.text+0x61): undefined reference to `usb_close'

"libusb" is on my system in version 0.1.5-118

You seem not to have problems compiling.
You need to tell gcc to link with libusb.so.

Try gcc -lusb logitech-resolution.c.  The result will go into a.out.

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to