Hello...
I was here trying to connect my old Digilent Basys2 Spartan-3E (250k gates) but I'm having trouble setting up the USB cable.
When I installed Xilinx ISE, I unchecked the "Install USB drivers" as recommended because looks like it doesn't work.
Then I tried to follow this steps
here and
here but I?m getting an error when I issue the following command:
make lib32
or even
sudo make lib32
This is the error:
make LIBVER=32 clean all
make[1]: Entering directory '/media/Storage/Software/Linux/Xilinx_ISE/usb-driver'
rm -f libusb-driver.so libusb-driver-DEBUG.so
cc -Wall -fPIC -DUSB_DRIVER_VERSION="\"2016-09-25 23:23:24\"" -m32 -DJTAGKEY usb-driver.c xpcu.c parport.c config.c jtagmon.c jtagkey.c -o libusb-driver.so -ldl -lusb -lpthread -L/usr/local/lib -lftdi -L/usr/lib/x86_64-linux-gnu -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]
static unsigned char last_pp_write = 0;
^
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libdl.a when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libusb.so when searching for -lusb
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libusb.a when searching for -lusb
/usr/bin/ld: cannot find -lusb
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libpthread.a when searching for -lpthread
collect2: error: ld returned 1 exit status
Makefile:29: recipe for target 'libusb-driver.so' failed
make[1]: *** [libusb-driver.so] Error 1
make[1]: Leaving directory '/media/Storage/Software/Linux/Xilinx_ISE/usb-driver'
Makefile:35: recipe for target 'lib32' failed
make: *** [lib32] Error 2
This probably means that I'm missing 32 bit versions of libusb or something like that but I don't know the names of this 32 bit version of this lib...
Can anyone help me? I'm using Debian Jessie 64bit!
Thanks