This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: gdb build error
- From: "Ray Duran" <Ray dot Duran at FutureElectronics dot com>
- To: "Joel Brobecker" <brobecker at adacore dot com>
- Cc: <gdb at sourceware dot org>
- Date: Thu, 7 Sep 2006 13:43:32 -0400
- Subject: RE: gdb build error
Sorry,
Substitute:
mkdir -p /tmp/build/gdb
cd /tmp/build/gdb
/src/insight-6.5/configure --target=TARGET \
--prefix=/gnutools -v 2>&1 | tee configure.out
For:
mkdir -p /tmp/build/gdb
cd /tmp/build/gdb
/src/insight-5.3/configure --target=TARGET \
--prefix=/gnutools -v 2>&1 | tee configure.out
-Ray
-----Original Message-----
From: Joel Brobecker [mailto:brobecker@adacore.com]
Sent: Thursday, September 07, 2006 9:15 AM
To: Ray Duran
Cc: gdb@sourceware.org
Subject: Re: gdb build error
> However, I have done a search of ada-lex.c and cannot find anywhere.
> That in fact make the message a bit of an anomaly, since the warning
> says that ada-lex.c is older but it does not exist.
I'm pretty sure it used to exist at the time you unpacked the sources.
It must has been deleted somehow. The makefile says:
.l.c:
if [ "$(FLEX)" ] && $(FLEX) --version >/dev/null 2>&1; then \
$(FLEX) -o$@ $< && \
rm -f $@.new && \
sed -e '/extern.*malloc/d' \
-e '/extern.*realloc/d' \
-e '/extern.*free/d' \
-e '/include.*malloc.h/d' \
-e 's/\([^x]\)malloc/\1xmalloc/g' \
-e 's/\([^x]\)realloc/\1xrealloc/g' \
-e 's/yy_flex_xrealloc/yyxrealloc/g' \
< $@ > $@.new && \
rm -f $@ && \
mv $@.new $@; \
elif [ -f $@ ]; then \
echo "Warning: $*.c older than $*.l and flex not
available."; \
else \
echo "$@ missing and flex not available."; \
false; \
fi
so the file MUST have existed for the warning you mentioned to be
printed (the -f test).
I can't really figure out what happened in your case without more
details. If you start from scratch, and send us the list of commands
you used to build your application, then maybe we'll be able to
understand what happened. Please also tell us exactly what package
you downloaded, and where you got it:
> If I re-downloaded insight tar 6.5 or an earlier version could I
> configure and build Insight over what I have already done? There isn't
> any need for deleting old insight stuff?
Are you sure you mean insight? The last releases only included GDB,
not insight.
--
Joel