Experimental Physics and Industrial Control System
> Undefined external symbol
> "cacChannel::operator new(unsigned long)" referenced in "dbChannelIO"
As Till mentioned, that operator is declared, but not defined. It is a
common technique with C++ to declare operators that have compiler generated
default implementations private if one desires to prevent (at link time)
these compiler generated defaults from being inadvertently used. This
particular situation is clearly creating problems with your compiler, and
its usefulness isn't entirely clear.
Therefore I will remove the private declarations for the following operators
from class cacChannel in file cacIO.h for the next release of R3.14.
void * operator new ( size_t );
void operator delete ( void * );
Jeff
> -----Original Message-----
> From: geyang [mailto:[email protected]]
> Sent: Sunday, October 17, 2004 5:42 AM
> To: tech-talk
> Subject: linking iocCore lib error
>
> Hi,everyone:
>
> I am working to port iocCore to itron, base version is 3.14.4, compiler
> is SHC(Super Hitachi Compiler). I compiled the itron-sh4 as target and
> got all the iocCore lib files, but when I try to link them, the linker
> has the error as follows:
>
> ---------------------------------------
> Phase OptLinker starting
> L2310 (E) Undefined external symbol "cacChannel::operator new(unsigned
> long)" referenced in "dbChannelIO"
> Optimizing Linkage Editor Abort
> Phase OptLinker finished
> ---------------------------------------
> Can anybody give me some advice?
>
> thank you
>
>
> Best regards,
> Geyang
>
- References:
- linking iocCore lib error geyang
- Navigate by Date:
- Prev:
Re: Error Marty Kraimer
- Next:
EPICS meeting in ASIA, December 2004. Noboru Yamamoto
- 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: linking iocCore lib error Till Straumann
- Next:
RE: linking iocCore lib error Thompson, David H.
- 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