From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25473 invoked by alias); 1 May 2004 23:56:40 -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 25465 invoked from network); 1 May 2004 23:56:38 -0000 Received: from unknown (HELO maynard.mail.mindspring.net) (207.69.200.243) by sources.redhat.com with SMTP; 1 May 2004 23:56:38 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by maynard.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1BK4LT-0003B0-00; Sat, 01 May 2004 19:56:35 -0400 Received: by berman.michael-chastain.com (Postfix, from userid 502) id 290264B104; Sat, 1 May 2004 19:56:37 -0400 (EDT) To: amodra@bigpond.net.au Subject: error: `som_bfd_is_group_section' undeclared Cc: gdb@sources.redhat.com Message-Id: <20040501235637.290264B104@berman.michael-chastain.com> Date: Sat, 01 May 2004 23:56:00 -0000 From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) X-SW-Source: 2004-05/txt/msg00006.txt.bz2 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 * 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