From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3412 invoked by alias); 2 May 2004 06:20:35 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 3402 invoked from network); 2 May 2004 06:20:34 -0000 Received: from unknown (HELO modra.org) (144.136.182.144) by sources.redhat.com with SMTP; 2 May 2004 06:20:34 -0000 Received: by bubble.modra.org (Postfix, from userid 500) id A7156E6CB8; Sun, 2 May 2004 15:50:32 +0930 (CST) Date: Sun, 02 May 2004 06:20:00 -0000 From: Alan Modra To: Michael Elizabeth Chastain Cc: gdb@sources.redhat.com Subject: Re: error: `som_bfd_is_group_section' undeclared Message-ID: <20040502062032.GW2565@bubble.modra.org> References: <20040501235637.290264B104@berman.michael-chastain.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040501235637.290264B104@berman.michael-chastain.com> User-Agent: Mutt/1.4i X-SW-Source: 2004-05/txt/msg00007.txt.bz2 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