I think gcc cannot find the installed Bison from Chapter 5, but i don�t understand why.Hi there,
all packages beyond chapter 6.13 were compiled successfully but building Binutils always produces the following errors. (Bison is missing ?)
Or what is the Problem.
I�ve read the Book. Good Book ??? 8-)
/sources/binutils-build/binutils/../../binutils-2.15.91.0.2/binutils/arlex.l:54:
error: `LIST' undeclared (first use in this function)
/sources/binutils-build/binutils/../../binutils-2.15.91.0.2/binutils/arlex.l:55:
error: `OPEN' undeclared (first use in this function)
/sources/binutils-build/binutils/../../binutils-2.15.91.0.2/binutils/arlex.l:56:
error: `REPLACE' undeclared (first use in this function)
/sources/binutils-build/binutils/../../binutils-2.15.91.0.2/binutils/arlex.l:57:
error: `VERBOSE' undeclared (first use in this function)
/sources/binutils-build/binutils/../../binutils-2.15.91.0.2/binutils/arlex.l:58:
error: `SAVE' undeclared (first use in this function)
/sources/binutils-build/binutils/../../binutils-2.15.91.0.2/binutils/arlex.l:79:
error: `yylval' undeclared (first use in this function)
/sources/binutils-build/binutils/../../binutils-2.15.91.0.2/binutils/arlex.l:80:
error: `FILENAME' undeclared (first use in this function)
/sources/binutils-build/binutils/../../binutils-2.15.91.0.2/binutils/arlex.l:85:
error: `NEWLINE' undeclared (first use in this function) lex.yy.c: At top level: lex.yy.c:1842: warning: no previous prototype for 'yyget_lineno' lex.yy.c:1851: warning: no previous prototype for 'yyget_in' lex.yy.c:1859: warning: no previous prototype for 'yyget_out' lex.yy.c:1867: warning: no previous prototype for 'yyget_leng' lex.yy.c:1876: warning: no previous prototype for 'yyget_text' lex.yy.c:1885: warning: no previous prototype for 'yyset_lineno' lex.yy.c:1897: warning: no previous prototype for 'yyset_in' lex.yy.c:1902: warning: no previous prototype for 'yyset_out' lex.yy.c:1907: warning: no previous prototype for 'yyget_debug' lex.yy.c:1912: warning: no previous prototype for 'yyset_debug' lex.yy.c:1918: warning: no previous prototype for 'yylex_destroy' lex.yy.c:1350: warning: 'yyunput' defined but not used make[3]: *** [arlex.o] Error 1 make[3]: Leaving directory `/sources/binutils-build/binutils' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/sources/binutils-build/binutils' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/sources/binutils-build/binutils' make: *** [all-binutils] Error 2 root:/sources/binutils-build#
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
