这是我编openOCD时候出现的问题,现在经过使用可以进行openOCD的config了。着急用不想看内容的朋友可以直接看红字部分,按上下文逐一键入红字内容就可以了。黑字的内容为我工作过程,有我的出错信息。
elta@elta:openOCD$ autoconf
configure.ac:8: error: possibly undefined macro: AM_INIT_AUTOMAKEIf this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:9: error: possibly undefined macro: AM_MAINTAINER_MODE
configure.ac:21: error: possibly undefined macro: AM_PROG_CC_C_O
configure.ac:28: error: possibly undefined macro: AC_DISABLE_SHARED
configure.ac:29: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.ac:1201: error: possibly undefined macro: AM_CONDITIONAL
elta@elta:openOCD$
elta@elta:openOCD$
elta@elta:openOCD$ aclocal
elta@elta:openOCD$
elta@elta:openOCD$
elta@elta:openOCD$ autoconf
elta@elta:openOCD$ automake
configure.ac:21: required file `./compile' not found
configure.ac:21: `automake --add-missing' can install `compile'
configure.ac:29: required file `./config.guess' not found
configure.ac:29: `automake --add-missing' can install `config.guess'
configure.ac:29: required file `./config.sub' not found
configure.ac:29: `automake --add-missing' can install `config.sub'
configure.ac:8: required file `./install-sh' not found
configure.ac:8: `automake --add-missing' can install `install-sh'
configure.ac:29: required file `./ltmain.sh' not found
configure.ac:8: required file `./missing' not found
configure.ac:8: `automake --add-missing' can install `missing'
doc/Makefile.am:1: required file `doc/mdate-sh' not found
doc/Makefile.am:1: `automake --add-missing' can install `mdate-sh'
doc/Makefile.am:1: required file `doc/texinfo.tex' not found
doc/Makefile.am:1: `automake --add-missing' can install `texinfo.tex'
src/Makefile.am: required file `./depcomp' not found
src/Makefile.am: `automake --add-missing' can install `depcomp'
Makefile.am: required file `./INSTALL' not found
Makefile.am: `automake --add-missing' can install `INSTALL'
configure.ac:11: required file `config.h.in' not found
elta@elta:openOCD$
elta@elta:openOCD$
elta@elta:openOCD$
elta@elta:openOCD$ automake --add-missing
configure.ac:21: installing `./compile'
configure.ac:29: installing `./config.guess'
configure.ac:29: installing `./config.sub'
configure.ac:8: installing `./install-sh'
configure.ac:29: required file `./ltmain.sh' not found
configure.ac:8: installing `./missing'
doc/Makefile.am:1: installing `doc/mdate-sh'
doc/Makefile.am:1: installing `doc/texinfo.tex'
src/Makefile.am: installing `./depcomp'
Makefile.am: installing `./INSTALL'
configure.ac:11: required file `config.h.in' not found
elta@elta:openOCD$
elta@elta:openOCD$
elta@elta:openOCD$ autoheader
elta@elta:openOCD$
elta@elta:openOCD$
elta@elta:openOCD$ automake --add-missing
configure.ac:29: required file `./ltmain.sh' not found
elta@elta:openOCD$
elta@elta:openOCD$
elta@elta:openOCD$
elta@elta:openOCD$
elta@elta:openOCD$
elta@elta:openOCD$
elta@elta:openOCD$ libtoolize
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
libtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT'
elta@elta:openOCD$
elta@elta:openOCD$
elta@elta:openOCD$
elta@elta:openOCD$
elta@elta:openOCD$
elta@elta:openOCD$
elta@elta:openOCD$
elta@elta:openOCD$
elta@elta:openOCD$ automake --add-missing
elta@elta:openOCD$ ls
aclocal.m4 config.sub INSTALL NEWS-0.4.0 README.Win32
AUTHORS config_subdir.m4 install-sh NEWS-0.5.0 run.txt
AUTHORS.ChangeLog configure jimtcl NEWS-0.6.0 src
autom4te.cache configure.ac jtag_vpi.tcl NEWTAPS tcl
bootstrap contrib ltmain.sh or1k_olimex_adv.tcl testing
BUGS COPYING Makefile.am or1k_olimex_mohor.tcl TODO
ChangeLog depcomp Makefile.in or1k_usb_blaster_adv.tcl tools
common.mk doc missing or1k_usb_blaster_mohor.tcl uncrustify.cfg
compile Doxyfile.in NEWS or32.xml
config.guess guess-rev.sh NEWS-0.2.0 README
config.h.in HACKING NEWS-0.3.0 README.md
elta@elta:build$ ../configure