On Mon, Jun 14, 2010 at 2:41 PM, Snowel Xue <snowwei...@sohu.com> wrote: > Unfortunately, I get same fail information after try commands manaully.
It is not easy to get MinGW setup right. I have not used UrJtag. But Cygwin seems to be okay. With latest git and Cygwin, the configure process seems to be okay. mc...@acerpc ~/mcu/urjtag/urjtag/urjtag $ ./autogen.sh autoreconf-2.65: Entering directory `.' autoreconf-2.65: running: autopoint --force Copying file ABOUT-NLS Copying file tools/config.rpath Creating directory m4 Copying file m4/codeset.m4 Copying file m4/gettext.m4 Copying file m4/glibc21.m4 Copying file m4/iconv.m4 Copying file m4/intdiv0.m4 Copying file m4/intmax.m4 Copying file m4/inttypes-pri.m4 Copying file m4/inttypes.m4 Copying file m4/inttypes_h.m4 Copying file m4/isc-posix.m4 Copying file m4/lcmessage.m4 Copying file m4/lib-ld.m4 Copying file m4/lib-link.m4 Copying file m4/lib-prefix.m4 Copying file m4/longdouble.m4 Copying file m4/longlong.m4 Copying file m4/nls.m4 Copying file m4/po.m4 Copying file m4/printf-posix.m4 Copying file m4/progtest.m4 Copying file m4/signed.m4 Copying file m4/size_max.m4 Copying file m4/stdint_h.m4 Copying file m4/uintmax_t.m4 Copying file m4/ulonglong.m4 Copying file m4/wchar_t.m4 Copying file m4/wint_t.m4 Copying file m4/xsize.m4 Copying file tools/mkinstalldirs Copying file po/Makefile.in.in Copying file po/Makevars.template Copying file po/Rules-quot Copying file po/boldquot.sed Copying file po/e...@boldquot.header Copying file po/e...@quot.header Copying file po/insert-header.sin Copying file po/quot.sed Copying file po/remove-potcdate.sin autoreconf-2.65: running: aclocal --force -I m4 autoreconf-2.65: configure.ac: tracing autoreconf-2.65: running: libtoolize --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `tools'. libtoolize: linking file `tools/ltmain.sh' libtoolize: putting macros in `m4'. libtoolize: linking file `m4/libtool.m4' libtoolize: linking file `m4/ltoptions.m4' libtoolize: linking file `m4/ltsugar.m4' libtoolize: linking file `m4/ltversion.m4' libtoolize: linking file `m4/lt~obsolete.m4' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. autoreconf-2.65: running: /usr/bin/autoconf-2.65 --force autoreconf-2.65: running: /usr/bin/autoheader-2.65 --force autoreconf-2.65: running: automake --add-missing --force-missing configure.ac:95: installing `tools/config.guess' configure.ac:95: installing `tools/config.sub' configure.ac:59: installing `tools/install-sh' configure.ac:59: installing `tools/missing' src/apps/bsdl2jtag/Makefile.am: installing `tools/depcomp' configure.ac: installing `tools/ylwrap' Makefile.am: installing `./INSTALL' autoreconf-2.65: Leaving directory `.' autoreconf done. checking code revision... from git-svn log: 1783 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.exe checking for suffix of executables... .exe checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking for ld used by GCC... /usr/i686-pc-cygwin/bin/ld.exe checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes checking for shared library run path origin... done checking whether NLS is requested... yes checking for GNU gettext in libc... no checking for iconv... yes checking how to link with libiconv... -liconv checking for GNU gettext in libintl... yes checking whether to use NLS... yes checking where the gettext function comes from... external libintl checking how to link with libintl... -lintl checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for bison... bison -y checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/i686-pc-cygwin/bin/ld.exe checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 8192 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i686-pc-cygwin paths to i686-pc-cygwin format... func_no op_path_convert checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... file_magic ^x86 archive import| ^x86 DLL checking for dlltool... dlltool checking how to associate runtime and link libraries... func_cygming_dll_for_imp lib checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for gcc option to accept ISO C99... -std=gnu99 checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for library containing ioperm... -lioperm checking for nanosleep... yes checking for swprintf... yes checking for usleep... yes checking for clock_gettime... yes checking linux/ppdev.h usability... no checking linux/ppdev.h presence... no checking for linux/ppdev.h... no checking dev/ppbus/ppi.h usability... no checking dev/ppbus/ppi.h presence... no checking for dev/ppbus/ppi.h... no checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for a readline compatible library... -lreadline checking readline.h usability... no checking readline.h presence... no checking for readline.h... no checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking whether readline supports history... yes checking history.h usability... no checking history.h presence... no checking for history.h... no checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes checking whether readline supports completion... yes checking for LIBUSB... no checking for libusb-config... /usr/bin/libusb-config checking for usb_find_devices... yes checking for LIBFTDI... yes checking for ftdi_usb_open... yes checking for ftdi_read_data_submit... no checking for FT_OpenEx in -lftd2xx... no configure: WARNING: *** libftd2xx not found. No support for FTDI-based USB JTAG cables via libftd2xx. checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for gawk... (cached) gawk checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for flex >= 2.5.33, required for SVF and BSDL lexer... yes - flex 2.5.3 5 checking for fmax in -lm... yes configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating data/Makefile config.status: creating include/urjtag/Makefile config.status: creating src/Makefile config.status: creating src/urjtag.pc config.status: creating src/lib/Makefile config.status: creating src/tap/Makefile config.status: creating src/part/Makefile config.status: creating src/bus/Makefile config.status: creating src/flash/Makefile config.status: creating src/cmd/Makefile config.status: creating src/svf/Makefile config.status: creating src/bsdl/Makefile config.status: creating src/jim/Makefile config.status: creating src/global/Makefile config.status: creating src/apps/jtag/Makefile config.status: creating src/apps/bsdl2jtag/Makefile config.status: creating src/bfin/Makefile config.status: creating po/Makefile.in config.status: WARNING: 'po/Makefile.in.in' seems to ignore the --datarootdir s etting config.status: creating config.h config.status: creating include/urjtag/urjtag.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing libtool commands configure: jtag is now configured for Detected libusb : 0.1 Detected libftdi : yes (no async mode) Detected libftd2xx : no Detected inpout32 : no Build SVF player : yes Build BSDL subsystem : yes Bus drivers : arm9tdmi au1500 avr32 bcm1250 bf518f_ezbrd bf51x bf526_ ezkit bf527_ezkit bf52x bf533_stamp bf533_ezkit bf537_stamp bf537_ezkit bf538f_e zkit bf53x bf548_ezkit bf561_ezkit bscoach ejtag ejtag_dma fjmem ixp425 ixp435 i xp465 jopcyc h7202 lh7a400 mpc5200 mpc824x mpc837x ppc405ep ppc440gx_ebc8 protot ype pxa2x0 pxa27x s3c4510 sa1110 sh7727 sh7750r sh7751r sharc_21065L sharc_21369 _ezkit slsup3 tx4925 zefant_xs3 Cable drivers : arcom byteblaster dlc5 ea253 ei012 ft2232 igloo jlink k eithkoep lattice mpcbdm triton usbblaster wiggler xpc Lowlevel drivers : direct ftdi The build process failed though. mc...@acerpc ~/mcu/urjtag/urjtag/urjtag $ make make all-recursive make[1]: Entering directory `/home/mcuee/mcu/urjtag/urjtag/urjtag' Making all in doc make[2]: Entering directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/doc' Making all in include/urjtag make[2]: Entering directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/include/urjtag ' make all-am make[3]: Entering directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/include/urjtag ' make[3]: Leaving directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/include/urjtag' make[2]: Leaving directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/include/urjtag' Making all in data make[2]: Entering directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/data' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/data' Making all in src make[2]: Entering directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/src' Making all in flash make[3]: Entering directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/src/flash' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/src/flash' Making all in lib make[3]: Entering directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/src/lib' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/src/lib' Making all in tap make[3]: Entering directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/src/tap' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/src/tap' Making all in part make[3]: Entering directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/src/part' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/src/part' Making all in bfin make[3]: Entering directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/src/bfin' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/src/bfin' Making all in bus make[3]: Entering directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/src/bus' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/src/bus' Making all in cmd make[3]: Entering directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/src/cmd' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/src/cmd' Making all in global make[3]: Entering directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/src/global' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/src/global' Making all in svf make[3]: Entering directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/src/svf' CC svf.lo In file included from svf.c:56: svf_bison.h:72: error: parse error before '=' token In file included from svf.c:56: svf_bison.h:133:1: warning: "IN" redefined In file included from /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32a pi/rpc.h:40, from /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32a pi/windows.h:82, from ../../sysdep.h:47, from svf.c:29: /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/rpcdce.h:13:1: warn ing: this is the location of the previous definition In file included from svf.c:56: svf_bison.h:134:1: warning: "OUT" redefined In file included from /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32a pi/rpc.h:40, from /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32a pi/windows.h:82, from ../../sysdep.h:47, from svf.c:29: /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/rpcdce.h:14:1: warn ing: this is the location of the previous definition make[3]: *** [svf.lo] Error 1 make[3]: Leaving directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/src/svf' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/mcuee/mcu/urjtag/urjtag/urjtag/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/mcuee/mcu/urjtag/urjtag/urjtag' make: *** [all] Error 2 -- Xiaofan http://mcuee.blogspot.com ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ UrJTAG-development mailing list UrJTAG-development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/urjtag-development