dlink dir 300 nru B7.
не удается собрать прошивку из исходников размещенных на сайте
http://tsd.dlink.com.twпосле распаковывания из архива пользуюсь инструкцией размещенной в файле DIR-300.GPL.readme.txt
cahek@debian6cahek:~/dir300$ pwd
/home/cahek/dir300
cahek@debian6cahek:~/dir300$ chmod +x build_tool_chain.sh
далее по инструкции
cahek@debian6cahek:~/dir300$ ./build_tool_chain.sh
далее "5" и 5 раз enter
в итоге получаю следующий вывод
echo '/*WARNING: This file is automatically generated!*/' >tmp-c-parse.y
sed -e "/^ifobjc$/,/^end ifobjc$/d" \
-e "/^ifc$/d" -e "/^end ifc$/d" \
/home/cahek/dir300/buildroot/toolchain_build_mips/gcc-3.3.5/gcc/c-parse.in >>tmp-c-parse.y
/bin/sh /home/cahek/dir300/buildroot/toolchain_build_mips/gcc-3.3.5/gcc/move-if-change tmp-c-parse.y /home/cahek/dir300/buildroot/toolchain_build_mips/gcc-3.3.5/gcc/c-parse.y
cd /home/cahek/dir300/buildroot/toolchain_build_mips/gcc-3.3.5/gcc && \
if bison -o c-p$$.c c-parse.y; then \
test -f c-p$$.output && mv -f c-p$$.output c-parse.output ; \
mv -f c-p$$.c c-parse.c ; \
else \
rm -f c-p$$.* ; \
false ; \
fi
c-parse.y:1664.19-20: $$ for the midrule at $4 of `structsp_attr' has no declared type
c-parse.y:1674.19-20: $$ for the midrule at $4 of `structsp_attr' has no declared type
c-parse.y:1682.19-20: $$ for the midrule at $4 of `structsp_attr' has no declared type
c-parse.y:1687.19-20: $$ for the midrule at $3 of `structsp_attr' has no declared type
make[2]: *** [/home/cahek/dir300/buildroot/toolchain_build_mips/gcc-3.3.5/gcc/c-parse.c] Ошибка 1
make[2]: Leaving directory `/home/cahek/dir300/buildroot/toolchain_build_mips/gcc-3.3.5-initial/gcc'
make[1]: *** [all-gcc] Ошибка 2
make[1]: Leaving directory `/home/cahek/dir300/buildroot/toolchain_build_mips/gcc-3.3.5-initial'
make: *** [/home/cahek/dir300/buildroot/toolchain_build_mips/gcc-3.3.5-initial/.compiled] Ошибка 2
make: Leaving directory `/home/cahek/dir300/buildroot'
Use source ./setupenv to setup your environment variables !Вопрос соответственно заключается в следующем: что необходимо изменить, чтобы в итоге исходные коды собрались в прошивку?