This is the mail archive of the insight@sourceware.org mailing list for the Insight 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]

Can't build missing ADA, Flex


Hi,

I know that there are lots of ongoing build issues with insight-6.30.50 and have been following the patches, but I think my problem is operator error.

I'm building insight-weekly-6.30.50.20051114 under gcc-4.0.2 (c, c++ only) and cygwin and get
the follow error. I install flex but where/what's ada. I assume that I configured it wrong.


configure --target=arm-elf --prefix=/gnutools/insight-6.3


make[2]: Entering directory `/tmp/build/gdb/gdb'
if [ "/src/insight/gdb/missing flex" ] && /src/insight/gdb/missing flex --version >/dev/null 2>&1; then \
/src/insight/gdb/missing flex -oada-lex.c /src/insight/gdb/gdb/ada-lex.l && \
rm -f ada-lex.c.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' \
< ada-lex.c > ada-lex.c.new && \
rm -f ada-lex.c && \
mv ada-lex.c.new ada-lex.c; \
elif [ -f ada-lex.c ]; then \
echo "Warning: ada-lex.c older than ada-lex.l and flex not available."; \
else \
echo "ada-lex.c missing and flex not available."; \
false; \
fi
ada-lex.c missing and flex not available.
make[2]: *** [ada-lex.c] Error 1
make[2]: Leaving directory `/tmp/build/gdb/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/tmp/build/gdb'
make: *** [all] Error 2
make: Leaving directory `/tmp/build/gdb'


%\tmp\build\gdb>flex --version
flex version 2.5.4

Regards,
Keith Ross


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