EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  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  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Problem building epics base-3.14.6 with recent gcc on linux
From: Robert Soliday <[email protected]>
To: tech-talk <[email protected]>
Date: Thu, 18 Nov 2004 10:12:14 -0600
I do not believe it has anything to do with your compiler. It appears that you do not have the readline package installed. You can still get EPICS Base to compile without it if you edit base/configure/os/CONFIG_SITE.Common.linux-x86 and comment out the last line where it sets COMMANDLINE_LIBRARY = READLINE

--Bob Soliday


Chip Piller wrote:
Hi,
I've tried to build epics base-3.14.6 on linux, results are:

gcc 3.3.2:  Success.
gcc 3.3.4:  Failed for both 3.14.6 and latest CVS.
gcc 3.4.2:  Failed for both 3.14.6 and latest CVS.

Any info/suggestions for using recent gcc?

Thanks,
Chip Piller

===========================
Output from failed build:
-I../../../include ../../../src/libCom/osi/os/default/epicsReadline.c
../../../src/libCom/osi/os/default/epicsReadline.c:77:31: readline/readline.h: No such file or directory
../../../src/libCom/osi/os/default/epicsReadline.c:78:30: readline/history.h: No such file or directory
../../../src/libCom/osi/os/default/epicsReadline.c: In function `epicsReadlineBegin':
../../../src/libCom/osi/os/default/epicsReadline.c:102: warning: implicit declaration of function `stifle_history'
../../../src/libCom/osi/os/default/epicsReadline.c:103: warning: implicit declaration of function `rl_bind_key'
../../../src/libCom/osi/os/default/epicsReadline.c:103: error: `rl_insert' undeclared (first use in this function)
../../../src/libCom/osi/os/default/epicsReadline.c:103: error: (Each undeclared identifier is reported only once
../../../src/libCom/osi/os/default/epicsReadline.c:103: error: for each function it appears in.)
../../../src/libCom/osi/os/default/epicsReadline.c: In function `epicsReadline':../../../src/libCom/osi/os/default/epicsReadline.c:125: warning: implicit declaration of function `readline'
../../../src/libCom/osi/os/default/epicsReadline.c:125: warning: assignment makes pointer from integer without a cast
../../../src/libCom/osi/os/default/epicsReadline.c:163: warning: implicit declaration of function `add_history'
make[3]: *** [epicsReadline.o] Error 1
make[3]: Leaving directory `/home/piller/epics/base-3.14.6/src/libCom/O.linux-x86'
make[2]: *** [install.linux-x86] Error 2
make[2]: Leaving directory `/home/piller/epics/base-3.14.6/src/libCom'
make[1]: *** [libCom.install] Error 2
make[1]: Leaving directory `/home/piller/epics/base-3.14.6/src'
make: *** [src.install] Error 2
piller@piller64 ~/epics/base-3.14.6 $







Replies:
Re: Problem building epics base-3.14.6 with recent gcc on linux Chip Piller
References:
Problem building epics base-3.14.6 with recent gcc on linux Chip Piller

Navigate by Date:
Prev: Problem building epics base-3.14.6 with recent gcc on linux Chip Piller
Next: Re: Problem building epics base-3.14.6 with recent gcc on linux Chip Piller
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Problem building epics base-3.14.6 with recent gcc on linux Chip Piller
Next: Re: Problem building epics base-3.14.6 with recent gcc on linux Chip Piller
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  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 ·