Compiling GCC problems

Alec Teal a.teal@warwick.ac.uk
Wed Jan 23 08:17:00 GMT 2013


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!

Alec



More information about the Gcc mailing list