From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20519 invoked by alias); 29 May 2013 21:35:08 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 20509 invoked by uid 89); 29 May 2013 21:35:08 -0000 X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 29 May 2013 21:35:07 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Uho1Q-0006Kl-BI for gdb@sourceware.org; Wed, 29 May 2013 23:35:04 +0200 Received: from razumovsky.net ([82.68.48.14]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 May 2013 23:35:04 +0200 Received: from jules by razumovsky.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 May 2013 23:35:04 +0200 To: gdb@sourceware.org From: Julian Smith Subject: Building current gdb on centos-5 Date: Wed, 29 May 2013 21:35:00 -0000 Message-ID: <20130529215013.70904c7d.jules@op59.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2013-05/txt/msg00129.txt.bz2 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/