I believe you're missing pkg-config:
http://stackoverflow.com/questions/8811381/possibly-undefined-macro-ac-msg-error/9024469#9024469
Tim
On Mon, Dec 12, 2016 at 5:32 AM, Paul Fertser <[email protected]> wrote:
> On Mon, Dec 12, 2016 at 01:21:55PM +0000, Tommy Murphy wrote:
>
> configure.ac:12: error: possibly undefined macro: AC_MSG_WARN
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
>
> Is it a clean checkout?
>
> Can you possible join our IRC channel for faster support?
> ------------------------------
>
> * [tickets:#142] <https://sourceforge.net/p/openocd/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:* Mon Dec 12, 2016 12:42 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.occ1: warnings being treated as
> errorsarmv7a.c: In function ‘decode_cache_reg’:armv7a.c:553: error:
> ‘size.level_num’ is used uninitialized in this functionmake[6]: ***
> [armv7a.lo] Error 1make[6]: Leaving directory
> `/home/user/Downloads/openocd.master/code/src/target'make[5]: ***
> [all-recursive] Error 1make[5]: Leaving directory
> `/home/user/Downloads/openocd.master/code/src/target'make[4]: *** [all] Error
> 2make[4]: Leaving directory
> `/home/user/Downloads/openocd.master/code/src/target'make[3]: ***
> [all-recursive] Error 1make[3]: Leaving directory
> `/home/user/Downloads/openocd.master/code/src'make[2]: *** [all] Error
> 2make[2]: Leaving directory
> `/home/user/Downloads/openocd.master/code/src'make[1]: *** [all-recursive]
> Error 1make[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
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel