[Samba] libsmbclient vs. C++

Barnabas Pal barni at ynet.sk
Mon Apr 19 10:27:44 GMT 2004


Is it possible to use libsmbclient with C++?
I make a sample program. When I try to make it, I got the following errors:
In function `main':
 undefined reference to `smbc_init
 undefined reference to `smbc_opendir

When I change the extension to .c, the build was successfully.

I use Mandrake cooker with gcc-3.3.2.



More information about the samba mailing list