Em làm theo hướng dẫn này:
thì khi thực hiện lệnh make nó thực hiện 1 chuỗi các thao tác và dòng cuối nó báo như sau:
Mấy anh chỉ dùm em cách khác phục. Em xin cám ơn
Download (but do not unpack) binutils-2.9.1.tar.gz and gcc-2.7.2.3.tar.gz into /opt/uClinux. 'cd' into /opt/uClinux/uclinuxgcc-kit-160899 and edit Makefile to set the install directory (INSTALLDIR). This is where the uClinux compilers will be installed. Now type 'make' to install the toolchain.
checking for bison... no
checking for byacc... no
checking for flex... lex
checking for yywrap in -ll... no
checking how to run the C preprocessor... (cached) gcc -E
checking lex output file root... ./configure: 1: lex: not found
configure: error: cannot find output from lex; giving up
Configure in /opt/uClinux/uclinuxgcc-kit-160899/binutils-2.9.1.kernel/binutils failed, exiting.
make: *** [/opt/uClinux/bin/m68k-coff-as] Error 1
checking for byacc... no
checking for flex... lex
checking for yywrap in -ll... no
checking how to run the C preprocessor... (cached) gcc -E
checking lex output file root... ./configure: 1: lex: not found
configure: error: cannot find output from lex; giving up
Configure in /opt/uClinux/uclinuxgcc-kit-160899/binutils-2.9.1.kernel/binutils failed, exiting.
make: *** [/opt/uClinux/bin/m68k-coff-as] Error 1
Comment