Linking to

Benjamin Riefenstahl Benjamin.Riefenstahl at
Thu Mar 11 13:35:17 GMT 2004

Hi Steven,

"Steven McClellan" <steve at> writes:
> [steve at localhost steve]$ gcc [...]
> [...]
> /tmp/cczi0mto.o(.eh_frame+0x11): undefined reference to
> `__gxx_personality_v0'
> collect2: ld returned 1 exit status

You also want to use g++ for linking.  gcc knows where to find a C++
compiler backend for files ending in ".cc", but it doesn't know about
the libraries needed for arbitrary objects.


More information about the samba-technical mailing list