Hi all, I have some problem compiling openocd Git.
I did this git clone git://openocd.git.sourceforge.net/gitroot/openocd/openocd ./bootstrap $ ./configure --enable-maintainer-mode --enable-ft2232_libftdi --disable-shared CC="gcc -mno-cygwin" CFLAGS="-O2 -Wall -I/usr/local/include" LDFLAGS="-L/usr/l ocal/lib" --disable-werror --enable-stlink Make Normally I don't need to do anything else than that. No I got this error =========================================== make all-recursive make[1]: Entering directory `/home/openocd' Making all in jimtcl make[2]: Entering directory `/home/openocd/jimtcl' /home/openocd/jimtcl/.././jimtcl/autosetup/jimsh0 ./make-load-static-exts.tcl ai o array clock eventloop exec file package readdir regexp glob stdlib tclcompat > _load-static-exts.c || ( rm _load-static-exts.c; exit 1) gcc -mno-cygwin -O2 -Wall -I/usr/local/include -D_GNU_SOURCE -Wall -I. -c -o _ load-static-exts.o _load-static-exts.c gcc -mno-cygwin -O2 -Wall -I/usr/local/include -D_GNU_SOURCE -Wall -I. -c -o j im-subcmd.o jim-subcmd.c In file included from jim-subcmd.c:5: jimautoconf.h:53:1: warning: "TCL_PLATFORM_OS" redefined In file included from jim-subcmd.h:7, from jim-subcmd.c:4: /usr/local/include/jim.h:180:1: warning: this is the location of the previous de finition In file included from jim-subcmd.c:5: jimautoconf.h:55:1: warning: "TCL_PLATFORM_PLATFORM" redefined In file included from jim-subcmd.h:7, from jim-subcmd.c:4: /usr/local/include/jim.h:183:1: warning: this is the location of the previous de finition jim-subcmd.c: In function `bad_subcmd': jim-subcmd.c:41: warning: implicit declaration of function `Jim_String' jim-subcmd.c: In function `Jim_ParseSubCmd': jim-subcmd.c:100: warning: assignment makes pointer from integer without a cast gcc -mno-cygwin -O2 -Wall -I/usr/local/include -D_GNU_SOURCE -Wall -I. -c -o j im-interactive.o jim-interactive.c gcc -mno-cygwin -O2 -Wall -I/usr/local/include -D_GNU_SOURCE -Wall -I. -c -o j im-format.o jim-format.c gcc -mno-cygwin -O2 -Wall -I/usr/local/include -D_GNU_SOURCE -Wall -I. -c -o j im.o jim.c gcc -mno-cygwin -O2 -Wall -I/usr/local/include -D_GNU_SOURCE -Wall -I. -c -o u tf8.o utf8.c gcc -mno-cygwin -O2 -Wall -I/usr/local/include -D_GNU_SOURCE -Wall -I. -c -o j imregexp.o jimregexp.c gcc -mno-cygwin -O2 -Wall -I/usr/local/include -D_GNU_SOURCE -Wall -I. -c -o j im-win32compat.o jim-win32compat.c jim-win32compat.c:24: error: conflicting types for 'dlerror' /usr/local/include/jim-win32compat.h:26: error: previous declaration of 'dlerror ' was here jim-win32compat.c:24: error: conflicting types for 'dlerror' /usr/local/include/jim-win32compat.h:26: error: previous declaration of 'dlerror ' was here make[2]: *** [jim-win32compat.o] Error 1 make[2]: Leaving directory `/home/openocd/jimtcl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/openocd' make: *** [all] Error 2 ========================================== What I missed ?? Regards Jonathan ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel