This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: --target=m68k-linux VS solib-svr4
- To: Andrew Cagney <ac131313 at cygnus dot com>, GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: Re: --target=m68k-linux VS solib-svr4
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Wed, 8 Nov 2000 07:50:10 -0700
- References: <3A093EFC.C8B3C36@cygnus.com>
On Nov 8, 10:54pm, Andrew Cagney wrote:
> The recent solib changes for a target build don't yet work with
> m68k-linux. It is getting the build error:
>
> /home/scratch/GDB/src/gdb/solib-svr4.c: In function `elf_locate_base':
> /home/scratch/GDB/src/gdb/solib-svr4.c:691: `DT_NULL' undeclared (first
> use in this function)
> /home/scratch/GDB/src/gdb/solib-svr4.c:691: (Each undeclared identifier
> is reported only once
> /home/scratch/GDB/src/gdb/solib-svr4.c:691: for each function it appears
> in.)
> /home/scratch/GDB/src/gdb/solib-svr4.c:693: `DT_DEBUG' undeclared (first
> use in this function)
> gmake: *** [solib-svr4.o] Error 1
It looks to me like solib-svr4.c ought to be including elf/common.h.
I'll need to look at it a while first and figure out where other
platforms are getting their DT_* definitions from.
Kevin