error: `som_bfd_is_group_section' undeclared

Alan Modra amodra@bigpond.net.au
Sun May 2 06:20:00 GMT 2004


On Sat, May 01, 2004 at 07:56:37PM -0400, Michael Elizabeth Chastain wrote:
> 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 .

Oops.  The SOM bfd target isn't built with --enable-targets=all, because
it uses host headers (and I found all the places that needed a define by
compiling then fixing errors).

	* som.c (som_bfd_is_group_section): Define.

Index: bfd/som.c
===================================================================
RCS file: /cvs/src/src/bfd/som.c,v
retrieving revision 1.40
diff -u -p -r1.40 som.c
--- bfd/som.c	28 Apr 2004 18:02:48 -0000	1.40
+++ bfd/som.c	2 May 2004 06:04:22 -0000
@@ -1,6 +1,6 @@
 /* bfd back-end for HP PA-RISC SOM objects.
    Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-   2000, 2001, 2002, 2003
+   2000, 2001, 2002, 2003, 2004
    Free Software Foundation, Inc.
 
    Contributed by the Center for Software Science at the
@@ -6410,6 +6410,7 @@ som_bfd_link_split_section (abfd, sec)
 
 #define som_bfd_gc_sections		bfd_generic_gc_sections
 #define som_bfd_merge_sections		bfd_generic_merge_sections
+#define som_bfd_is_group_section	bfd_generic_is_group_section
 #define som_bfd_discard_group		bfd_generic_discard_group
 
 const bfd_target som_vec = {

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Gdb mailing list