On Mon, Oct 22, 2012 at 1:37 AM, Mike Frysinger <vap...@gentoo.org> wrote: > On Sunday 21 October 2012 22:36:07 Gregg Levine wrote: >> 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 > > add -ldl to the end of this link line > -mike
Hello! Mike I stuck it there, and now this happens: 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 I am seriously considering doing it all over again without the references to both the OCO library and the settings that would probably need it, especially since the folks at FTDI actually name the open source one directly. ----- Gregg C Levine gregg.drw...@gmail.com "This signature fought the Time Wars, time and again." ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ UrJTAG-development mailing list UrJTAG-development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/urjtag-development