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  2011  2012  2013  2014  <20152016  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  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Error while building EPICS base
From: Ralph Lange <[email protected]>
To: Deepika Thakur <[email protected]>, EPICS Tech-Talk <[email protected]>
Date: Wed, 14 Oct 2015 13:43:38 +0200
Hello Thakur,

Why are you building 3.14.12.1? This release is more than four years old, lots of bugs have been fixed since then. The current release of the 3.14 (aka stable) series is 3.14.12.5. [1]
When sending such reports, please always include a description of the context (system, architecture, compiler) that you are using.

The particular bug you are seeing occurred when compiling EPICS Base on gcc newer than ~4.6.1. It was fixed in revision 12264 [2] of the 3.14 series, in August 2011.

If you do not have to support existing 3.14 drivers or IOC applications, I would suggest using the 3.15 (aka current) series of EPICS Base, which has a bunch of additional features.
Otherwise, please use the newest 3.14 release.

Cheers,
~Ralph

[1] http://www.aps.anl.gov/epics/base/R3-14/12.php
[2] http://bazaar.launchpad.net/~epics-core/epics-base/3.14/revision/12264


On 14/10/2015 13:16, Deepika Thakur wrote:
Hello,
How to resolve these errors which I am getting while building EPICS base?

[root@localhost base-3.14.12.1]# make
make -C ./configure install
make[1]: Entering directory `/home/epics/EPICS/base-3.14.12.1/configure'
make -C O.linux-x86 -f ../Makefile TOP=../.. T_A=linux-x86 install
make[2]: Entering directory `/home/epics/EPICS/base-3.14.12.1/configure/O.linux-x86'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/home/epics/EPICS/base-3.14.12.1/configure/O.linux-x86'
make[1]: Leaving directory `/home/epics/EPICS/base-3.14.12.1/configure'
make -C ./src install
make[1]: Entering directory `/home/epics/EPICS/base-3.14.12.1/src'
make -C ./tools install
make[2]: Entering directory `/home/epics/EPICS/base-3.14.12.1/src/tools'
make -C O.linux-x86 -f ../Makefile TOP=../../.. T_A=linux-x86 install
make[3]: Entering directory `/home/epics/EPICS/base-3.14.12.1/src/tools/O.linux-x86'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/home/epics/EPICS/base-3.14.12.1/src/tools/O.linux-x86'
make[2]: Leaving directory `/home/epics/EPICS/base-3.14.12.1/src/tools'
make -C ./makeBaseApp install
make[2]: Entering directory `/home/epics/EPICS/base-3.14.12.1/src/makeBaseApp'
make -C O.linux-x86 -f ../Makefile TOP=../../.. T_A=linux-x86 install
make[3]: Entering directory `/home/epics/EPICS/base-3.14.12.1/src/makeBaseApp/O.linux-x86'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/home/epics/EPICS/base-3.14.12.1/src/makeBaseApp/O.linux-x86'
make[2]: Leaving directory `/home/epics/EPICS/base-3.14.12.1/src/makeBaseApp'
make -C ./makeBaseExt install
make[2]: Entering directory `/home/epics/EPICS/base-3.14.12.1/src/makeBaseExt'
make -C O.linux-x86 -f ../Makefile TOP=../../.. T_A=linux-x86 install
make[3]: Entering directory `/home/epics/EPICS/base-3.14.12.1/src/makeBaseExt/O.linux-x86'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/home/epics/EPICS/base-3.14.12.1/src/makeBaseExt/O.linux-x86'
make[2]: Leaving directory `/home/epics/EPICS/base-3.14.12.1/src/makeBaseExt'
make -C ./libCom install
make[2]: Entering directory `/home/epics/EPICS/base-3.14.12.1/src/libCom'
make -C O.linux-x86 -f ../Makefile TOP=../../.. T_A=linux-x86 install
make[3]: Entering directory `/home/epics/EPICS/base-3.14.12.1/src/libCom/O.linux-x86'

/usr/bin/g++ -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500           -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT   -O3   -Wall      -m32     -g -fPIC -MMD -I. -I../O.Common -I. -I../../../src/libCom/osi/os/Linux -I../../../src/libCom/osi/os/posix -I../../../src/libCom/osi/os/default -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/iocsh -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/Linux -I../../../include        ../../../src/libCom/cxxTemplates/epicsOnce.cpp
In file included from ../../../src/libCom/cxxTemplates/epicsOnce.cpp:29:0:
../../../src/libCom/cxxTemplates/epicsSingleton.h:37:5: error: ‘size_t’ does not name a type
     size_t _refCount;
     ^
../../../src/libCom/cxxTemplates/epicsSingleton.h: In constructor ‘SingletonUntyped::SingletonUntyped()’:
../../../src/libCom/cxxTemplates/epicsSingleton.h:162:23: error: class ‘SingletonUntyped’ does not have any field named ‘_refCount’
     _pInstance ( 0 ), _refCount ( 0 )
                       ^
make[3]: *** [epicsOnce.o] Error 1
make[3]: Leaving directory `/home/epics/EPICS/base-3.14.12.1/src/libCom/O.linux-x86'
make[2]: *** [install.linux-x86] Error 2
make[2]: Leaving directory `/home/epics/EPICS/base-3.14.12.1/src/libCom'
make[1]: *** [libCom.install] Error 2
make[1]: Leaving directory `/home/epics/EPICS/base-3.14.12.1/src'
make: *** [src.install] Error 2



References:
Error while building EPICS base Deepika Thakur

Navigate by Date:
Prev: Error while building EPICS base Deepika Thakur
Next: CSS BOY: file name selection without push [enter] Mauro Giacchini
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Error while building EPICS base Deepika Thakur
Next: CSS BOY: file name selection without push [enter] Mauro Giacchini
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·