Michael is always one step faster than me.
I guess you are using Linux, but it will help to give more details about which exact distro/version (Debian, RHEL, CentOS...) you are using.
If possible, update gcc to 4.x would solve your problem.
Guobao
On 1/11/16 9:53 AM, Michael Davidsaver wrote:
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!
- References:
- problems about EPICS V4 4.5.0 compiling Qiao Yusi
- Navigate by Date:
- Prev:
RE: terminal server/serial server/console management switch recommendations? Richard Farnsworth
- Next:
Re: MTCA4 HW management Konrad, Martin
- 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
- Navigate by Thread:
- Prev:
Re: problems about EPICS V4 4.5.0 compiling Michael Davidsaver
- Next:
Re: CSS BOY and Raspberry Pi? Ryan Pierce
- 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
|