Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: RE: linking iocCore lib error
From: "Jeff Hill" <JeffreyHill@att.net>
To: "'geyang'" <geyang@post.kek.jp>, "'tech-talk'" <tech-talk@aps.anl.gov>
Date: Thu, 21 Oct 2004 09:32:07 -0600
> 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:geyang@post.kek.jp]
> 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  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
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  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·