W dniu 2012-12-21 04:12, [email protected] pisze:
> diff --git a/src/jtag/interface.h b/src/jtag/interface.h
> index fd3cea0..995c71d 100644
> --- a/src/jtag/interface.h
> +++ b/src/jtag/interface.h
 > ...
> +#include <interface/interface.h>

Another showstopper:
http://openocd.zylin.com/#/c/1059/5

> make[7]: Entering directory 
> `/home/jenkins/.jenkins/jobs/openocd-gerrit-build/workspace/TARGET/distcheck/openocd-0.7.0-dev/_build/src/jtag/drivers'
> /bin/sh ../../../libtool --tag=CC   --mode=compile gcc -std=gnu99 
> -DHAVE_CONFIG_H -I. -I../../../../src/jtag/drivers -I../../..  
> -I../../../../src -I../../../src -I../../../../src/helper 
> -DPKGDATADIR=\"/home/jenkins/.jenkins/jobs/openocd-gerrit-build/workspace/TARGET/distcheck/openocd-0.7.0-dev/_inst/share/openocd\"
>  
> -DPKGLIBDIR=\"/home/jenkins/.jenkins/jobs/openocd-gerrit-build/workspace/TARGET/distcheck/openocd-0.7.0-dev/_inst/lib/openocd\"
>  -I../../../../jimtcl -I../../../jimtcl   -g -O2 
> -I/home/jenkins/.jenkins/jobs/openocd-gerrit-build/workspace/TARGET/distcheck/openocd-0.7.0-dev/_inst/include
>  -Wall -Wstrict-prototypes -Wformat-security -Wshadow -Wextra 
> -Wno-unused-parameter -Wbad-function-cast -Wcast-align -Wredundant-decls 
> -Werror -MT driver.lo -MD -MP -MF .deps/driver.Tpo -c -o driver.lo 
> ../../../../src/jtag/drivers/driver.c
> libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. 
> -I../../../../src/jtag/drivers -I../../.. -I../../../../src -I../../../src 
> -I../../../../src/helper 
> -DPKGDATADIR=\"/home/jenkins/.jenkins/jobs/openocd-gerrit-build/workspace/TARGET/distcheck/openocd-0.7.0-dev/_inst/share/openocd\"
>  
> -DPKGLIBDIR=\"/home/jenkins/.jenkins/jobs/openocd-gerrit-build/workspace/TARGET/distcheck/openocd-0.7.0-dev/_inst/lib/openocd\"
>  -I../../../../jimtcl -I../../../jimtcl -g -O2 
> -I/home/jenkins/.jenkins/jobs/openocd-gerrit-build/workspace/TARGET/distcheck/openocd-0.7.0-dev/_inst/include
>  -Wall -Wstrict-prototypes -Wformat-security -Wshadow -Wextra 
> -Wno-unused-parameter -Wbad-function-cast -Wcast-align -Wredundant-decls 
> -Werror -MT driver.lo -MD -MP -MF .deps/driver.Tpo -c 
> ../../../../src/jtag/drivers/driver.c -o driver.o
> In file included from ../../../../src/jtag/drivers/driver.c:36:
> ../../../../src/jtag/interface.h:34: fatal error: interface/interface.h: No 
> such file or directory

http://openocd.zylin.com/jenkins/job/openocd-gerrit-build/1457/TARGET=distcheck/console

Strange (; The header is added to noinst_HEADERS in it's Makefile.am, 
from what I see in the above command the src folder (containing 
interface/interface.h) is added to include path ("-I../../../../src"), 
so why does distclean complain? (;

 From this patch:
http://openocd.zylin.com/#/c/1061/5
The distcheck is not failing (but it fails for this one... /; ), so I 
think that the changes in configure.ac and src/Makefile.am (or maybe 
just few of them) should be moved to the first patch that fails the 
distcheck...

A little further there's another problem, but very minor:

> /bin/sh ../../../libtool --tag=CC   --mode=compile x86_64-w64-mingw32-gcc 
> -std=gnu99 -DHAVE_CONFIG_H -I. -I../../..  -I../../../src -I../../../src 
> -I../../../src/helper -DPKGDATADIR=\"/usr/local/share/openocd\" 
> -DPKGLIBDIR=\"/usr/local/lib/openocd\" -I../../../jimtcl -I../../../jimtcl   
> -g -O2 -D__USE_MINGW_ANSI_STDIO -Wall -Wstrict-prototypes -Wformat-security 
> -Wshadow -Wextra -Wno-unused-parameter -Wbad-function-cast -Wcast-align 
> -Wredundant-decls -Werror -MT ft2232.lo -MD -MP -MF .deps/ft2232.Tpo -c -o 
> ft2232.lo ft2232.c
> libtool: compile:  x86_64-w64-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I. 
> -I../../.. -I../../../src -I../../../src -I../../../src/helper 
> -DPKGDATADIR=\"/usr/local/share/openocd\" 
> -DPKGLIBDIR=\"/usr/local/lib/openocd\" -I../../../jimtcl -I../../../jimtcl -g 
> -O2 -D__USE_MINGW_ANSI_STDIO -Wall -Wstrict-prototypes -Wformat-security 
> -Wshadow -Wextra -Wno-unused-parameter -Wbad-function-cast -Wcast-align 
> -Wredundant-decls -Werror -MT ft2232.lo -MD -MP -MF .deps/ft2232.Tpo -c 
> ft2232.c -o ft2232.o
> cc1: warnings being treated as errors
> ft2232.c: In function 'ft2232_transfer':
> ft2232.c:760: error: declaration of 'byte' shadows a global declaration
> /tools/cross_win64/bin/../lib/gcc/x86_64-w64-mingw32/4.4.7/../../../../x86_64-w64-mingw32/include/rpcndr.h:50:
>  error: shadowed declaration is here
> make[6]: *** [ft2232.lo] Error 1
> make[6]: Leaving directory 
> `/home/jenkins/.jenkins/jobs/openocd-gerrit-build/workspace/TARGET/mingw64/src/jtag/drivers'

4\/3!!


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to