Problem with bootstrap when building openOCD

Hi all,

I’m trying to install openOCD on my Ubuntu 8.10 box and are a bit concerned about the warnings I get when executing ./bootstrap.

root@WS1976:/home/pieterb/openocd# ./bootstrap
src/Makefile.am:70: openocd_LDADD was already defined in condition TRUE, which implies condition HTTPD_TRUE

  openocd_LDADD (User, where = src/Makefile.am:70) +=
  {
    TRUE => $(top_builddir)/src/xsvf/libxsvf.a \
	$(top_builddir)/src/target/libtarget.a $(top_builddir)/src/jtag/libjtag.a \
	$(top_builddir)/src/helper/libhelper.a \
	$(top_builddir)/src/server/libserver.a $(top_builddir)/src/helper/libhelper.a \
	$(top_builddir)/src/flash/libflash.a $(top_builddir)/src/target/libtarget.a \
	$(top_builddir)/src/pld/libpld.a \
	$(FTDI2232LIB) $(MINGWLDADD) $(LIBUSB)

  }
Use of uninitialized value $macro in hash element at /usr/bin/automake line 8459.
Use of uninitialized value within @_ in list assignment at /usr/bin/automake line 8448.
Use of uninitialized value $file in concatenation (.) or string at /usr/bin/automake line 8449.
: warning: automake does not support openocd_LDADD being defined conditionally
Use of uninitialized value $macro in hash element at /usr/bin/automake line 8459.
Use of uninitialized value within @_ in list assignment at /usr/bin/automake line 8448.
Use of uninitialized value $file in concatenation (.) or string at /usr/bin/automake line 8449.
.
.
.
.
.
[repeated for 128 times]
.
.
.
.

: warning: automake does not support openocd_LDADD being defined conditionally
Use of uninitialized value $macro in hash element at /usr/bin/automake line 8459.
Use of uninitialized value within @_ in list assignment at /usr/bin/automake line 8448.
Use of uninitialized value $file in concatenation (.) or string at /usr/bin/automake line 8449.
: warning: automake does not support openocd_LDADD being defined conditionally
Use of uninitialized value $macro in hash element at /usr/bin/automake line 8459.
Use of uninitialized value within @_ in list assignment at /usr/bin/automake line 8448.
Use of uninitialized value $file in concatenation (.) or string at /usr/bin/automake line 8449.
: warning: automake does not support openocd_LDADD being defined conditionally
src/helper/Makefile.am:15: libhelper_a_SOURCES was already defined in condition TRUE, which implies condition IOUTIL_TRUE

  libhelper_a_SOURCES (User, where = src/helper/Makefile.am:15) +=
  {
    TRUE => binarybuffer.c $(CONFIGFILES) configuration.c log.c command.c time_support.c \
	replacements.c fileio.c startup_tcl.c

  }
src/helper/Makefile.am:15: warning: automake does not support conditional definition of libhelper_a_SOURCES in libhelper_a_SOURCES
Use of uninitialized value $file in concatenation (.) or string at /usr/bin/automake line 8449.
: am_libhelper_a_OBJECTS was already defined in condition TRUE, which implies condition IOUTIL_TRUE
  am_libhelper_a_OBJECTS (Automake, where = undefined) =
  {
    TRUE => binarybuffer.$(OBJEXT) $(am__objects_1) configuration.$(OBJEXT) log.$(OBJEXT) command.$(OBJEXT) time_support.$(OBJEXT) replacements.$(OBJEXT) fileio.$(OBJEXT) startup_tcl.$(OBJEXT)
  }
src/server/Makefile.am:5: libserver_a_SOURCES was already defined in condition TRUE, which implies condition HTTPD_TRUE

  libserver_a_SOURCES (User, where = src/server/Makefile.am:5) +=
  {
    TRUE => server.c telnet_server.c gdb_server.c
  }
src/server/Makefile.am:5: warning: automake does not support conditional definition of libserver_a_SOURCES in libserver_a_SOURCES
Use of uninitialized value $file in concatenation (.) or string at /usr/bin/automake line 8449.
: am_libserver_a_OBJECTS was already defined in condition TRUE, which implies condition HTTPD_TRUE
  am_libserver_a_OBJECTS (Automake, where = undefined) =
  {
    TRUE => server.$(OBJEXT) telnet_server.$(OBJEXT) gdb_server.$(OBJEXT) tcl_server.$(OBJEXT)
  }
root@WS1976:/home/pieterb/openocd#

Would these warnings be a problem?

thanks,

Pieter.

very strange - i would expect no warnngs when running bootstrap.

what version of the autoconf/automake do you have?

Cheers

Spen

Hi Spen,

Autoconf version 2.13

automake (GNU automake) 1.6.3

Written by Tom Tromey <tromey@redhat.com>.

Thanks,

Pieter

They are very old, autoconf should have failed as the min version is 2.59

I am using autoconf 2.61 and automake 1.96

Cheers

Spen