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  2010  <20112012  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  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: EPICS Base v3.14.12.1-rc1 compilation error
From: Eric Norum <[email protected]>
To: Ritesh Sugandhi <[email protected]>
Cc: EPICS tech-talk <[email protected]>
Date: Thu, 21 Apr 2011 08:04:45 -0700
You need to edit CONFIG_SITE.Common.linux-x86_64 and comment the
	COMMANDLINE_LIBRARY = READLINE
line and uncomment the correct line:
	COMMANDLINE_LIBRARY = READLINE_NCURSES
as described in the preceding comment:

# Depending on your version of Linux you'll want one of the following
# lines to enable command-line editing and history in iocsh.  If you're
# not sure which, start with the top one and work downwards until the
# build doesn't fail to link the readline library.  If none of them work,
# comment them all out to build without readline support.


On Apr 21, 2011, at 2:46 AM, Ritesh Sugandhi wrote:

> Dear Sir,
> 
> I am trying to compile EPICS Base v3.14.12.1-rc1 on  Linux ( kernal 2.6.18-194.8.1 x86-64 bit ; gcc (GCC) 4.1.2 ) on 64 bit machine
> 
> During compilation , I get following message
> 
> /usr/bin/g++ -o antelope  -L/home/ITER/sugandr/base-3.14.12.1-rc1/lib/linux-x86_64 -Wl,-rpath,/home/ITER/sugandr/base-3.14.12.1-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
> 
> I tried to look at libreadline library 
> 
> $ ls /usr/lib64/libreadline*
> /usr/lib64/libreadline.a  /usr/lib64/libreadline.so  /usr/lib64/libreadline.so.5  /usr/lib64/libreadline.so.5.1
> $ 
> 
> seeking help and suggestions,
> 
> Thanking you,
> 
> Best Regards,
> Ritesh Sugandhi

-- 
Eric Norum
[email protected]






References:
EPICS Base v3.14.12.1-rc1 compilation error Ritesh Sugandhi

Navigate by Date:
Prev: RE: PyEpics and Python threads Vigder, Mark
Next: Re: EPICS Base v3.14.12.1-rc1 compilation error Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: EPICS Base v3.14.12.1-rc1 compilation error Ritesh Sugandhi
Next: Re: EPICS Base v3.14.12.1-rc1 compilation error Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·