EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: R3.14.7 build error
From: Zoltan Kakucs <[email protected]>
To: Tech Talk <[email protected]>
Date: Wed, 02 Feb 2005 15:41:06 +0100
Hi,

I've downloaded the last 3.14.7 Release from the EPICS-Site and tried to build it for solaris-sparc. (Solaris 8.0)
The build crashed with the following error:


/opt/SUNWspro/bin/cc -c -D_POSIX_C_SOURCE=199506L -D_XOPEN_SOURCE=500 -DUNIX -DSOLARIS=8 -mt -D__EXTENSIONS__ -Xc -v -xO4 -DEPICS_COMMANDLINE_LIBRARY=EPICS_COMMANDLINE_LIBRARY_READLINE -KPIC -I. -I.. -I../../../src/libCom/bucketLib -I../../../src/libCom/ring -I../../../src/libCom/calc -I../../../src/libCom/cvtFast -I../../../src/libCom/cppStd -I../../../src/libCom/cxxTemplates -I../../../src/libCom/dbmf -I../../../src/libCom/ellLib -I../../../src/libCom/env -I../../../src/libCom/error -I../../../src/libCom/fdmgr -I../../../src/libCom/freeList -I../../../src/libCom/gpHash -I../../../src/libCom/logClient -I../../../src/libCom/macLib -I../../../src/libCom/misc -I../../../src/libCom/osi -I../../../src/libCom/taskwd -I../../../src/libCom/timer -I../../../src/libCom/tsDefs -I../../../include/os/solaris -I../../../include -I/opt/gnu/include ../../../src/libCom/osi/os/default/epicsReadline.c
"../../../src/libCom/osi/os/default/epicsReadline.c", line 76: cannot find include file: <readline/readline.h>
"../../../src/libCom/osi/os/default/epicsReadline.c", line 77: cannot find include file: <readline/history.h>
"../../../src/libCom/osi/os/default/epicsReadline.c", line 101: warning: implicit function declaration: stifle_history
"../../../src/libCom/osi/os/default/epicsReadline.c", line 102: warning: implicit function declaration: rl_bind_key
"../../../src/libCom/osi/os/default/epicsReadline.c", line 102: undefined symbol: rl_insert
"../../../src/libCom/osi/os/default/epicsReadline.c", line 124: warning: implicit function declaration: readline
"../../../src/libCom/osi/os/default/epicsReadline.c", line 124: warning: improper pointer/integer combination: op "="
"../../../src/libCom/osi/os/default/epicsReadline.c", line 162: warning: implicit function declaration: add_history
cc: acomp failed for ../../../src/libCom/osi/os/default/epicsReadline.c
gmake[3]: *** [epicsReadline.o] Error 2


My workaround for this error, in the base/src/libCom/osi/os/default/epicsReadLine.c file:

-- delete this line --- #ifndef EPICS_COMMANDLINE_LIBRARY
#define EPICS_COMMANDLINE_LIBRARY EPICS_COMMANDLINE_LIBRARY_EPICS
-- delete this line --- #endif

OR

-- add this line outside of that define --- #define EPICS_COMMANDLINE_LIBRARY EPICS_COMMANDLINE_LIBRARY_EPICS

Both represents the same ;-).

This is one solution for me for now, but please let me know, if there is a more official one ?
Release 3.14.6 can be built without such an error.


Regards,

Zoltan


--


Zoltan Kakucs, M.Sc.
Deutsches Elektronen-Synchrotron DESY
in der Helmholtz-Gemeinschaft
Cryogenic Control Group
Notkestraße 85
D-22607 Hamburg
+49 (0) 40 8998 - 3283 Voice
+49 (0) 40 8998 - 4388 Fax
mailto: [email protected]
DESY Hamburg at http://www.desy.de

***********************************************************

"Mut bedeutet nicht, keine Angst zu haben,
                 sondern es ist die Entscheidung,
         dass etwas anderes wichtiger ist, als die Angst."

Ambrose Red Moon

***********************************************************


Replies:
Re: R3.14.7 build error Eric Norum

Navigate by Date:
Prev: RE: Initial STAT and SEVR for soft ai and ao records Mark Rivers
Next: Motor Record Simulation Norbury, MA (Martin)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Initial STAT and SEVR for soft ai and ao records Ralph Lange
Next: Re: R3.14.7 build error Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·