1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 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 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 <2016> 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | problems about EPICS V4 4.5.0 compiling |
From: | "Qiao Yusi" <[email protected]> |
To: | TECH-TALK <[email protected]> |
Date: | Mon, 11 Jan 2016 11:14:00 +0800 (GMT+08:00) |
Hi, everyone:
I’m having some problems with EPICS V4 (C++, 4.5.0).
When building the EPICS V4 core C++ implementation, I issued make from the top
level directory of pvDataCPP, and errors occurred like this:
from
../../src/misc/bitSet.cpp:16:
/home/qys/CPP_EPICS_V4/EPICS-CPP-4.5.0/pvCommonCPP/include/boost/smart_ptr/shared_ptr.hpp:491:
error: expected `)' before '<' token
/home/qys/CPP_EPICS_V4/EPICS-CPP-4.5.0/pvCommonCPP/include/boost/smart_ptr/shared_ptr.hpp:556:
error: `unique_ptr' is not a member of `std'
/home/qys/CPP_EPICS_V4/EPICS-CPP-4.5.0/pvCommonCPP/include/boost/smart_ptr/shared_ptr.hpp:556:
error: expected primary-_expression_ before ',' token
/home/qys/CPP_EPICS_V4/EPICS-CPP-4.5.0/pvCommonCPP/include/boost/smart_ptr/shared_ptr.hpp:556:
error: expected primary-_expression_ before '>' token
/home/qys/CPP_EPICS_V4/EPICS-CPP-4.5.0/pvCommonCPP/include/boost/smart_ptr/shared_ptr.hpp:556:
error: label `r' referenced outside of any function
/home/qys/CPP_EPICS_V4/EPICS-CPP-4.5.0/pvCommonCPP/include/boost/smart_ptr/shared_ptr.hpp:557:
error: declaration of `operator=' as non-function
/home/qys/CPP_EPICS_V4/EPICS-CPP-4.5.0/pvCommonCPP/include/boost/smart_ptr/shared_ptr.hpp:557:
confused by earlier errors, bailing out
make[3]: *** [bitSet.o] Error 1
make[3]: Leaving directory
`/home/qys/CPP_EPICS_V4/EPICS-CPP-4.5.0/pvDataCPP/src/O.linux-x86'
make[2]: *** [install.linux-x86] Error 2
make[2]: Leaving directory
`/home/qys/CPP_EPICS_V4/EPICS-CPP-4.5.0/pvDataCPP/src'
make[1]: *** [src.install] Error 2
make[1]: Leaving directory
`/home/qys/CPP_EPICS_V4/EPICS-CPP-4.5.0/pvDataCPP'
My EPICS Base version is 3.14.12.1, my gcc
version is 3.4.6.
I don't know how to solve it,
should I update my EPICS Base or gcc? Or make some other configurations? Hope someone can help me! Thanks!