You are not logged in.

#1 2012-04-17 19:27:17

BluntObjectNo4
Member
Registered: 2012-01-23
Posts: 8

[SOLVED] make lib32 on x86_64 error: "skipping incompatible"

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

#2 2012-04-18 09:37:17

teekay
Member
Registered: 2011-10-26
Posts: 271

Re: [SOLVED] make lib32 on x86_64 error: "skipping incompatible"

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

#3 2012-04-19 07:46:50

BluntObjectNo4
Member
Registered: 2012-01-23
Posts: 8

Re: [SOLVED] make lib32 on x86_64 error: "skipping incompatible"

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 wink tongue

Offline

#4 2012-04-19 08:07:40

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED] make lib32 on x86_64 error: "skipping incompatible"

Good to hear you've got it working.

Don't forget to mark your thread as [SOLVED].


Burninate!

Offline

#5 2012-04-20 06:03:20

BluntObjectNo4
Member
Registered: 2012-01-23
Posts: 8

Re: [SOLVED] make lib32 on x86_64 error: "skipping incompatible"

@Gcool: Thanks for reminding smile

Last edited by BluntObjectNo4 (2012-04-20 06:03:36)

Offline

#6 2013-04-24 08:36:47

Murphy
Member
Registered: 2013-04-24
Posts: 1

Re: [SOLVED] make lib32 on x86_64 error: "skipping incompatible"

Hello ,after I installed lib32-libftdi it still have the same question,what should I do?

Offline

Board footer

Powered by FluxBB