Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Julian Smith <jules@op59.net>
To: gdb@sourceware.org
Subject: Building current gdb on centos-5
Date: Wed, 29 May 2013 21:35:00 -0000	[thread overview]
Message-ID: <20130529215013.70904c7d.jules@op59.net> (raw)

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/


             reply	other threads:[~2013-05-29 21:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-29 21:35 Julian Smith [this message]
2013-05-30  8:08 ` Pedro Alves
2013-05-30  8:14   ` Pedro Alves
2013-05-30  8:35   ` Julian Smith
2013-05-30  8:59   ` Pedro Alves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130529215013.70904c7d.jules@op59.net \
    --to=jules@op59.net \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox