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.