This is the mail archive of the gdb@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]
Other format: [Raw text]

Re: gdb head fails to compile for arm-elf target.


On Mon, Feb 16, 2004 at 07:38:57PM +0100, Karel Gardas wrote:
> On Mon, 16 Feb 2004, Daniel Jacobowitz wrote:
> 
> > On Mon, Feb 16, 2004 at 07:27:39PM +0100, Karel Gardas wrote:
> > >
> > > Hello,
> > >
> > > following information on http://gcc.gnu.org/simtest-howto.html I'm trying
> > > to build gcc and associated gnu tools includig gdb for arm-elf target. The
> > > build fails while compiling gdb with:
> >
> > How have you combined your sources?  I'm betting incorrectly.
> 
> Yes, I have.
> 
> > > ../../combined/gdb/auxv.c: In function `fprint_target_auxv':
> > > ../../combined/gdb/auxv.c:230: error: `AT_SECURE' undeclared (first use in
> > > this function)
> >
> > Please check include/elf/common.h.
> 
> thinkpad:/mnt/karel/gcc340-sim/combined$ ls -la include/elf/common.h
> -rw-rw-r--    2 karel    karel       27702 Jan 19 19:28 include/elf/common.h
> thinkpad:/mnt/karel/gcc340-sim/combined$
> 
> Sorry, I don't understand, what's wrong with this file?

That should be providing the definition of AT_SECURE.  Does it?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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