libusb problem



Hi

I'm writing program i c language to access usb devices on system. I'm using
libusb library.
Problem: During compilation i get message ../lib/lib.so: could not read
symbols:
Invalid operation
coolect2: ld returned 1 exit status

What is the problem.
I compile program using gcc-cris command/compiler.

gcc-cris -Wl -L/usr/lib -lusb program_name.c -o program_name

I've searched for old posts on other newsgroups and i found post which
says that i must compile libusb for cris... How i do that ? Please advice
.... Tx


.



Relevant Pages

  • libusb problem
    ... I'm writing program i c language to access usb devices on system. ... coolect2: ld returned 1 exit status ... I've searched for old posts on other newsgroups and i found post which ...
    (comp.os.linux.misc)
  • libusb problem
    ... I'm writing program i c language to access usb devices on system. ... coolect2: ld returned 1 exit status ... I've searched for old posts on other newsgroups and i found post which ...
    (comp.os.linux)
  • libusb problem
    ... I'm writing program i c language to access usb devices on system. ... Invalid operation ... coolect2: ld returned 1 exit status ...
    (alt.os.linux)
  • Re: libusb problem
    ... I'm writing program i c language to access usb devices on system. ... I compile program using gcc-cris command/compiler. ... I've searched for old posts on other newsgroups and i found post which ... If you're using a cross compiler, you seem to be in way over your head. ...
    (comp.os.linux.misc)