This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc 3.2.3 link error


Philip,

What parameters did you pass into the c compiler and
what parameters to the linker?

You can do a gcc -v end send the output.
Then it is easier to tell.
Lars
--- Philip Cheng <cheng@pcigeomatics.com> wrote:
> 
> Dear List:
> 
> I am compiling a function using gcc 3.2.3 on Red Hat
> 8.0
> 
> void operator delete[](void * pPtr) throw()
> {
>     MemFree(pPtr);
> }
> 
> When I tried to build a shared object library, it
> gave me the error
> 
> undefined versioned symbol name _ZdlPv@@GLIBCPP_3.2
> ld: failed to set dynamic section sizes: Bad value
> 
> 
> It works fine with gcc 3.1 and Red Hat 7.2.  Any
> ideas how to solve it?
> 
> Thanks
> 
> Philip
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]