EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: EPICS R3.14 problem
From: Andrew Johnson <[email protected]>
To: Krishna <[email protected]>, Janet Anderson <[email protected]>
Cc: EPICS tech-talk <[email protected]>
Date: Thu, 07 Nov 2002 13:14:46 -0600
Hi Vijayram,

Krishna wrote:

Andy, I have compiled the build, after compilation it created bin, config and configure directories as output but it failed to build the src directory, this is the output I got, Could you suggest me as to what could have gone wrong for it build the src files of the build,

Ok, your Linux system doesn't have the /usr/lib/libreadline library installed, which I guess we assumed that all Linuxes would have. The simplest answer would be to tell you to install that using the relevent RPM (or whatever package system your linux version uses), but there are several versions of the readline library on our systems here and I'm not sure which version we use/need. I suspect it's the .so version though if you want to try installing a suitable package containing that.


For other OSs where libreadline isn't available there is an emulator included in the EPICS code, but to switch to that you'd need to modify the configuration and possibly some of the Makefiles, and I'm not the best person to handle that kind of issue, so I've copied this message to Janet Anderson, who is the expert on the build system.


Janet,


what's the simplest way to resolve this? Will ld be looking for libreadline.a or one of the .so versions (which are in different Linux RPMs on Red Hat at least). How easy would it be to switch to using epicsReadline instead on Linux? We need to resolve this problem and either put libreadline as a requirement on Linux or make it easy to include or exclude within the build system.

- Andrew

--- Andrew Johnson <[email protected]> wrote:

Hi Vijayram,

Krishna wrote:

If my host itself is the target for building the
software, could you guide me as to if I should do
changes to specify

cross-compile-target-architecture.


My host is linux-x86 and I would like to make

itself


as my target architecture.

The R3.14 build system will compile everything for
the host machine automatically. You only need to set
CROSS_COMPILER_TARGET_ARCHS if you want it to cross-compile for a different target
(usually RTEMS or vxWorks) - leave it blank or commented out for just native
binaries.


- Andrew
--
"Life is what happens while you're busy making other
plans." - John Lennon





__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2


------------------------------------------------------------------------


