Discussion:
[OpenOCD-devel] [openocd:tickets] #152 Building on a BeagleBone fails
Kumpis
2017-04-28 19:02:52 UTC
Permalink
---

** [tickets:#152] Building on a BeagleBone fails**

**Status:** new
**Milestone:** 0.9.0
**Created:** Fri Apr 28, 2017 07:02 PM UTC by Kumpis
**Last Updated:** Fri Apr 28, 2017 07:02 PM UTC
**Owner:** nobody


I've tried building OpenOCD on a BeagleBone running Debian (it's a pretty old image, from around 2015).
I installed libraries using the following command "sudo apt-get install git autoconf libtool make pkg-config libusb-1.0-0 libusb-1.0-0-dev" then downloaded the repo using "git clone git://git.code.sf.net/p/openocd/code openocd-code".

But then running ./bootstrap fails and returns the following:
~~~
***@beaglebone:/openocd-code# ./bootstrap
+ aclocal
+ libtoolize --automake --copy
+ autoconf
+ autoheader
+ automake --gnu --add-missing --copy
configure.ac:28: installing `./compile'
configure.ac:37: installing `./config.guess'
configure.ac:37: installing `./config.sub'
configure.ac:16: installing `./install-sh'
configure.ac:16: installing `./missing'
src/Makefile.am:4: bad characters in variable name `%C%_openocd_SOURCES'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:7: bad characters in variable name `%C%_libopenocd_la_SOURCES'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:11: bad characters in variable name `%C%_openocd_LDADD'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:13: bad characters in variable name `%C%_openocd_LDADD'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:16: bad characters in variable name `%C%_openocd_LDADD'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:18: bad characters in variable name `%C%_openocd_LDADD'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:21: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:26: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:27: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:29: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:30: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:31: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:35: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:38: bad characters in variable name `%C%_libopenocd_la_LDFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:46: bad characters in variable name `%C%_libopenocd_la_LIBADD'
Makefile.am:143: `src/Makefile.am' included from here
doc/Makefile.am:2: bad characters in variable name `%C%_openocd_TEXINFOS'
Makefile.am:144: `doc/Makefile.am' included from here
Makefile.am:46: wildcard $(srcdir: non-POSIX variable name
Makefile.am:46: (probably a GNU make extension)
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./depcomp'
automake: cannot open < ./%D%/openocd.texi: No such file or directory
~~~

Is this some kind of dependency issue? Because the var names aren't getting resolved as far as I understand the error output.


---

Sent from sourceforge.net because openocd-***@lists.sourceforge.net is subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Paul Fertser
2017-04-28 19:21:13 UTC
Permalink
Hello,
Post by Kumpis
src/Makefile.am:4: bad characters in variable name `%C%_openocd_SOURCES'
Makefile.am:143: `src/Makefile.am' included from here
Sorry, this means your automake version is too old, please install
1.14 from backports or something.
--
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:***@gmail.com


---

** [tickets:#152] Building on a BeagleBone fails**

**Status:** new
**Milestone:** 0.9.0
**Created:** Fri Apr 28, 2017 07:02 PM UTC by Kumpis
**Last Updated:** Fri Apr 28, 2017 07:02 PM UTC
**Owner:** nobody


I've tried building OpenOCD on a BeagleBone running Debian (it's a pretty old image, from around 2015).
I installed libraries using the following command "sudo apt-get install git autoconf libtool make pkg-config libusb-1.0-0 libusb-1.0-0-dev" then downloaded the repo using "git clone git://git.code.sf.net/p/openocd/code openocd-code".

But then running ./bootstrap fails and returns the following:
~~~
***@beaglebone:/openocd-code# ./bootstrap
+ aclocal
+ libtoolize --automake --copy
+ autoconf
+ autoheader
+ automake --gnu --add-missing --copy
configure.ac:28: installing `./compile'
configure.ac:37: installing `./config.guess'
configure.ac:37: installing `./config.sub'
configure.ac:16: installing `./install-sh'
configure.ac:16: installing `./missing'
src/Makefile.am:4: bad characters in variable name `%C%_openocd_SOURCES'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:7: bad characters in variable name `%C%_libopenocd_la_SOURCES'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:11: bad characters in variable name `%C%_openocd_LDADD'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:13: bad characters in variable name `%C%_openocd_LDADD'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:16: bad characters in variable name `%C%_openocd_LDADD'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:18: bad characters in variable name `%C%_openocd_LDADD'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:21: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:26: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:27: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:29: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:30: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:31: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:35: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:38: bad characters in variable name `%C%_libopenocd_la_LDFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:46: bad characters in variable name `%C%_libopenocd_la_LIBADD'
Makefile.am:143: `src/Makefile.am' included from here
doc/Makefile.am:2: bad characters in variable name `%C%_openocd_TEXINFOS'
Makefile.am:144: `doc/Makefile.am' included from here
Makefile.am:46: wildcard $(srcdir: non-POSIX variable name
Makefile.am:46: (probably a GNU make extension)
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./depcomp'
automake: cannot open < ./%D%/openocd.texi: No such file or directory
~~~

Is this some kind of dependency issue? Because the var names aren't getting resolved as far as I understand the error output.


---

Sent from sourceforge.net because openocd-***@lists.sourceforge.net is subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Kumpis
2017-04-28 21:42:28 UTC
Permalink
Thanks for the reply. I downloaded the latest automake and compiled it, it's 1.14.1. But that didn't help, I guess my BBB linux installation is just too old.


---

** [tickets:#152] Building on a BeagleBone fails**

**Status:** new
**Milestone:** 0.9.0
**Created:** Fri Apr 28, 2017 07:02 PM UTC by Kumpis
**Last Updated:** Fri Apr 28, 2017 07:02 PM UTC
**Owner:** nobody


I've tried building OpenOCD on a BeagleBone running Debian (it's a pretty old image, from around 2015).
I installed libraries using the following command "sudo apt-get install git autoconf libtool make pkg-config libusb-1.0-0 libusb-1.0-0-dev" then downloaded the repo using "git clone git://git.code.sf.net/p/openocd/code openocd-code".

But then running ./bootstrap fails and returns the following:
~~~
***@beaglebone:/openocd-code# ./bootstrap
+ aclocal
+ libtoolize --automake --copy
+ autoconf
+ autoheader
+ automake --gnu --add-missing --copy
configure.ac:28: installing `./compile'
configure.ac:37: installing `./config.guess'
configure.ac:37: installing `./config.sub'
configure.ac:16: installing `./install-sh'
configure.ac:16: installing `./missing'
src/Makefile.am:4: bad characters in variable name `%C%_openocd_SOURCES'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:7: bad characters in variable name `%C%_libopenocd_la_SOURCES'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:11: bad characters in variable name `%C%_openocd_LDADD'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:13: bad characters in variable name `%C%_openocd_LDADD'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:16: bad characters in variable name `%C%_openocd_LDADD'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:18: bad characters in variable name `%C%_openocd_LDADD'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:21: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:26: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:27: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:29: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:30: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:31: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:35: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:38: bad characters in variable name `%C%_libopenocd_la_LDFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:46: bad characters in variable name `%C%_libopenocd_la_LIBADD'
Makefile.am:143: `src/Makefile.am' included from here
doc/Makefile.am:2: bad characters in variable name `%C%_openocd_TEXINFOS'
Makefile.am:144: `doc/Makefile.am' included from here
Makefile.am:46: wildcard $(srcdir: non-POSIX variable name
Makefile.am:46: (probably a GNU make extension)
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./depcomp'
automake: cannot open < ./%D%/openocd.texi: No such file or directory
~~~

Is this some kind of dependency issue? Because the var names aren't getting resolved as far as I understand the error output.


---

Sent from sourceforge.net because openocd-***@lists.sourceforge.net is subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Paul Fertser
2017-04-28 21:48:13 UTC
Permalink
Post by Kumpis
Thanks for the reply. I downloaded the latest automake and compiled it, it's
1.14.1. But that didn't help, I guess my BBB linux installation is just too old.
Try with a fully clean checkout please, and ensure you're running your
new automake. The errors clearly suggest incorrect automake version;
and 1.14 should be enough.
--
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:***@gmail.com


---

** [tickets:#152] Building on a BeagleBone fails**

**Status:** new
**Milestone:** 0.9.0
**Created:** Fri Apr 28, 2017 07:02 PM UTC by Kumpis
**Last Updated:** Fri Apr 28, 2017 07:02 PM UTC
**Owner:** nobody


I've tried building OpenOCD on a BeagleBone running Debian (it's a pretty old image, from around 2015).
I installed libraries using the following command "sudo apt-get install git autoconf libtool make pkg-config libusb-1.0-0 libusb-1.0-0-dev" then downloaded the repo using "git clone git://git.code.sf.net/p/openocd/code openocd-code".

But then running ./bootstrap fails and returns the following:
~~~
***@beaglebone:/openocd-code# ./bootstrap
+ aclocal
+ libtoolize --automake --copy
+ autoconf
+ autoheader
+ automake --gnu --add-missing --copy
configure.ac:28: installing `./compile'
configure.ac:37: installing `./config.guess'
configure.ac:37: installing `./config.sub'
configure.ac:16: installing `./install-sh'
configure.ac:16: installing `./missing'
src/Makefile.am:4: bad characters in variable name `%C%_openocd_SOURCES'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:7: bad characters in variable name `%C%_libopenocd_la_SOURCES'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:11: bad characters in variable name `%C%_openocd_LDADD'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:13: bad characters in variable name `%C%_openocd_LDADD'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:16: bad characters in variable name `%C%_openocd_LDADD'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:18: bad characters in variable name `%C%_openocd_LDADD'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:21: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:26: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:27: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:29: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:30: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:31: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:35: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:38: bad characters in variable name `%C%_libopenocd_la_LDFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:46: bad characters in variable name `%C%_libopenocd_la_LIBADD'
Makefile.am:143: `src/Makefile.am' included from here
doc/Makefile.am:2: bad characters in variable name `%C%_openocd_TEXINFOS'
Makefile.am:144: `doc/Makefile.am' included from here
Makefile.am:46: wildcard $(srcdir: non-POSIX variable name
Makefile.am:46: (probably a GNU make extension)
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./depcomp'
automake: cannot open < ./%D%/openocd.texi: No such file or directory
~~~

Is this some kind of dependency issue? Because the var names aren't getting resolved as far as I understand the error output.


---

Sent from sourceforge.net because openocd-***@lists.sourceforge.net is subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Kumpis
2017-04-29 09:32:13 UTC
Permalink
I did try to compile a clean source, however I'm getting different errors each time in the configure step so I guess other tools are outdated as well. I tried updating the libtool, because I was getting something like "LIBTOOL" is undefined, but that didn't help either. The "aclocal", "libtoolize ..", autoconf", "autoheader" commands run fine, but the "automake --gnu --add-missing --copy" fails (with the undefined libtool I mentioned).


---

** [tickets:#152] Building on a BeagleBone fails**

**Status:** new
**Milestone:** 0.9.0
**Created:** Fri Apr 28, 2017 07:02 PM UTC by Kumpis
**Last Updated:** Fri Apr 28, 2017 07:02 PM UTC
**Owner:** nobody


I've tried building OpenOCD on a BeagleBone running Debian (it's a pretty old image, from around 2015).
I installed libraries using the following command "sudo apt-get install git autoconf libtool make pkg-config libusb-1.0-0 libusb-1.0-0-dev" then downloaded the repo using "git clone git://git.code.sf.net/p/openocd/code openocd-code".

But then running ./bootstrap fails and returns the following:
~~~
***@beaglebone:/openocd-code# ./bootstrap
+ aclocal
+ libtoolize --automake --copy
+ autoconf
+ autoheader
+ automake --gnu --add-missing --copy
configure.ac:28: installing `./compile'
configure.ac:37: installing `./config.guess'
configure.ac:37: installing `./config.sub'
configure.ac:16: installing `./install-sh'
configure.ac:16: installing `./missing'
src/Makefile.am:4: bad characters in variable name `%C%_openocd_SOURCES'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:7: bad characters in variable name `%C%_libopenocd_la_SOURCES'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:11: bad characters in variable name `%C%_openocd_LDADD'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:13: bad characters in variable name `%C%_openocd_LDADD'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:16: bad characters in variable name `%C%_openocd_LDADD'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:18: bad characters in variable name `%C%_openocd_LDADD'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:21: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:26: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:27: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:29: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:30: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:31: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:35: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:38: bad characters in variable name `%C%_libopenocd_la_LDFLAGS'
Makefile.am:143: `src/Makefile.am' included from here
src/Makefile.am:46: bad characters in variable name `%C%_libopenocd_la_LIBADD'
Makefile.am:143: `src/Makefile.am' included from here
doc/Makefile.am:2: bad characters in variable name `%C%_openocd_TEXINFOS'
Makefile.am:144: `doc/Makefile.am' included from here
Makefile.am:46: wildcard $(srcdir: non-POSIX variable name
Makefile.am:46: (probably a GNU make extension)
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./depcomp'
automake: cannot open < ./%D%/openocd.texi: No such file or directory
~~~

Is this some kind of dependency issue? Because the var names aren't getting resolved as far as I understand the error output.


---

Sent from sourceforge.net because openocd-***@lists.sourceforge.net is subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Loading...