Цитата(klen @ May 22 2008, 18:13)
с BU давно никаких проблем нет, руками не трогаю. Что именно не компиляется/несобирается
Конфигурирую со следующими опциями:
--prefix=${PREFIX} --target=${TARGET} --disable-nls --disable-shared --with-gnu-ld --with-gnu-as --enable-interwork --enable-multlib --with-float=soft
При сборке выдает следущее:
arlex.l: In function ‘yylex’:
arlex.l:44: error: ‘ADDLIB’ undeclared (first use in this function)
arlex.l:44: error: (Each undeclared identifier is reported only once
arlex.l:44: error: for each function it appears in.)
arlex.l:45: error: ‘ADDMOD’ undeclared (first use in this function)
arlex.l:46: error: ‘CLEAR’ undeclared (first use in this function)
arlex.l:47: error: ‘CREATE’ undeclared (first use in this function)
arlex.l:48: error: ‘DELETE’ undeclared (first use in this function)
arlex.l:49: error: ‘DIRECTORY’ undeclared (first use in this function)
arlex.l:50: error: ‘END’ undeclared (first use in this function)
arlex.l:51: error: ‘EXTRACT’ undeclared (first use in this function)
arlex.l:52: error: ‘FULLDIR’ undeclared (first use in this function)
arlex.l:53: error: ‘HELP’ undeclared (first use in this function)
arlex.l:54: error: ‘LIST’ undeclared (first use in this function)
arlex.l:55: error: ‘OPEN’ undeclared (first use in this function)
arlex.l:56: error: ‘REPLACE’ undeclared (first use in this function)
arlex.l:57: error: ‘VERBOSE’ undeclared (first use in this function)
arlex.l:58: error: ‘SAVE’ undeclared (first use in this function)
arlex.l:79: error: ‘yylval’ undeclared (first use in this function)
arlex.l:80: error: ‘FILENAME’ undeclared (first use in this function)
arlex.l:85: error: ‘NEWLINE’ undeclared (first use in this function)
arlex.c: At top level:
arlex.c:1856: warning: no previous prototype for ‘yyget_lineno’
arlex.c:1865: warning: no previous prototype for ‘yyget_in’
arlex.c:1873: warning: no previous prototype for ‘yyget_out’
arlex.c:1881: warning: no previous prototype for ‘yyget_leng’
arlex.c:1890: warning: no previous prototype for ‘yyget_text’
arlex.c:1899: warning: no previous prototype for ‘yyset_lineno’
arlex.c:1911: warning: no previous prototype for ‘yyset_in’
arlex.c:1916: warning: no previous prototype for ‘yyset_out’
arlex.c:1921: warning: no previous prototype for ‘yyget_debug’
arlex.c:1926: warning: no previous prototype for ‘yyset_debug’
arlex.c:1960: warning: no previous prototype for ‘yylex_destroy’
make[4]: *** [arlex.o] Ошибка 1
make[4]: Leaving directory `/usr/local/arm/src/build/binutils-2.18.50/binutils'
make[3]: *** [all-recursive] Ошибка 1
make[3]: Leaving directory `/usr/local/arm/src/build/binutils-2.18.50/binutils'
make[2]: *** [all] Ошибка 2
make[2]: Leaving directory `/usr/local/arm/src/build/binutils-2.18.50/binutils'
make[1]: *** [all-binutils] Ошибка 2
make[1]: Leaving directory `/usr/local/arm/src/build/binutils-2.18.50'
make: *** [all] Ошибка 2
Все тоже самое с binutils-2.18-1 проходит на ура