• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: driver FTDCHIP  (Read 2094 times)
hotwater
Newbie
*

Karma: 0
Posts: 1


View Profile
« on: September 21, 2010, 11:55:25 PM »

I need FTDCHIP library in order to compile a soft.
I download the driver on http://www.ftdichip.com/Drivers/D2XX.htm

but i have an error with compilation:
Code:
# gcc -o bitmode -L. -lftd2xx -Wl,-rpath /usr/local/lib main.c
/usr/bin/ld: skipping incompatible /usr/lib/gcc/arm-linux-gnueabi/4.3.3/../../../libftd2xx.so when searching for -lftd2xx
/usr/bin/ld: skipping incompatible /usr/local/lib/libftd2xx.so when searching for -lftd2xx
/usr/bin/ld: skipping incompatible /usr/lib/libftd2xx.so when searching for -lftd2xx
/usr/bin/ld: cannot find -lftd2xx
collect2: ld returned 1 exit status
make: *** [bitmode] Error 1

thanks
Logged

bdewacht
Newbie
*

Karma: 0
Posts: 10


View Profile
« Reply #1 on: October 15, 2010, 06:05:58 PM »

Are you using the correct "gcc" ? Make sure it is the cross-compiler gcc you are using, because the error seems like you are mixing i386 binaries with arm binaries.
Logged

Pages: [1]
Print
Jump to: