On 2012-6-30 23:01, asmwarrior wrote:
> Good. I see this kind of build error several months ago when building GDB 
> under MSYS. For me, I have a workaround, I just disable the nls support by 
> passing the option "--disable-nls" to the configure, otherwise, I will see 
> build errors.

BTW, the build error of GDB I see is described in the wiki page:
http://code.google.com/p/qp-gcc/wiki/build_gdb_msys_en

> gcc -s -static -mtune=i686 -D__USE_MINGW_ACCESS   -I. -I../../gdb/gdb 
> -I../../gdb/gdb/common -I../../gdb/gdb/config 
> -DLOCALEDIR="\"/E/test/installnew/share/locale\"" -DHAVE_CONFIG_H 
> -I../../gdb/gdb/../include/opcode -I../../gdb/gdb/../opcodes/.. 
> -I../../gdb/gdb/../readline/.. -I../bfd -I../../gdb/gdb/../bfd 
> -I../../gdb/gdb/../include -I../libdecnumber -I../../gdb/gdb/../libdecnumber  
> -I../../gdb/gdb/gnulib -Ignulib    -IF:/cb/python272/include 
> -IF:/cb/python272/include -Wall -Wdeclaration-after-statement -Wpointer-arith 
> -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value 
> -Wunused-function -Wno-switch -Wno-char-subscripts -Wno-format -Werror -c -o 
> python.o -MT python.o -MMD -MP -MF .deps/python.Tpo -fno-strict-aliasing 
> -DNDEBUG -fwrapv ../../gdb/gdb/python/python.c
> cc1.exe: warnings being treated as errors
> In file included from F:/cb/python272/include/Python.h:121:0,
>                  from ../../gdb/gdb/python/python-internal.h:50,
>                  from ../../gdb/gdb/python/python.c:48:
> F:/cb/python272/include/pyerrors.h:315:0: error: "snprintf" redefined
> d:\code\mingw_gcc4.5.4.20110428_static_win32\mingw\bin\../lib/gcc/i686-pc-mingw32/4.5.4/../../../../i686-pc-mingw32/include/libintl.h:375:0:
>  note: this is the location of the previous definition
> F:/cb/python272/include/pyerrors.h:316:0: error: "vsnprintf" redefined
> d:\code\mingw_gcc4.5.4.20110428_static_win32\mingw\bin\../lib/gcc/i686-pc-mingw32/4.5.4/../../../../i686-pc-mingw32/include/libintl.h:380:0:
>  note: this is the location of the previous definition


I'm not sure your patch fix the conflict in the python header files.

Thanks.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to