> I am trying to build EPICS base 3.14.6 and I am getting following
This is a known problem. Newer versions of the GNU C++ compiler aggressively
enforce that a private member function can't be a friend. There was no
warning in the past from any compiler that we use. The newest GNU compiler
made the no-doubt carefully considered transition from that behavior to
aborting compilation.
The workaround is to change "friend udpRecvThread::run()" line in udpiiu.h
to "friend class udpRecvThread". This does not make for a more
understandable program, but will probably be the typical response to this
compiler behavior change.
Jeff
> -----Original Message-----
> From: Krapec Iztok [mailto:[email protected]]
> Sent: Tuesday, November 23, 2004 9:04 AM
> To: [email protected]
> Subject: Building EPICS base
>
> Hello
>
> I am trying to build EPICS base 3.14.6 and I am getting following error:
>
>
> make[3]: Entering directory
> `/home/ikrapec/epics-instal63/base-3.14.6/src/ca/O.linux-x86'
> /usr/bin/g++ -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
> -D_XOPEN_SOURCE=500 -DOSITHREAD_USE_DEFAULT_STACK -D_X86_ -DUNIX
> -D_BSD_SOURCE -Dlinux -D_REENTRANT -ansi -O3 -Wall -I. -I..
> -I../../../include/os/Linux -I../../../include ../casw.cpp
> In file included from ../casw.cpp:31:
> ../udpiiu.h:73: error: `virtual void udpRecvThread::run()' is private
> ../udpiiu.h:183: error: within this context
> make[3]: *** [casw.o] Error 1
> make[3]: Leaving directory
> `/home/ikrapec/epics-instal63/base-3.14.6/src/ca/O.linux-x86'
> make[2]: *** [install.linux-x86] Error 2
> make[2]: Leaving directory `/home/ikrapec/epics-instal63/base-
> 3.14.6/src/ca'
> make[1]: *** [ca.install] Error 2
> make[1]: Leaving directory `/home/ikrapec/epics-instal63/base-
> 3.14.6/src'
> make: *** [src.install] Error 2
>
> I am using gcc version 3.4.2 and GNU Make 3.80.
>
> Does somebody know what is the problem?
>
> LP
>
> Iztok
- References:
- Building EPICS base Krapec Iztok
- Navigate by Date:
- Prev:
Re: Building EPICS base Mauro Giacchini
- Next:
Re: Building EPICS base Robert Soliday
- 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: Building EPICS base Mauro Giacchini
- Next:
Re: Building EPICS base Robert Soliday
- 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
|