Gregg Levine
2012-10-22 02:36:07 UTC
Hello!
I've downloaded the source code from the site, and the object code
only library from the FTDI site, and installed it, and of course
extracted the source code. After bootstrapping the configure script so
that it knows where to find the OCO library I execute it. And run the
make command expecting nothing to go wrong. It did. This is what
happens:
Script started on Sun 21 Oct 2012 10:29:10 PM EDT
***@rsl_spock:/usr/local/urjtag/urjtag-0.10# make
make all-recursive
make[1]: Entering directory `/usr/local/urjtag/urjtag-0.10'
Making all in doc
make[2]: Entering directory `/usr/local/urjtag/urjtag-0.10/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/urjtag/urjtag-0.10/doc'
Making all in include
make[2]: Entering directory `/usr/local/urjtag/urjtag-0.10/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/urjtag/urjtag-0.10/include'
Making all in data
make[2]: Entering directory `/usr/local/urjtag/urjtag-0.10/data'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/urjtag/urjtag-0.10/data'
Making all in src
make[2]: Entering directory `/usr/local/urjtag/urjtag-0.10/src'
Making all in flash
make[3]: Entering directory `/usr/local/urjtag/urjtag-0.10/src/flash'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/urjtag/urjtag-0.10/src/flash'
Making all in lib
make[3]: Entering directory `/usr/local/urjtag/urjtag-0.10/src/lib'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/urjtag/urjtag-0.10/src/lib'
Making all in tap
make[3]: Entering directory `/usr/local/urjtag/urjtag-0.10/src/tap'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/urjtag/urjtag-0.10/src/tap'
Making all in part
make[3]: Entering directory `/usr/local/urjtag/urjtag-0.10/src/part'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/urjtag/urjtag-0.10/src/part'
Making all in bus
make[3]: Entering directory `/usr/local/urjtag/urjtag-0.10/src/bus'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/urjtag/urjtag-0.10/src/bus'
Making all in cmd
make[3]: Entering directory `/usr/local/urjtag/urjtag-0.10/src/cmd'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/urjtag/urjtag-0.10/src/cmd'
Making all in svf
make[3]: Entering directory `/usr/local/urjtag/urjtag-0.10/src/svf'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/urjtag/urjtag-0.10/src/svf'
Making all in bsdl
make[3]: Entering directory `/usr/local/urjtag/urjtag-0.10/src/bsdl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/urjtag/urjtag-0.10/src/bsdl'
make[3]: Entering directory `/usr/local/urjtag/urjtag-0.10/src'
gcc -g -O2 -I/usr/lib/libftd2xx -L/usr/lib/libftd2xx -Wall -o jtag
jtag.o -Lcmd -lcmd -Ltap -ltap -Lpart -lpart -Llib -ljtaglib -Lflash
-lflash -Ltap -ltap -Lflash -lflash -Lbus -lbus -lm -Lsvf -lsvf -Lbsdl
-lbsdl -lftd2xx -L/usr/lib -lftdi -L/usr/lib -lusb -lrt -lreadline
-ltermcap -L/usr/lib -lusb
/usr/lib/libftd2xx/libftd2xx.a(ftd2xx.o): In function `InitCheckDevice':
ftd2xx.c:(.text+0x315): undefined reference to `dlopen'
ftd2xx.c:(.text+0x33b): undefined reference to `dlopen'
ftd2xx.c:(.text+0x378): undefined reference to `dlsym'
ftd2xx.c:(.text+0x383): undefined reference to `dlerror'
/usr/lib/libftd2xx/libftd2xx.a(ftd2xx.o): In function `my_init':
ftd2xx.c:(.text+0x44c): undefined reference to `dlclose'
/usr/lib/libftd2xx/libftd2xx.a(ftd2xx.o): In function `DeviceMatch':
ftd2xx.c:(.text+0x537): undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[3]: *** [jtag] Error 1
make[3]: Leaving directory `/usr/local/urjtag/urjtag-0.10/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/urjtag/urjtag-0.10/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/urjtag/urjtag-0.10'
make: *** [all] Error 2
***@rsl_spock:/usr/local/urjtag/urjtag-0.10# exit
exit
Script done on Sun 21 Oct 2012 10:29:18 PM EDT
Not surprisingly when asking Google to help find the library it
brought up an earlier discussion on this list concerning that dratted
library.
-----
Gregg C Levine ***@gmail.com
"This signature fought the Time Wars, time and again."
I've downloaded the source code from the site, and the object code
only library from the FTDI site, and installed it, and of course
extracted the source code. After bootstrapping the configure script so
that it knows where to find the OCO library I execute it. And run the
make command expecting nothing to go wrong. It did. This is what
happens:
Script started on Sun 21 Oct 2012 10:29:10 PM EDT
***@rsl_spock:/usr/local/urjtag/urjtag-0.10# make
make all-recursive
make[1]: Entering directory `/usr/local/urjtag/urjtag-0.10'
Making all in doc
make[2]: Entering directory `/usr/local/urjtag/urjtag-0.10/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/urjtag/urjtag-0.10/doc'
Making all in include
make[2]: Entering directory `/usr/local/urjtag/urjtag-0.10/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/urjtag/urjtag-0.10/include'
Making all in data
make[2]: Entering directory `/usr/local/urjtag/urjtag-0.10/data'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/urjtag/urjtag-0.10/data'
Making all in src
make[2]: Entering directory `/usr/local/urjtag/urjtag-0.10/src'
Making all in flash
make[3]: Entering directory `/usr/local/urjtag/urjtag-0.10/src/flash'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/urjtag/urjtag-0.10/src/flash'
Making all in lib
make[3]: Entering directory `/usr/local/urjtag/urjtag-0.10/src/lib'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/urjtag/urjtag-0.10/src/lib'
Making all in tap
make[3]: Entering directory `/usr/local/urjtag/urjtag-0.10/src/tap'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/urjtag/urjtag-0.10/src/tap'
Making all in part
make[3]: Entering directory `/usr/local/urjtag/urjtag-0.10/src/part'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/urjtag/urjtag-0.10/src/part'
Making all in bus
make[3]: Entering directory `/usr/local/urjtag/urjtag-0.10/src/bus'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/urjtag/urjtag-0.10/src/bus'
Making all in cmd
make[3]: Entering directory `/usr/local/urjtag/urjtag-0.10/src/cmd'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/urjtag/urjtag-0.10/src/cmd'
Making all in svf
make[3]: Entering directory `/usr/local/urjtag/urjtag-0.10/src/svf'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/urjtag/urjtag-0.10/src/svf'
Making all in bsdl
make[3]: Entering directory `/usr/local/urjtag/urjtag-0.10/src/bsdl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/urjtag/urjtag-0.10/src/bsdl'
make[3]: Entering directory `/usr/local/urjtag/urjtag-0.10/src'
gcc -g -O2 -I/usr/lib/libftd2xx -L/usr/lib/libftd2xx -Wall -o jtag
jtag.o -Lcmd -lcmd -Ltap -ltap -Lpart -lpart -Llib -ljtaglib -Lflash
-lflash -Ltap -ltap -Lflash -lflash -Lbus -lbus -lm -Lsvf -lsvf -Lbsdl
-lbsdl -lftd2xx -L/usr/lib -lftdi -L/usr/lib -lusb -lrt -lreadline
-ltermcap -L/usr/lib -lusb
/usr/lib/libftd2xx/libftd2xx.a(ftd2xx.o): In function `InitCheckDevice':
ftd2xx.c:(.text+0x315): undefined reference to `dlopen'
ftd2xx.c:(.text+0x33b): undefined reference to `dlopen'
ftd2xx.c:(.text+0x378): undefined reference to `dlsym'
ftd2xx.c:(.text+0x383): undefined reference to `dlerror'
/usr/lib/libftd2xx/libftd2xx.a(ftd2xx.o): In function `my_init':
ftd2xx.c:(.text+0x44c): undefined reference to `dlclose'
/usr/lib/libftd2xx/libftd2xx.a(ftd2xx.o): In function `DeviceMatch':
ftd2xx.c:(.text+0x537): undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[3]: *** [jtag] Error 1
make[3]: Leaving directory `/usr/local/urjtag/urjtag-0.10/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/urjtag/urjtag-0.10/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/urjtag/urjtag-0.10'
make: *** [all] Error 2
***@rsl_spock:/usr/local/urjtag/urjtag-0.10# exit
exit
Script done on Sun 21 Oct 2012 10:29:18 PM EDT
Not surprisingly when asking Google to help find the library it
brought up an earlier discussion on this list concerning that dratted
library.
-----
Gregg C Levine ***@gmail.com
"This signature fought the Time Wars, time and again."