On 2/17/2011 7:15 PM, Jonathan Wakely wrote:
On 17 February 2011 16:30, charfi asma wrote:
......
/export/home/charfi/Bureau/build_uml/gcc/../../gcc-dev/gcc/gengtype-parse.c:915:
undefined reference to `lexer_line'
build/gengtype-parse.o: In function `token':
/export/home/charfi/Bureau/build_uml/gcc/../../gcc-dev/gcc/gengtype-parse.c:49:
undefined reference to `yylex'
build/gengtype-parse.o: In function `typedef_decl':
/export/home/charfi/Bureau/build_uml/gcc/../../gcc-dev/gcc/gengtype-parse.c:838:
undefined reference to `lexer_line'
build/gengtype-parse.o: In function `def_vec_alloc':
/export/home/charfi/Bureau/build_uml/gcc/../../gcc-dev/gcc/gengtype-parse.c:939:
undefined reference to `lexer_line'
build/gengtype-parse.o: In function `token':
/export/home/charfi/Bureau/build_uml/gcc/../../gcc-dev/gcc/gengtype-parse.c:49:
undefined reference to `yylex'
/export/home/charfi/Bureau/build_uml/gcc/../../gcc-dev/gcc/gengtype-parse.c:49:
undefined reference to `yylex'
collect2: ld a retourné 1 code d'état d'exécution
make[2]: *** [build/gengtype] Erreur 1
make[2]: quittant le répertoire « /export/home/charfi/Bureau/build_uml/gcc »
make[1]: *** [all-gcc] Erreur 2
make[1]: quittant le répert
did I miss something ?
Do you have Flex installed?
As documented at http://gcc.gnu.org/install/prerequisites.html it is
needed for building from the source repository.
Hey Asma,
I wasn't able to reproduce the error on my system using the same source
tree. Though, Jonathan might be right that you're missing some
prerequisites ...
Andi