Linking to libsmbclient.so
Benjamin Riefenstahl
Benjamin.Riefenstahl at epost.de
Thu Mar 11 13:35:17 GMT 2004
Hi Steven,
"Steven McClellan" <steve at mcclellan.org> writes:
> [steve at localhost steve]$ gcc testsmbc.cc [...]
> [...]
> /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.
benny
More information about the samba-technical
mailing list