This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Building current gdb on centos-5
- From: Julian Smith <jules at op59 dot net>
- To: gdb at sourceware dot org
- Date: Wed, 29 May 2013 21:50:13 +0100
- Subject: Building current gdb on centos-5
Hello
Is the latest gdb in cvs, expected to build on centos-5 ?
I'm seeing this build failure:
...
gcc -g -O2 -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gn
ulib/import -Ibuild-gnulib/import -DTUI=1 -I/usr/include/python2.4 -I/usr/include/python2.4 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wpointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts
-Wmissing-prototypes -Wdeclaration-after-statement -Wformat-nonliteral -c -o mi-main.o -MT mi-main.o -MMD -MP -MF .deps/mi-main.Tpo ./mi/mi-main.c
In file included from ./mi/mi-main.c:56:
./python/python-internal.h: In function 'gdb_Py_DECREF':
./python/python-internal.h:179: warning: dereferencing 'void *' pointer
./python/python-internal.h:179: error: request for member 'ob_refcnt' in something not a structure or union
I'm building with:
cd ~/gdb_cvs_dir/src
./configure --disable-werror
make
My centos-5 has python-2.4 (python-devel.i386 2.4.3-24.el5).
Many thanks,
- Julian
--
http://op59.net/