Thanks for quick reply Paul.
Sorry but I'm not sure what I need to do next?
Can you clarify please?
Do I just get the patch/modified header file, drop that in and try again?
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.
------------------------------------------------------------------------------
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to