On Dec 7, 2013 9:58 PM, "Bruce Korb" wrote: > > On 12/07/13 12:59, Bruce Korb wrote: >> >> Googling: >> >>> gcc undefined reference to `lexer_line' >> >> >> yields: >> >> http://stackoverflow.com/questions/4262531/trouble-building-gcc-4-6 >> >> Please check for it in configure and mention it in the dependency message. >> :) >> Thank you! > > > Oops -- I was too optimistic: > >> build/gengtype.o build/errors.o build/gengtype-lex.o >> build/gengtype-parse.o build/gengtype-state.o build/version.o >> ../../build-x86_64-unknown-linux-gnu/libiberty/libiberty.a >> build/gengtype.o: In function `create_optional_field_': >> /u/gnu/proj/gcc-svn-bld/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype.c:1002: >> undefined reference to `lexer_line' > > > What is this message really telling me?
It usually means you don't have bison and/or flex installed. They are documented as prerequisites for building from svn. I don't think bisonc++ is needed, that answer is wrong (or at best misleading, maybe for that person installing bisonc++ caused flex to be installed).