My EPICS Base version is 3.14.12.1, my gcc version is 3.4.6.
Can you provide some more details about your environment (eg. OS version)? Also, when reporting compilation errors please always include the arguments passed to the compiler in addition to the error message.
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!
I don't think you need to change your Base version, but an update to 3.14.12.5 should only help your situation.
gcc 3.4.6 is 2 months away from being 10 years old. I would suggest that an upgrade is in order. This is probably the source of the error.
On 01/10/2016 10:14 PM, Qiao Yusi wrote:
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!