Hi,
you may need to install flex and bison
Jeff
______________________________________________________
Jeffrey O. Hill Email [email protected]
LANL MS H820 Voice 505 665 1831
Los Alamos NM 87545 USA FAX 505 665 5107
Message content: TSPA
With sufficient thrust, pigs fly just fine. However, this is
not necessarily a good idea. It is hard to be sure where they
are going to land, and it could be dangerous sitting under them
as they fly overhead. -- RFC 1925
> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> On Behalf Of Chen Xue
> Sent: Friday, June 03, 2011 9:06 AM
> To: [email protected]
> Subject: cross compiler error
>
> Hi, there,
>
> I will install the EPICS Server under vxWorks version 5.4.2 (for
> Motorola MVME 5100). I downloaded the cross-compiler file,
> cross-gcc-2.9.6.tar.gz, for linux from http://ics-web.sns.ornl.gov/dht/.
> Untar it and configured WIND_BASE in mkCrossGCC file. When I run
> ./mkCrossGCC CPU=ppc, I got the following error message. Could someone
> help me?
>
> Fixing /root/cross-compiler-build-dir/obj-ppc/cpp/gcc/Makefile to add CPU
> cd /root/cross-compiler-build-dir/obj-ppc/cpp/gcc ; mv Makefile
> Makefile.orig ;\
> sed 's/^CROSS=/CROSS=-DCPU=PPC603 /' <Makefile.orig >Makefile
> ========= Building gas.config
> mkdir -p /root/cross-compiler-build-dir/obj-ppc/gas
> cd /root/cross-compiler-build-dir/obj-ppc/gas ;\
> /home/chen/Cross-Compiler/host/src/gnu.ppc/gas/configure
> --with-cpu=603 --prefix=/home/chen/Cross-Compiler/host/x86-linux
> --target=powerpc-wrs-vxworks --host=i386-redhat-linux
> --with-headers=/home/chen/Cross-Compiler/target/h -enable-bfd-assembler
> loading cache ./config.cache
> checking for Cygwin environment... (cached) no
> checking for mingw32 environment... (cached) no
> checking host system type... i386-redhat-linux-gnu
> checking target system type... powerpc-wrs-vxworks
> checking build system type... i386-redhat-linux-gnu
> checking for gcc... (cached) gcc
> checking whether the C compiler (gcc ) works... yes
> checking whether the C compiler (gcc ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for POSIXized ISC... no
> checking for a BSD compatible install... (cached) /usr/bin/install -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... (cached) yes
> checking for working aclocal... missing
> checking for working autoconf... missing
> checking for working automake... missing
> checking for working autoheader... missing
> checking for working makeinfo... found
> checking for ld used by GCC... (cached) /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
> checking for /usr/bin/ld option to reload object files... (cached) -r
> checking for BSD-compatible nm... (cached) /usr/bin/nm -B
> checking whether ln -s works... (cached) yes
> checking how to recognise dependant libraries... (cached) pass_all
> checking for object suffix... (cached) o
> checking for executable suffix... (cached) no
> checking for ranlib... (cached) ranlib
> checking for strip... (cached) strip
> loading cache ./config.cache within ltconfig
> checking whether -lc should be explicitly linked in... (cached) no
> checking for objdir... .libs
> checking for gcc option to produce PIC... -fPIC -DPIC
> checking if gcc PIC flag -fPIC -DPIC works... (cached) yes
> checking if gcc static flag -static works... (cached) yes
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -fno-rtti -fno-exceptions ... no
> checking whether the linker (/usr/bin/ld) supports shared libraries... yes
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking command to parse /usr/bin/nm -B output... ok
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> creating libtool
> loading cache ./config.cache
> checking for gcc... (cached) gcc
> checking whether the C compiler (gcc -g -O2 ) works... yes
> checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for bison... no
> checking for byacc... no
> checking how to run the C preprocessor... gcc -E
> checking for flex... no
> checking for lex... no
> /home/chen/Cross-Compiler/host/src/gnu.ppc/gas/configure: 3437: flex:
> not found
> checking for flex... lex
> checking for yywrap in -ll... no
> checking lex output file root...
> /home/chen/Cross-Compiler/host/src/gnu.ppc/gas/configure: 1: lex: not
> found
> configure: error: cannot find output from lex; giving up
> make: *** [gas.config] Error 1
>
> Thank you!
>
> Chen
- Replies:
- Re: cross compiler error Chen Xue
- References:
- cross compiler error Chen Xue
- Navigate by Date:
- Prev:
cross compiler error Chen Xue
- Next:
Re: cross compiler error J. Lewis Muir
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
<2011>
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
cross compiler error Chen Xue
- Next:
Re: cross compiler error Chen Xue
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
<2011>
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|