Re: Link failure Iperf 2.0 Beta at Darwin


On Fri, Jan 09, 2004 at 01:25:18PM -0600, Tanya Brethour wrote:
> 
> > The linking of Iperf 2.0 Beta at Mac G5's running
> > "Darwin Kernel Version 7.2.0" with GCC "version 3.3 20030304 (Apple
> > Computer, Inc. build 1495)" failed. The error message was:
> > 
> > g++ -L./ -o ./iperf  -liperf 
> > ld: Undefined symbols:
> > operator new(unsigned long)
> > ___gxx_personality_v0
> > operator delete[](void*)
> > operator delete(void*)
> > operator new[](unsigned long)
> 
> Hmm. You need to link with the C++ library (libstdc++). It seems strange
> that g++ is not linking with it automatically, so perhaps you do not have
> it? Can you first verify that it is on your system and then also try to
> link it in manually (-lstdc++)? 

Yes, libstdc++ is at our system and when I link it manually with
"g++ -L./ -o ./iperf -liperf -lstdc++" it indeed compiles and delivers a
working executable.

    Thanks for your advice,
    Hans

> 
> Thanks,
> Tanya Brethour
> NLANR/DAST
> 
> 



Other Mailing lists | Author Index | Date Index | Subject Index | Thread Index