This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: gdb/414: Unable to build GDB 5.1.1 for PowerPC on Linux/Intex
- From: Bill Yoder <byoder at cs dot utexas dot edu>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 12 Mar 2002 20:38:00 -0000
- Subject: Re: gdb/414: Unable to build GDB 5.1.1 for PowerPC on Linux/Intex
- Reply-to: Bill Yoder <byoder at cs dot utexas dot edu>
The following reply was made to PR gdb/414; it has been noted by GNATS.
From: Bill Yoder <byoder@cs.utexas.edu>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: gdb-gnats@sources.redhat.com, kirti@us.ibm.com
Subject: Re: gdb/414: Unable to build GDB 5.1.1 for PowerPC on Linux/Intex
Date: Tue, 12 Mar 2002 14:31:06 -0600
Dear Andrew:
Thanks for your help:
> > % cd /projects/trips/arch/projects/gdb/gdb-5.1
> > % ./configure ppc-elf-aix
>
> Try:
> .../configure --target=ppc-elf-aix
> or
> .../configure --rs6000-ibm-aix4.1
>
> Andrew
The first option makes it all the way to the final link line:
> make[1]: Entering directory `/v/hank/v108/projects/gdb/gdb-5.1-ppc-elf-aix/gdb'
> rm -f gdb
> gcc -g -O2 -o gdb \
> main.o libgdb.a cli-decode.o cli-script.o cli-cmds.o cli-setshow.o cli-utils.o mi-out.o mi-console.o mi-cmds.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o mi-cmd-disas.o mi-main.o mi-parse.o mi-getopt.o ../bfd/libbfd.a ../readline/libreadline.a ../opcodes/libopcodes.a ../libiberty/libiberty.a -lncurses -lm ../libiberty/libiberty.a \
> -ldl -rdynamic
> libgdb.a(buildsym.o): In function `end_symtab':
> /projects/trips/arch/projects/gdb/gdb-5.1-ppc-elf-aix/gdb/../../gdb-5.1/gdb/buildsym.c:906: undefined reference to `aix_process_linenos'
> collect2: ld returned 1 exit status
> make[1]: *** [gdb] Error 1
> make[1]: Leaving directory `/v/hank/v108/projects/gdb/gdb-5.1-ppc-elf-aix/gdb'
> make: *** [all-gdb] Error 2
>
The second option:
../gdb-5.1/configure --target=rs6000-ibm-aix4.1
--works like a charm. Your syntactical fix is a big help.
Thanks again,
Bill Yoder