UNIX Socket FAQ

A forum for questions and answers about network programming on Linux and all other Unix-like systems

You are not logged in.

#1 2008-03-14 12:34 PM

sodjas
Member
From: Hungary, Szeged
Registered: 2008-01-06
Posts: 16

Re: ftdi needs usb.h

hi im trying to fix some ftdi bug on my pc and it needed the usb.h file ive download it  and put it to the usr/include directory when try to compile the compiler says:

../src/.libs/libftdi.so: undefined reference to `usb_release_interface'
../src/.libs/libftdi.so: undefined reference to `usb_strerror'
../src/.libs/libftdi.so: undefined reference to `usb_find_busses'
../src/.libs/libftdi.so: undefined reference to `usb_claim_interface'
../src/.libs/libftdi.so: undefined reference to `usb_busses'
../src/.libs/libftdi.so: undefined reference to `usb_find_devices'
../src/.libs/libftdi.so: undefined reference to `usb_bulk_write'
../src/.libs/libftdi.so: undefined reference to `usb_init'
../src/.libs/libftdi.so: undefined reference to `usb_control_msg'
../src/.libs/libftdi.so: undefined reference to `usb_get_string_simple'
../src/.libs/libftdi.so: undefined reference to `usb_bulk_read'
../src/.libs/libftdi.so: undefined reference to `usb_open'
../src/.libs/libftdi.so: undefined reference to `usb_close'

i suggest this is because i dont have the library in which these are defined... how to get the library that belongs to usb.h????

thx in advance sodja

Offline

#2 2008-03-14 01:34 PM

RobSeace
Administrator
From: Boston, MA
Registered: 2002-06-12
Posts: 3,847
Website

Re: ftdi needs usb.h

Offline

#3 2008-03-14 01:53 PM

sodjas
Member
From: Hungary, Szeged
Registered: 2008-01-06
Posts: 16

Re: ftdi needs usb.h

solved that was the problem. thx for the fast support!!!

Offline

Board footer

Powered by FluxBB