error while installing binutils.

SPJ Systems spj@spjsystems.com
Wed Aug 31 05:48:00 GMT 2005



Kind attention:	Jani Monoses


I am trying to port eCos on to philips lpc2138 and i'm using windows as
host machine OS. The Cygwin has been installed and all the arm-elf 
(gcc-2.95, gdb-5.0,binutils-2.15,newlib-1.12.0) are being extracted to 
the respective dir.

    $ mkdir /src/binutils /src/gcc /src/gdb /src/newlib
    $ cd /src/binutils
           gunzip < binutils-2.15.tar.gz | tar xvf -
    in similar way all the other tool chains extracted

The tmp has been mounted as binary mode.

while building tool chain, i did following steps

   export MAKE_MODE=UNIX

1. GNU binary lib configuration:
		mkdir -p /tools
	mkdir -p /tmp/build/binutils
		/src/binutils/binutils-2.10.1/configure 		--target=arm-elf \
       		--prefix=/tools \
       		--exec-prefix=/tools/H-i686-pc-cygwin \
    		-v 2>&1 | tee configure.out

	make -w all install 2>&1 | tee make.out

at this step some error has occured like:	
                line:4417:  flex command not found
                line:4505:  lex command not found
             cannot found output from lex; giving up
             error1
             leaving directory: '/tmp/build/binutils'

The error part of 'make.out' file is copied below also the same is 
attached with this mail.
Please try to help me,
waiting for a positive reply.

with regards
Gopesh Warrier
SPJ Systems, Pune; India
  ====================================================================

checking for executable suffix... (cached) .exe
checking for bison... no
checking for byacc... no
checking for flex... no
checking for lex... no
/src/binutils/binutils-2.15/ld/configure: line 4417: flex: command not found
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... 
/src/binutils/binutils-2.15/ld/configure: line 4505: lex: command not found
configure: error: cannot find output from lex; giving up
make: *** [configure-ld] Error 1
make: Leaving directory `/tmp/build/binutils'

-- 
-----------------------------------------------------------------
SPJ Systems                    Tel.   : +91-20-27293002
101, Beaver Grandeur           Fax.   : +91-20-27293003
Baner Road                     E-mail : spj@spjsystems.com
Pune - 411 045 (INDIA)         URL    : http://www.spjsystems.com
-----------------------------------------------------------------

-----------------------------------------------------------------
Disclaimer
-----------------------------------------------------------------
"This message (including attachment if any) is confidential and
may be privileged.Before opening attachments please check them
for viruses and defects. SPJ Systems (SPJ) will not be responsible
for any viruses or defects or any forwarded attachments emanating
either from within SPJ or outside. If you have received this
message by mistake please notify the sender by return e-mail and
delete this message from your system. Any unauthorized use or
dissemination of this message in whole or in part is strictly
prohibited. Please note that e-mails are susceptible to change
and SPJ shall not be liable for any improper, untimely or
incomplete transmission."
-----------------------------------------------------------------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: error_binutils.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20050831/338d7e7f/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: make.out
URL: <https://sourceware.org/pipermail/binutils/attachments/20050831/338d7e7f/attachment.ksh>


More information about the Binutils mailing list