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 Jeff Hill
- Re: cross compiler error J. Lewis Muir
- Navigate by Date:
- Prev:
Re: EPICS Base darwin-x86_64 target architecture? J. Lewis Muir
- Next:
RE: cross compiler error Jeff Hill
- 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:
Re: pyEpics want postponed connecting Matt Newville
- Next:
RE: cross compiler error Jeff Hill
- 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
|