1/1

|
problem when installing debug proxy
by avamsi on Apr 23, 2012 |
avamsi
Posts: 54 Joined: Apr 16, 2012 Last seen: Jul 30, 2014 |
||
|
hi,
this is log I am going when building the debug proxy, avamsi@avamsi01:~/or_debug_proxy$ make static rm -f or_debug_proxy rm -f or_debug_proxy_static find ./ -name "*~" | xargs rm -f g++ -I./includes -O2 -g -D USB_ENDPOINT_ENABLED=1 src/or_debug_proxy.c src/gdb.c src/FT2232c.cpp src/FT2232cMpsseJtag.cpp src/usb_functions.c src/linux_usb_driver_calls.c lib/libftd2xx.a.0.4.16 lib/libftd2xx.a.0.4.16 -lrt -lpthread -ldl -o or_debug_proxy_static /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(ftd2xx.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(Event.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(usb_control.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(bulk_in.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(ftee2232.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(ftee232.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(ftee232r.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(serialno.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(ftee2232h.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(ftee4232h.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(usb.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(linux.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(error.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(descriptors.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(baud.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(fte2data.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(eedata.o)' is incompatible with i386:x86-64 output lib/libftd2xx.a.0.4.16(serialno.o): In function `i64toa': /home/amiller/Desktop/Linux_D2XX/eeprom/serialno.c:48: undefined reference to `__moddi3' /home/amiller/Desktop/Linux_D2XX/eeprom/serialno.c:49: undefined reference to `__divdi3' collect2: ld returned 1 exit status make: *** [or_debug_proxy_static] Error 1 we are working on ubuntu10.4 64 bit OS. Is the 64bit is the problem. Than can you give the path from where I can get 64bit compatible USB driver. Thanks, A.Vamsi |
|||
|
RE: problem when installing debug proxy
by svenand on Apr 23, 2012 |
svenand
Posts: 31 Joined: May 12, 2009 Last seen: May 14, 2014 |
||
|
Here is a description on how I installed debug_proxy in Ubuntu 10.04 64bit.
http://www.rte.se/blog/blogg-modesty-corex/debugging-openrisc-1200 You have to download the 64bit version of the ftd2xx library. Sven |
|||
|
RE: problem when installing debug proxy
by avamsi on Apr 23, 2012 |
avamsi
Posts: 54 Joined: Apr 16, 2012 Last seen: Jul 30, 2014 |
||
|
Hi,
Thank you for your reply. I downloaded the 64bit version driver from the link that you sent. Still the problem is there. Below is the error that I am facing. My PC configuration is 64-bit AMD processor and 64-bit Ubuntu10.04. Please look into the error log and point out where the problem comes.Is it require some more libraries ?. avamsi@avamsi01:~/or_debug_proxy$ cp libftd2xx0.4.16/static_lib/libftd2xx.a.0.4.16 lib/ avamsi@avamsi01:~/or_debug_proxy$ make static rm -f or_debug_proxy rm -f or_debug_proxy_static find ./ -name "*~" | xargs rm -f g++ -I./includes -O2 -g -D USB_ENDPOINT_ENABLED=1 src/or_debug_proxy.c src/gdb.c src/FT2232c.cpp src/FT2232cMpsseJtag.cpp src/usb_functions.c src/linux_usb_driver_calls.c lib/libftd2xx.a.0.4.16 lib/libftd2xx.a.0.4.16 -lrt -lpthread -ldl -o or_debug_proxy_static /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(ftd2xx.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(Event.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(usb_control.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(bulk_in.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(ftee2232.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(ftee232.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(ftee232r.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(serialno.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(ftee2232h.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(ftee4232h.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(usb.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(linux.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(error.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(descriptors.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(baud.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(fte2data.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libftd2xx.a.0.4.16(eedata.o)' is incompatible with i386:x86-64 output lib/libftd2xx.a.0.4.16(serialno.o): In function `i64toa': /home/amiller/Desktop/Linux_D2XX/eeprom/serialno.c:48: undefined reference to `__moddi3' /home/amiller/Desktop/Linux_D2XX/eeprom/serialno.c:49: undefined reference to `__divdi3' collect2: ld returned 1 exit status make: *** [or_debug_proxy_static] Error 1 avamsi@avamsi01:~/or_debug_proxy$ thanks, A.vamsi |
|||
1/1

