EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Cross-compilation missing library
From: [email protected]
To: EPICS tech-talk <[email protected]>
Date: Tue, 16 Nov 2010 12:21:36 -0800
I am trying to compile the sequencer on arm.
I am using a cross toolchain.
I am apparently missing the flex library for the arm toolchain.
Is there a way to install the flex library for arm on my linux 64b?
If so, how?

perl ../sncVersion.pl 2.0.12 > sncVersion.c
/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-gcc -c
-D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500           -D_ARM_NWFP_
-DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT   -O3   -Wall           -I. -I../O.Common -I.
-I.. -I../../../include/os/Linux -I../../../include
-I/usr/local/epics/base/3.14.11/include/os/Linux -I/usr/local/epics/base/3.14.11/include
-I/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/arm-linux/include  sncVersion.c 
/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-g++ -o snc
-L/usr/local/epics/base/3.14.11/lib/linux-armv4tl
-Wl,-rpath,/usr/local/epics/base/3.14.11/lib/linux-armv4tl
-Wl,-rpath-link,/usr/local/epics/base/3.14.11/lib/linux-armv4tl
-L/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/arm-linux/lib
snc_main.o parse.o phase2.o gen_ss_code.o gen_tables.o snc.o sncVersion.o   -lrecIoc
-lsoftDevIoc -lmiscIoc -lrsrvIoc -ldbtoolsIoc -lasIoc -ldbIoc -lregistryIoc -ldbStaticIoc
-lca -lCom  -lfl 
/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/lib/gcc-lib/arm-linux/3.3.4/../../../../arm-linux/bin/ld:
cannot find -lfl
collect2: ld returned 1 exit status
make[3]: *** [snc] Error 1
make[3]: Leaving directory
`/usr/local/epics-armv4tl/extras/3_14_11-20101027_120536/seq/2-0-12-20101116_120930/src/snc/O.linux-armv4tl'
make[2]: *** [install.linux-armv4tl] Error 2
make[2]: Leaving directory
`/usr/local/epics-armv4tl/extras/3_14_11-20101027_120536/seq/2-0-12-20101116_120930/src/snc'
make[1]: *** [snc.install] Error 2
make[1]: Leaving directory
`/usr/local/epics-armv4tl/extras/3_14_11-20101027_120536/seq/2-0-12-20101116_120930/src'
make: *** [src.install] Error 2

-- 
Emmanuel

Replies:
Re: Cross-compilation missing library Andrew Johnson

Navigate by Date:
Prev: RE: the hex instruction convert peter.owens
Next: Re: Cross-compilation missing library Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: the hex instruction convert Dirk Zimoch
Next: Re: Cross-compilation missing library Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Nov 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·