libftdi Archives

Subject: Re: FW: how to compile the libftdi-0.18 in ARM platform :/usr/lib/libusb.so: could not read symbols: File in wrong format

From: Teemu Peltola <teemu.peltola@xxxxxxxxxxxx>
To: <libftdi@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 9 Mar 2011 10:33:04 +0200
On 03/09/2011 10:12 AM, Wu, Ruiyu (GE Healthcare) wrote:
>   hi, Teemu
> 
> I am so glad to hear from you.
> yes, I know what you mean.
>   I have let the Cross-compiler to link the 
> /home/yang2000/211backup/yang2000/Develop/target_dvevm/usr/lib/libusb.so
> please see the .configure parameters. For more info, please see the 
> config.log ( I attached it)
> 
> ./configure CC=arm_v5t_le-gcc 
> --prefix=/home/yang2000/211backup/yang2000/Develop/target_dvevm/
> --exec-prefix=/home/yang2000/211backup/yang2000/Develop/target_dvevm/usr/lib
> --host=arm-linux
> --libdir=/home/yang2000/211backup/yang2000/Develop/target_dvevm/usr/lib
> 
> Do you have any idea?
> Thank you in advance!

Hi!

We have passed LDFLAGS for libftdi configure instead of --libdir (e.g.
LDFLAGS=-L<your_target_dir>/lib). Maybe that could help?

BR,

Teemu

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread