Hi, On Wed, Jan 23, 2013 at 08:16:43AM +0000, Alec Teal wrote: > configure went well but I keep hitting: > > ../.././gcc/gengtype.c:963: error: undefined reference to 'lexer_line' > ../.././gcc/gengtype.c:1098: error: undefined reference to 'lexer_line' > ../.././gcc/gengtype.c:1154: error: undefined reference to 'lexer_line' > ../.././gcc/gengtype.c:1164: error: undefined reference to 'lexer_line' > ../.././gcc/gengtype-parse.c:53: error: undefined reference to > 'yylex(char const**)' > ../.././gcc/gengtype-parse.c:1044: error: undefined reference to > 'yybegin(char const*)' > ../.././gcc/gengtype-parse.c:1070: error: undefined reference to > 'lexer_toplevel_done' > ../.././gcc/gengtype-parse.c:1075: error: undefined reference to 'yyend()' > > I've installed flex, bison and yacc (should it use it, it seems to > be using bison -y) (if I hadn't have installed flex would it's > "missing" ones have worked? > > What's wrong? It does configure fine! >
I think that after you install flex you need to delete the build directory and start the configuration and build over again (or fixup something manually but I do not know what). Or at least I remember I had a very similar, if not the same, puzzling problem on one machine and that helped. Martin