2009/5/19 Raúl Sánchez Siles <[email protected]>: > Looks like the problem is on ioutils. I don't know what exactly they are and > if you really need them, but if you don't need it try configuring without > specifying the --enable-ioutil flag. ok I have disabled httpd and ioutin and I added --disable-werror
So the configure command line is $ ./configure --prefix=/opt/openocd --enable-httpd --enable-ft2232_ftd2xx --with-ftd2xx-lib=static --with-ftd2xx-linux-tardir=~/download/openocd/libftd2xx0.4.16_x86_64 --enable-jlink --enable-rlink --enable-arm-jtag-ew --disable-werror Now all files are compiled but I have an error in linking: libtool: link: gcc -std=gnu99 -g -O2 -I/opt/openocd/include -I~/download/openocd/libftd2xx0.4.16_x86_64 -Wall -Wstrict-prototypes -Wformat-security -Wextra -Wno-unused-parameter -Wbad-function-cast -Wcast-align -Wredundant-decls -Wl,-rpath -Wl,/opt/openocd/lib -o .libs/openocd main.o ~/download/openocd/libftd2xx0.4.16_x86_64/static_lib/libftd2xx.a.0.4.16 -L/opt/openocd/lib ./.libs/libopenocd.so /usr/lib/libusb.so -ldl -lpthread -Wl,-rpath -Wl,/opt/openocd/lib ./.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' collect2: ld returned 1 exit status Where I am wrong? I wonder if I can use opensource ftdi driver ftdi2232 or since I use amontec jtagkey I need to use libftd2xx (but I wonder if exist 64bit version) > BTW, make sure you run bootstrap prior to configure. Yes I run ./bootstrap before ./configure thanks -- Assioma di Cole: "La somma dell'intelligenza sulla Terra è costante; la popolazione è in aumento" Massimiliano Cialdi [email protected] [email protected] _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
