You are not logged in.
Hello Arch people,
I have a problem while trying to compile the xilinx USB cable driver (http://www.rmdir.de/~michael/xilinx/) for 32bit on my 64bit system. Although I do: make lib32 it seems to access the 64bit .so's, thus saying those are incompatible:
$ make lib32
make LIBVER=32 clean all
make[1]: Entering directory `/home/my_home/Xilinx/usb-driver-HEAD-2d19c7c'
rm -f libusb-driver.so libusb-driver-DEBUG.so
cc -Wall -fPIC -DUSB_DRIVER_VERSION="\"2011-12-12 16:47:45\"" -m32 -DJTAGKEY usb-driver.c xpcu.c parport.c config.c jtagmon.c jtagkey.c -o libusb-driver.so -ldl -lusb -lpthread -L/usr/lib -lftdi -L/usr/lib -lusb -shared
parport.c: In function ‘parport_transfer’:
parport.c:21:23: warning: variable ‘last_pp_write’ set but not used [-Wunused-but-set-variable]
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libdl.a when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libdl.a when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libusb.so when searching for -lusb
/usr/bin/ld: skipping incompatible /usr/lib/libusb.a when searching for -lusb
/usr/bin/ld: skipping incompatible /usr/lib/libusb.so when searching for -lusb
/usr/bin/ld: skipping incompatible /usr/lib/libusb.a when searching for -lusb
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../libusb.so when searching for -lusb
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../libusb.a when searching for -lusb
/usr/bin/ld: skipping incompatible /usr/lib/libusb.so when searching for -lusb
/usr/bin/ld: skipping incompatible /usr/lib/libusb.a when searching for -lusb
/usr/bin/ld: cannot find -lusb
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
collect2: error: ld returned 1 exit status
make[1]: *** [libusb-driver.so] Error 1
make[1]: Leaving directory `/home/simon/Apps/Xilinx/usb-driver-HEAD-2d19c7c'
make: *** [lib32] Error 2
I googled for this problem, but couldn't find a solution.
When I just type $ make and build for 64bit it works, but the 64bit version of the Xilinx ISE won't start...
Thank you for any comments!
Last edited by BluntObjectNo4 (2012-04-20 06:02:42)
Offline
Do you have the matching lib32-* packages installed?
Looking at the output of make, you need:
* lib32-libusb-compat (or lib32-libusb, depends on the x86_64 version you have, I have only libusb-compat) --> from AUR
* lib32-glibc --> from multilib
Offline
Thank you teekay. I had installed lib32-libusb, but had overlooked lib32-libusb-compat. After installing lib32-libusb-compat it still didn't work, but I realized that the error message had slightly changed. In addition to the error above, it could not find libftdi. After installing lib32-libftdi it finally worked!!
Thanks again. I'm very happy I can use the Xilinx webpack 13.4 on Linux now. Every time I boot Win7 I die a little on the inside
Offline
Good to hear you've got it working.
Don't forget to mark your thread as [SOLVED].
Burninate!
Offline
@Gcool: Thanks for reminding
Last edited by BluntObjectNo4 (2012-04-20 06:03:36)
Offline
Hello ,after I installed lib32-libftdi it still have the same question,what should I do?
Offline