make -C src buildInstall
make[1]: Entering directory `/home/gopu/epics/base/src'
make -C toolsComm buildInstall
make[2]: Entering directory `/home/gopu/epics/base/src/toolsComm'
make -C antelope buildInstall
make[3]: Entering directory `/home/gopu/epics/base/src/toolsComm/antelope'
perl ../../../configure/tools/makeMakefile.pl O.linux-x86 ../../../..
mkdir O.Common
make -C O.linux-x86 -f ../Makefile TOP=../../../.. T_A=linux-x86 buildInstall
make[4]: Entering directory `/home/gopu/epics/base/src/toolsComm/antelope/O.linux-x86'
make[4]: Leaving directory `/home/gopu/epics/base/src/toolsComm/antelope/O.linux-x86'
make[4]: Entering directory `/home/gopu/epics/base/src/toolsComm/antelope/O.linux-x86'
/usr/bin/gcc -c   -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS  -DOSITHREAD_USE_DEFAULT_STACK       -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT -ansi -pedantic  -O3  -w     -D_NO_PROTO  -mcpu=pentium -fPIC   -I. -I.. -I/home/gopu/epics/epics_install2/include/os/Linux -I/home/gopu/epics/epics_install2/include          ../closure.c
/usr/bin/gcc -c   -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS  -DOSITHREAD_USE_DEFAULT_STACK       -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT -ansi -pedantic  -O3  -w     -D_NO_PROTO  -mcpu=pentium -fPIC   -I. -I.. -I/home/gopu/epics/epics_install2/include/os/Linux -I/home/gopu/epics/epics_install2/include          ../error.c
/usr/bin/gcc -c   -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS  -DOSITHREAD_USE_DEFAULT_STACK       -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT -ansi -pedantic  -O3  -w     -D_NO_PROTO  -mcpu=pentium -fPIC   -I. -I.. -I/home/gopu/epics/epics_install2/include/os/Linux -I/home/gopu/epics/epics_install2/include          ../lalr.c
/usr/bin/gcc -c   -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS  -DOSITHREAD_USE_DEFAULT_STACK       -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT -ansi -pedantic  -O3  -w     -D_NO_PROTO  -mcpu=pentium -fPIC   -I. -I.. -I/home/gopu/epics/epics_install2/include/os/Linux -I/home/gopu/epics/epics_install2/include          ../lr0.c
/usr/bin/gcc -c   -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS  -DOSITHREAD_USE_DEFAULT_STACK       -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT -ansi -pedantic  -O3  -w     -D_NO_PROTO  -mcpu=pentium -fPIC   -I. -I.. -I/home/gopu/epics/epics_install2/include/os/Linux -I/home/gopu/epics/epics_install2/include          ../main.c
/usr/bin/gcc -c   -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS  -DOSITHREAD_USE_DEFAULT_STACK       -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT -ansi -pedantic  -O3  -w     -D_NO_PROTO  -mcpu=pentium -fPIC   -I. -I.. -I/home/gopu/epics/epics_install2/include/os/Linux -I/home/gopu/epics/epics_install2/include          ../mkpar.c
/usr/bin/gcc -c   -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS  -DOSITHREAD_USE_DEFAULT_STACK       -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT -ansi -pedantic  -O3  -w     -D_NO_PROTO  -mcpu=pentium -fPIC   -I. -I.. -I/home/gopu/epics/epics_install2/include/os/Linux -I/home/gopu/epics/epics_install2/include          ../output.c
/usr/bin/gcc -c   -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS  -DOSITHREAD_USE_DEFAULT_STACK       -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT -ansi -pedantic  -O3  -w     -D_NO_PROTO  -mcpu=pentium -fPIC   -I. -I.. -I/home/gopu/epics/epics_install2/include/os/Linux -I/home/gopu/epics/epics_install2/include          ../reader.c
/usr/bin/gcc -c   -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS  -DOSITHREAD_USE_DEFAULT_STACK       -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT -ansi -pedantic  -O3  -w     -D_NO_PROTO  -mcpu=pentium -fPIC   -I. -I.. -I/home/gopu/epics/epics_install2/include/os/Linux -I/home/gopu/epics/epics_install2/include          ../skeleton.c
/usr/bin/gcc -c   -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS  -DOSITHREAD_USE_DEFAULT_STACK       -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT -ansi -pedantic  -O3  -w     -D_NO_PROTO  -mcpu=pentium -fPIC   -I. -I.. -I/home/gopu/epics/epics_install2/include/os/Linux -I/home/gopu/epics/epics_install2/include          ../symtab.c
/usr/bin/gcc -c   -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS  -DOSITHREAD_USE_DEFAULT_STACK       -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT -ansi -pedantic  -O3  -w     -D_NO_PROTO  -mcpu=pentium -fPIC   -I. -I.. -I/home/gopu/epics/epics_install2/include/os/Linux -I/home/gopu/epics/epics_install2/include          ../verbose.c
/usr/bin/gcc -c   -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS  -DOSITHREAD_USE_DEFAULT_STACK       -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT -ansi -pedantic  -O3  -w     -D_NO_PROTO  -mcpu=pentium -fPIC   -I. -I.. -I/home/gopu/epics/epics_install2/include/os/Linux -I/home/gopu/epics/epics_install2/include          ../warshall.c
/usr/bin/g++ -o antelope               closure.o error.o lalr.o lr0.o main.o mkpar.o output.o reader.o skeleton.o symtab.o verbose.o warshall.o         -lpthread  -lreadline -lcurses -lrt
/usr/bin/ld: cannot find -lreadline
collect2: ld returned 1 exit status
make[4]: *** [antelope] Error 1
make[4]: Leaving directory `/home/gopu/epics/base/src/toolsComm/antelope/O.linux-x86'
make[3]: *** [buildInstall.linux-x86] Error 2
make[3]: Leaving directory `/home/gopu/epics/base/src/toolsComm/antelope'
make[2]: *** [antelope.buildInstall] Error 2
make[2]: Leaving directory `/home/gopu/epics/base/src/toolsComm'
make[1]: *** [toolsComm.buildInstall] Error 2
make[1]: Leaving directory `/home/gopu/epics/base/src'
make: *** [src.buildInstall] Error 2




--
"Life is what happens while you're busy making other plans." - John Lennon


Navigate by Date:
Prev: Re: EPICS R3.14 problem Ralph Lange
Next: Re: EPICS R3.14 problem Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  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: EPICS R3.14 problem Eric Norum
Next: Cexp 1.0_beta is released - yet another runtime loader for RTEMS Till Straumann
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·