This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: --target=m68k-linux VS solib-svr4


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]