- **status**: new --> closed
- **Comment**:
change merged.
---
** [tickets:#104] jtagspi.c on compiling **
**Status:** closed
**Milestone:** 0.9.0
**Created:** Sat Aug 15, 2015 08:32 AM UTC by PEdro
**Last Updated:** Sat Aug 15, 2015 07:33 PM UTC
**Owner:** nobody
I have been looking over the net to solve this error without success .
on the configuration everything is good by using :
./configure --enable-ftdi
Then when i start the compilation i get this error that i can get out :
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../.. -I../../../src
-I../../../src -I../../../src/helper -DPKGDATADIR=\"/usr/local/share/openocd\"
-DBINDIR=\"/usr/local/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 jtagspi.lo -MD
-MP -MF .deps/jtagspi.Tpo -c jtagspi.c -o jtagspi.o
jtagspi.c: In function 'jtagspi_erase':
jtagspi.c:275:6: error: 'retval' may be used uninitialized in this function
[-Werror=maybe-uninitialized]
cc1: all warnings being treated as errors
make[5]: *** [jtagspi.lo] Error 1
make[5]: Leaving directory `/opt/openocd-code/src/flash/nor'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/opt/openocd-code/src/flash'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/openocd-code/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/openocd-code/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/openocd-code'
make: *** [all] Error 2
---
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