Sorry for the spam, it was my fault

just I have run ./bootstrap again and everything is compiling fine now.

On Sat, Sep 6, 2014 at 10:55 AM, Hector Garcia de Marina <[email protected]>
wrote:

> Hi,
>
> today I have updated my copy of the openocd repository (since almost one
> year I have not updated it) and I have the next compilation error regarding
> hla_transport (pasted at the end of this mail).
>
> My OS is Debian Stable (Wheezy) 64bits. I do not know if it is "wise" to
> ignore this warning error and going further. But first I would like to know
> your opinion. Let me know whether you need something else from my side.
>
> Thanks in advance!
>
> make  all-recursive
> make[1]: Entering directory `/home/noether/Utils/openocd'
> Making all in jimtcl
> make[2]: Entering directory `/home/noether/Utils/openocd/jimtcl'
> /usr/bin/tclsh ./make-load-static-exts.tcl aio array clock eventloop exec
> file history load namespace pack package posix readdir regexp signal syslog
> tclprefix binary glob nshelper oo stdlib tclcompat tree
> >_load-static-exts.c || ( rm _load-static-exts.c; exit 1)
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o _load-static-exts.o
> _load-static-exts.c
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o jim-subcmd.o jim-subcmd.c
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o jim-interactive.o
> jim-interactive.c
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o jim-format.o jim-format.c
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o jim.o jim.c
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o utf8.o utf8.c
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o jimregexp.o jimregexp.c
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o linenoise.o linenoise.c
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o jim-aio.o jim-aio.c
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o jim-array.o jim-array.c
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o jim-clock.o jim-clock.c
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o jim-eventloop.o jim-eventloop.c
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o jim-exec.o jim-exec.c
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o jim-file.o jim-file.c
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o jim-history.o jim-history.c
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o jim-load.o jim-load.c
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o jim-namespace.o jim-namespace.c
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o jim-pack.o jim-pack.c
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o jim-package.o jim-package.c
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o jim-posix.o jim-posix.c
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o jim-readdir.o jim-readdir.c
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o jim-regexp.o jim-regexp.c
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o jim-signal.o jim-signal.c
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o jim-syslog.o jim-syslog.c
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o jim-tclprefix.o jim-tclprefix.c
> /usr/bin/tclsh ./make-c-ext.tcl binary.tcl >_binary.c || ( rm _binary.c;
> exit 1)
> cc -D_GNU_SOURCE -Wall  -I. -g -O2 -c -o binary.o _binary.c || ( rm
> _binary.c; exit 1)
> /usr/bin/tclsh ./make-c-ext.tcl glob.tcl >_glob.c || ( rm _glob.c; exit 1)
> cc -D_GNU_SOURCE -Wall  -I. -g -O2 -c -o glob.o _glob.c || ( rm _glob.c;
> exit 1)
> /usr/bin/tclsh ./make-c-ext.tcl nshelper.tcl >_nshelper.c || ( rm
> _nshelper.c; exit 1)
> cc -D_GNU_SOURCE -Wall  -I. -g -O2 -c -o nshelper.o _nshelper.c || ( rm
> _nshelper.c; exit 1)
> /usr/bin/tclsh ./make-c-ext.tcl oo.tcl >_oo.c || ( rm _oo.c; exit 1)
> cc -D_GNU_SOURCE -Wall  -I. -g -O2 -c -o oo.o _oo.c || ( rm _oo.c; exit 1)
> /usr/bin/tclsh ./make-c-ext.tcl stdlib.tcl >_stdlib.c || ( rm _stdlib.c;
> exit 1)
> cc -D_GNU_SOURCE -Wall  -I. -g -O2 -c -o stdlib.o _stdlib.c || ( rm
> _stdlib.c; exit 1)
> /usr/bin/tclsh ./make-c-ext.tcl tclcompat.tcl >_tclcompat.c || ( rm
> _tclcompat.c; exit 1)
> cc -D_GNU_SOURCE -Wall  -I. -g -O2 -c -o tclcompat.o _tclcompat.c || ( rm
> _tclcompat.c; exit 1)
> /usr/bin/tclsh ./make-c-ext.tcl tree.tcl >_tree.c || ( rm _tree.c; exit 1)
> cc -D_GNU_SOURCE -Wall  -I. -g -O2 -c -o tree.o _tree.c || ( rm _tree.c;
> exit 1)
> ar cr libjim.a _load-static-exts.o jim-subcmd.o jim-interactive.o
> jim-format.o jim.o utf8.o jimregexp.o linenoise.o jim-aio.o jim-array.o
> jim-clock.o jim-eventloop.o jim-exec.o jim-file.o jim-history.o jim-load.o
> jim-namespace.o jim-pack.o jim-package.o jim-posix.o jim-readdir.o
> jim-regexp.o jim-signal.o jim-syslog.o jim-tclprefix.o binary.o glob.o
> nshelper.o oo.o stdlib.o tclcompat.o tree.o
> ranlib libjim.a
> cc -D_GNU_SOURCE -Wall  -I. -g -O2   -c -o jimsh.o jimsh.c
> /usr/bin/tclsh ./make-c-ext.tcl initjimsh.tcl >_initjimsh.c || ( rm
> _initjimsh.c; exit 1)
> cc -D_GNU_SOURCE -Wall  -I. -g -O2 -c -o initjimsh.o _initjimsh.c || ( rm
> _initjimsh.c; exit 1)
> cc -D_GNU_SOURCE -Wall  -I. -g -O2 -rdynamic  -o jimsh jimsh.o initjimsh.o
> libjim.a -ldl
> make[2]: Leaving directory `/home/noether/Utils/openocd/jimtcl'
> Making all in src
> make[2]: Entering directory `/home/noether/Utils/openocd/src'
> cat helper/startup.tcl jtag/startup.tcl target/startup.tcl
> flash/startup.tcl server/startup.tcl > startup.tcl
> ../src/helper/bin2char.sh < startup.tcl > startup_tcl.inc || { rm -f
> startup_tcl.inc; false; }
> make  all-recursive
> make[3]: Entering directory `/home/noether/Utils/openocd/src'
> Making all in jtag
> make[4]: Entering directory `/home/noether/Utils/openocd/src/jtag'
> cp drivers/minidriver_imp.h minidriver_imp.h
> make  all-recursive
> make[5]: Entering directory `/home/noether/Utils/openocd/src/jtag'
> Making all in hla
> make[6]: Entering directory `/home/noether/Utils/openocd/src/jtag/hla'
> depbase=`echo hla_transport.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
> /bin/bash ../../../libtool --tag=CC   --mode=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 hla_transport.lo -MD -MP -MF $depbase.Tpo -c -o
> hla_transport.lo hla_transport.c &&\
> mv -f $depbase.Tpo $depbase.Plo
> 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
> hla_transport.lo -MD -MP -MF .deps/hla_transport.Tpo -c hla_transport.c -o
> hla_transport.o
> hla_transport.c:55:3: error: initialization from incompatible pointer type
> [-Werror]
> hla_transport.c:55:3: error: (near initialization for
> 'hl_transport_stlink_subcommand_handlers[0].jim_handler') [-Werror]
> hla_transport.c:88:3: error: initialization from incompatible pointer type
> [-Werror]
> hla_transport.c:88:3: error: (near initialization for
> 'hl_transport_jtag_subcommand_handlers[3].jim_handler') [-Werror]
> hla_transport.c:93:3: error: initialization from incompatible pointer type
> [-Werror]
> hla_transport.c:93:3: error: (near initialization for
> 'hl_transport_jtag_subcommand_handlers[4].jim_handler') [-Werror]
> hla_transport.c:110:3: error: initialization from incompatible pointer
> type [-Werror]
> hla_transport.c:110:3: error: (near initialization for
> 'hl_transport_jtag_subcommand_handlers[7].jim_handler') [-Werror]
> cc1: all warnings being treated as errors
>
>
>
>
>
>
> --
> Héctor
> Webpage: http://mathtronics.wordpress.com/
>
>


-- 
Héctor
Webpage: http://mathtronics.wordpress.com/
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to