On Fri, 2009-05-29 at 11:01 +0300, Vytautas Lukenskas wrote: > On Friday 29 May 2009 10:31:25 massimiliano cialdi wrote: > > but make stops whit an error: > > libtool: link: gcc -std=gnu99 -g -O2 > > -I/home/POWERSOFT/massimiliano/download/openocd/libftd2xx0.4.16_x86_64 > > -Wall -Wstrict-prototypes -Wformat-security -Wextra > > -Wno-unused-parameter -Wbad-function-cast -Wcast-align > > -Wredundant-decls -o .libs/openocd main.o > > /home/POWERSOFT/massimiliano/download/openocd/libftd2xx0.4.16_x86_64/static > >_lib/libftd2xx.a.0.4.16 ./.libs/libopenocd.so -ldl -lpthread > > ./.libs/libopenocd.so: undefined reference to `FT_GetLatencyTimer' > > ./.libs/libopenocd.so: undefined reference to `FT_Close' > > ./.libs/libopenocd.so: undefined reference to `FT_SetBitMode' > > ./.libs/libopenocd.so: undefined reference to `FT_OpenEx' > > ./.libs/libopenocd.so: undefined reference to `FT_Read' > > ./.libs/libopenocd.so: undefined reference to `FT_SetTimeouts' > > ./.libs/libopenocd.so: undefined reference to `FT_SetVIDPID' > > ./.libs/libopenocd.so: undefined reference to `FT_Write' > > ./.libs/libopenocd.so: undefined reference to `FT_SetLatencyTimer' > > ./.libs/libopenocd.so: undefined reference to `FT_ListDevices' > > ./.libs/libopenocd.so: undefined reference to `FT_Purge' > > bye > > Hi, > Take a look at > https://lists.berlios.de/pipermail/openocd-development/2009-May/007252.html > > It's a pity, it is still not fixed.
Does the attached patch solve this problem? Cheers, Zach
Index: configure.in =================================================================== --- configure.in (revision 1942) +++ configure.in (working copy) @@ -6,7 +6,6 @@ AC_CANONICAL_HOST AC_SEARCH_LIBS([ioperm], [ioperm]) -AC_SEARCH_LIBS([dlopen], [dl]) AC_CHECK_HEADERS(arpa/inet.h) AC_CHECK_HEADERS(elf.h) @@ -705,6 +704,8 @@ fi fi +AC_SEARCH_LIBS([dlopen], [dl]) + if test $build_ft2232_ftd2xx = yes -o $build_presto_ftd2xx = yes; then # Before we go any further - make sure we can *BUILD* and *RUN*
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development