From: mec.gnu@mindspring.com (Michael Elizabeth Chastain)
To: amodra@bigpond.net.au
Cc: gdb@sources.redhat.com
Subject: error: `som_bfd_is_group_section' undeclared
Date: Sat, 01 May 2004 23:56:00 -0000 [thread overview]
Message-ID: <20040501235637.290264B104@berman.michael-chastain.com> (raw)
Hi Alan,
I'm getting a compile error when I build gdb HEAD on native
hppa2.0w-hp-hpux11.11. It's an undeclared symbol,
som_bfd_is_group_section .
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I/house/chastain/gdb/s1/bfd -I. -D_GNU_SOURCE -DHOST_HPPAHPUX -D_LARGEFILE64_SOURCE -DHPUX_CORE -I. -I/house/chastain/gdb/s1/bfd -I/house/chastain/gdb/s1/bfd/../include -I/house/chastain/gdb/s1/bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c /house/chastain/gdb/s1/bfd/som.c
gcc -DHAVE_CONFIG_H -I. -I/house/chastain/gdb/s1/bfd -I. -D_GNU_SOURCE -DHOST_HPPAHPUX -D_LARGEFILE64_SOURCE -DHPUX_CORE -I. -I/house/chastain/gdb/s1/bfd -I/house/chastain/gdb/s1/bfd/../include -I/house/chastain/gdb/s1/bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c /house/chastain/gdb/s1/bfd/som.c -o som.o
/house/chastain/gdb/s1/bfd/som.c:6463: error: `som_bfd_is_group_section' undeclared here (not in a function)
/house/chastain/gdb/s1/bfd/som.c:6463: error: initializer element is not constant
/house/chastain/gdb/s1/bfd/som.c:6463: error: (near initialization for `som_vec._bfd_is_group_section')
/house/chastain/gdb/s1/bfd/som.c:6469: warning: missing initializer
/house/chastain/gdb/s1/bfd/som.c:6469: warning: (near initialization for `som_vec._bfd_is_group_section')
*** Error exit code 1
It looks like a simple lacuna in this patch:
2004-04-30 Alan Modra <amodra@bigpond.net.au>
* section.c (bfd_make_section_anyway): Add all sections to hash tab.
* elf-bfd.h (bfd_elf_is_group_section): Declare.
* elf.c (bfd_elf_is_group_section): New function.
...
There's a lot of new foo_is_group_section functions,
but none for hpux som.
Michael C
next reply other threads:[~2004-05-01 23:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-01 23:56 Michael Elizabeth Chastain [this message]
2004-05-02 6:20 ` Alan Modra
2004-05-02 21:14 Michael Elizabeth Chastain
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=20040501235637.290264B104@berman.michael-chastain.com \
--to=mec.gnu@mindspring.com \
--cc=amodra@bigpond.net.au \
--cc=gdb@sources.redhat.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).