Tried the same thing today...
Clean CentOS 6.8 32 bit virtual machine install
Installed prerequisites including autoconf 2.69
Then...
~~~
git clone --recursive git://git.code.sf.net/p/openocd/code openocd-code
cd openocd-code
./bootstrap
~~~
but I get this:
~~~
[user@centos6832 openocd-code]$ ./bootstrap
+ aclocal
configure.ac:37: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in
body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
/usr/share/aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
/usr/share/aclocal/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...
/usr/share/aclocal/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...
/usr/share/aclocal/libtool.m4:138: _LT_SETUP is expanded from...
/usr/share/aclocal/libtool.m4:67: LT_INIT is expanded from...
/usr/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:37: the top level
configure.ac:37: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in
body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
/usr/share/aclocal/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...
/usr/share/aclocal/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...
/usr/share/aclocal/libtool.m4:138: _LT_SETUP is expanded from...
/usr/share/aclocal/libtool.m4:67: LT_INIT is expanded from...
/usr/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:37: the top level
+ libtoolize --automake --copy
+ autoconf
configure.ac:37: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in
body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...
aclocal.m4:4176: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:5251: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:159: _LT_SETUP is expanded from...
aclocal.m4:88: LT_INIT is expanded from...
aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
configure.ac:37: the top level
configure.ac:37: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in
body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
aclocal.m4:4176: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:5251: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:159: _LT_SETUP is expanded from...
aclocal.m4:88: LT_INIT is expanded from...
aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
configure.ac:37: the top level
+ autoheader
configure.ac:37: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in
body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...
aclocal.m4:4176: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:5251: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:159: _LT_SETUP is expanded from...
aclocal.m4:88: LT_INIT is expanded from...
aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
configure.ac:37: the top level
configure.ac:37: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in
body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
aclocal.m4:4176: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:5251: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:159: _LT_SETUP is expanded from...
aclocal.m4:88: LT_INIT is expanded from...
aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
configure.ac:37: the top level
+ automake --gnu --add-missing --copy
configure.ac:37: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in
body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
aclocal.m4:1037: _LT_SYS_MODULE_PATH_AIX is expanded from...
aclocal.m4:4176: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:5251: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:159: _LT_SETUP is expanded from...
aclocal.m4:88: LT_INIT is expanded from...
aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
configure.ac:37: the top level
configure.ac:37: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in
body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
aclocal.m4:4176: _LT_LINKER_SHLIBS is expanded from...
aclocal.m4:5251: _LT_LANG_C_CONFIG is expanded from...
aclocal.m4:159: _LT_SETUP is expanded from...
aclocal.m4:88: LT_INIT is expanded from...
aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
configure.ac:37: the top level
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:139: `src/Makefile.am' included from here
src/Makefile.am:7: bad characters in variable name `%C%_libopenocd_la_SOURCES'
Makefile.am:139: `src/Makefile.am' included from here
src/Makefile.am:11: bad characters in variable name `%C%_openocd_LDADD'
Makefile.am:139: `src/Makefile.am' included from here
src/Makefile.am:13: bad characters in variable name `%C%_openocd_LDADD'
Makefile.am:139: `src/Makefile.am' included from here
src/Makefile.am:16: bad characters in variable name `%C%_openocd_LDADD'
Makefile.am:139: `src/Makefile.am' included from here
src/Makefile.am:18: bad characters in variable name `%C%_openocd_LDADD'
Makefile.am:139: `src/Makefile.am' included from here
src/Makefile.am:21: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:139: `src/Makefile.am' included from here
src/Makefile.am:26: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:139: `src/Makefile.am' included from here
src/Makefile.am:27: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:139: `src/Makefile.am' included from here
src/Makefile.am:29: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:139: `src/Makefile.am' included from here
src/Makefile.am:30: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:139: `src/Makefile.am' included from here
src/Makefile.am:31: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:139: `src/Makefile.am' included from here
src/Makefile.am:35: bad characters in variable name `%C%_libopenocd_la_CPPFLAGS'
Makefile.am:139: `src/Makefile.am' included from here
src/Makefile.am:38: bad characters in variable name `%C%_libopenocd_la_LDFLAGS'
Makefile.am:139: `src/Makefile.am' included from here
src/Makefile.am:46: bad characters in variable name `%C%_libopenocd_la_LIBADD'
Makefile.am:139: `src/Makefile.am' included from here
doc/Makefile.am:2: bad characters in variable name `%C%_openocd_TEXINFOS'
Makefile.am:140: `doc/Makefile.am' included from here
Makefile.am:42: wildcard $(srcdir: non-POSIX variable name
Makefile.am:42: (probably a GNU make extension)
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./depcomp'
automake: cannot open < ./%D%/openocd.texi: No such file or directory
[user@centos6832 openocd-code]$
~~~
Any ideas?
Curiously it builds OK in the same circumstances on Ubuntu 14.04.5 LTS 32 bit.
Thanks.
---
** [tickets:#142] Error building on CentOS 6.8 32 bit**
**Status:** new
**Milestone:** 0.9.0
**Created:** Tue Nov 29, 2016 05:29 PM UTC by Tommy Murphy
**Last Updated:** Tue Nov 29, 2016 05:31 PM UTC
**Owner:** nobody
Hi there
Clean install of CentOS 6.8 Desktop 32 bit
Install prerequisites - e.g....
Install autoconf 2.69: https://gist.github.com/tkuchiki/543e277a2f7221a7833a
sudo yum install libusb1-devel git <maybe some other stuff>
Then...
~~~
cd ~/Downloads
git clone --recursive git://git.code.sf.net/p/openocd/code
cd code
./bootstrap
./configure --prefix=`pwd`/openocd
make
~~~
But I get this:
~~~
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../src
-I../../src -I../../src/helper
-DPKGDATADIR=\"/home/user/Downloads/openocd.master/code/openocd/share/openocd\"
-DBINDIR=\"/home/user/Downloads/openocd.master/code/openocd/bin\"
-I../../jimtcl -I../../jimtcl -g -O2 -Wall -Wstrict-prototypes
-Wformat-security -Wshadow -Wextra -Wno-unused-parameter -Wbad-function-cast
-Wcast-align -Wredundant-decls -Werror -MT armv7a.lo -MD -MP -MF
.deps/armv7a.Tpo -c armv7a.c -o armv7a.o
cc1: warnings being treated as errors
armv7a.c: In function ‘decode_cache_reg’:
armv7a.c:553: error: ‘size.level_num’ is used uninitialized in this function
make[6]: *** [armv7a.lo] Error 1
make[6]: Leaving directory `/home/user/Downloads/openocd.master/code/src/target'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/user/Downloads/openocd.master/code/src/target'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/user/Downloads/openocd.master/code/src/target'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/user/Downloads/openocd.master/code/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/user/Downloads/openocd.master/code/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/Downloads/openocd.master/code'
make: *** [all] Error 2
~~~
Am I doing something wrong?
Thanks a lot
---
Sent from sourceforge.net because [email protected] 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.
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel