I've been trying to build the EPICS 3.14.7 Base on a i586-suse-linux system
using gcc 4.0.2, GNU Make 3.80, and Perl 5.8.7. After after many hurdles I've
finally hit a brick wall.
I followed the linked Wiki build instructions
(http://www.aps.anl.gov/epics/wiki/index.php/HowToPC104) and was confronted
with an error in which lcurses would not be found. After consulting a web fix,
this was fixed by changing lcurses to lncurses in
base-3.14.7/configure/os/CONFIG.Common.linux-x86. Unfortunately, due to lack of
foresight, I've lost the website URL for this fix, but it seemed to solve the
problem nicely.
When I gave the make command I then received errors of the following type:
./../../../src/cas/generic/casdef.h:513: error: ISO C++ forbids declaration of
'casPVI' with no type
../../../../src/cas/generic/casdef.h:513: error: expected ';' before '*' token
This time I consulted the Mantis bug database and found a patch for this problem
(http://www.aps.anl.gov/epics/mantis/view_bug_page.php?f_id=0000216). The patch
involved adding forward declarations of several class types to several C++
header files.
Although the patch got rid of the error messages above, I am now getting the
following error messages when I try to build:
../../../../include/gddUtils.h:85: warning: ?class gddDestructor? has
virtual functions but non-virtual destructor
../../../../src/cas/generic/casMonitor.h:42: warning: ?class
casMonitorCallbackInterface? has virtual functions but non-virtual destructor
../../../../src/cas/generic/casPVI.h:44: error: expected class-name before
?.? token
../../../../src/cas/generic/casPVI.h:44: error: expected `{' before ?.?
token
../../../../src/cas/generic/casPVI.h:44: error: expected unqualified-id before
?.? token
../../../../src/cas/generic/casPVI.h:100: error: invalid use of undefined type
?class casPVI?
../../../../src/cas/generic/casdef.h:111: error: forward declaration of ?class
casPVI?
../../../../src/cas/generic/casPVI.h: In member function ?caServerI*
casPVI::getPCAS() const?:
../../../../src/cas/generic/casPVI.h:102: error: invalid use of undefined type
?const class casPVI?
../../../../src/cas/generic/casdef.h:111: error: forward declaration of ?const
class casPVI?
../../../../src/cas/generic/casPVI.h: At global scope:
../../../../src/cas/generic/casPVI.h:105: error: invalid use of undefined type
?class casPVI?
../../../../src/cas/generic/casdef.h:111: error: forward declaration of ?class
casPVI?
../../../../src/cas/generic/casPVI.h: In member function ?const
gddEnumStringTable& casPVI::enumStringTable() const?:
../../../../src/cas/generic/casPVI.h:107: error: invalid use of undefined type
?const class casPVI?
../../../../src/cas/generic/casdef.h:111: error: forward declaration of ?const
class casPVI?
../../../../src/cas/generic/casPVI.h: At global scope:
../../../../src/cas/generic/casPVI.h:110: error: invalid use of undefined type
?class casPVI?
../../../../src/cas/generic/casdef.h:111: error: forward declaration of ?class
casPVI?
../../../../src/cas/generic/casPVI.h: In member function ?casPV*
casPVI::apiPointer()?:
../../../../src/cas/generic/casPVI.h:112: error: invalid use of undefined type
?class casPVI?
../../../../src/cas/generic/casdef.h:111: error: forward declaration of ?class
casPVI?
../../../../src/cas/generic/inBuf.h: At global scope:
../../../../src/cas/generic/inBuf.h:49: warning: ?class inBufClient? has
virtual functions but non-virtual destructor
../../../../src/cas/generic/outBuf.h:50: warning: ?class outBufClient? has
virtual functions but non-virtual destructor
../../../../src/cas/generic/chanIntfForPV.h:44: warning: ?class
casChannelDestroyFromPV? has virtual functions but non-virtual destructor
../../../../src/cas/generic/chanIntfForPV.h: In member function ?casMonitor*
chanIntfForPV::removeMonitor(casPVI&, ca_uint32_t)?:
../../../../src/cas/generic/chanIntfForPV.h:78: error: invalid use of undefined
type ?class casPVI?
../../../../src/cas/generic/casdef.h:111: error: forward declaration of ?class
casPVI?
../../../../src/cas/generic/chanIntfForPV.h: In member function ?void
chanIntfForPV::removeSelfFromPV(casPVI&, tsDLList<casMonitor>&)?:
../../../../src/cas/generic/chanIntfForPV.h:84: error: invalid use of undefined
type ?class casPVI?
../../../../src/cas/generic/casdef.h:111: error: forward declaration of ?class
casPVI?
../../../../src/cas/generic/casChannelI.h: In member function ?const
gddEnumStringTable& casChannelI::enumStringTable() const?:
../../../../src/cas/generic/casChannelI.h:98: error: invalid use of undefined
type ?class casPVI?
../../../../src/cas/generic/casdef.h:111: error: forward declaration of ?class
casPVI?
../../../../src/cas/generic/casChannelI.h: In member function ?void
casChannelI::installIntoPV()?:
../../../../src/cas/generic/casChannelI.h:103: error: invalid use of undefined
type ?class casPVI?
../../../../src/cas/generic/casdef.h:111: error: forward declaration of ?class
casPVI?
../../../../src/cas/generic/casChannelI.h: In member function ?void
casChannelI::clearOutstandingReads()?:
../../../../src/cas/generic/casChannelI.h:108: error: invalid use of undefined
type ?class casPVI?
../../../../src/cas/generic/casdef.h:111: error: forward declaration of ?class
casPVI?
../../../../src/cas/generic/casChannelI.h: In member function ?void
casChannelI::installIO(casAsyncIOI&)?:
../../../../src/cas/generic/casChannelI.h:134: error: invalid use of undefined
type ?class casPVI?
../../../../src/cas/generic/casdef.h:111: error: forward declaration of ?class
casPVI?
../../../../src/cas/generic/casChannelI.h: In member function ?void
casChannelI::uninstallIO(casAsyncIOI&)?:
../../../../src/cas/generic/casChannelI.h:139: error: invalid use of undefined
type ?class casPVI?
../../../../src/cas/generic/casdef.h:111: error: forward declaration of ?class
casPVI?
make[4]: *** [casCoreClient.o] Error 1
make[4]: Leaving directory
`/usr/src/R3.14.7/base-3.14.7/src/cas/build/O.linux-x86'
make[3]: *** [install.linux-x86] Error 2
make[3]: Leaving directory `/usr/src/R3.14.7/base-3.14.7/src/cas/build'
make[2]: *** [build.install] Error 2
make[2]: Leaving directory `/usr/src/R3.14.7/base-3.14.7/src/cas'
make[1]: *** [cas.install] Error 2
make[1]: Leaving directory `/usr/src/R3.14.7/base-3.14.7/src'
make: *** [src.install] Error 2
I cannot seem to find any patches or advice for these errors and am at a
complete loss.
Can anybody help?!
Many thanks
Marcelo
- Replies:
- Re: Base 3.14.7 build error on SUSE machine Ralph Lange
- Re: Base 3.14.7 build error on SUSE machine Andrew Johnson
- Navigate by Date:
- Prev:
Re: Alarm in Epics Kay-Uwe Kasemir
- Next:
Re: Base 3.14.7 build error on SUSE machine Ralph Lange
- 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: Alarm in Epics Liyu, Andrei
- Next:
Re: Base 3.14.7 build error on SUSE machine Ralph Lange
- 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
|