EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 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: Readline Issue
From: "Ernest L. Williams Jr." <[email protected]>
To: EPICS core-talk <[email protected]>
Date: Sat, 20 Nov 2010 09:25:52 -0800
Hi,

Trying base 3-14-12 Release candidate RC1

Host: Red Hat Enterprise Linux Client release 5.5 (Tikanga)
Arch: linux-x86_64
Compiler: gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)

Version of READLINE:
[ernesto@jaguar toolsComm]$ rpm -qa grep readline
readline-5.1-3.el5
readline-devel-5.1-3.el5

I tried the reocmmendations mentioned in the EPICS Config file for my architecture.
# This one does not work with RHEL 5
#COMMANDLINE_LIBRARY = READLINE

# This one works but had to do a clean uninstall and
# Try again. :)
COMMANDLINE_LIBRARY = READLINE_NCURSES
#COMMANDLINE_LIBRARY = READLINE_CURSES
=============================================================================
Problem with READLINE

/usr/bin/g++ -o antelope -L/usr/local/lcls/epics/base/base-3.14.12-rc1/lib/linux-x86_64 -Wl,-rpath,/usr/local/lcls/epics/base/base-3.14.12-rc1/lib/linux-x86_64 -m64 closure.o error.o lalr.o lr0.o main.o mkpar.o output.o reader.o skeleton.o symtab.o verbose.o warshall.o -lCom
/usr/lib64/libreadline.so.5: undefined reference to `PC'
/usr/lib64/libreadline.so.5: undefined reference to `tgetflag'
/usr/lib64/libreadline.so.5: undefined reference to `tgetent'
/usr/lib64/libreadline.so.5: undefined reference to `UP'
/usr/lib64/libreadline.so.5: undefined reference to `tputs'
/usr/lib64/libreadline.so.5: undefined reference to `tgoto'
/usr/lib64/libreadline.so.5: undefined reference to `tgetnum'
/usr/lib64/libreadline.so.5: undefined reference to `BC'
/usr/lib64/libreadline.so.5: undefined reference to `tgetstr'
collect2: ld returned 1 exit status
make[4]: *** [antelope] Error 1
make[4]: Leaving directory `/usr/local/lcls/epics/base/base-3.14.12-rc1/src/toolsComm/antelope/O.linux-x86_64'
make[3]: *** [install.linux-x86_64] Error 2
make[3]: Leaving directory `/usr/local/lcls/epics/base/base-3.14.12-rc1/src/toolsComm/antelope'
make[2]: *** [antelope.install] Error 2
make[2]: Leaving directory `/usr/local/lcls/epics/base/base-3.14.12-rc1/src/toolsComm'
make[1]: *** [toolsComm.install] Error 2
make[1]: Leaving directory `/usr/local/lcls/epics/base/base-3.14.12-rc1/src'
make: *** [src.install] Error 2
==============================================================================

COMMANDLINE_LIBRARY = READLINE_NCURSES  worked for me.



Cheers,
Ernest


Replies:
Re: 3.14.12 Issues Andrew Johnson

Navigate by Date:
Prev: RE: Two CA client questions Jeff Hill
Next: Re: 3.14.12 Issues Andrew Johnson
Index: 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: Two CA client questions Jeff Hill
Next: Re: 3.14.12 Issues Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·