current smbclient/libsmbclient rewrite
Gerald (Jerry) Carter
jerry at samba.org
Tue Jul 26 17:31:24 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
I just tried building smbclient in the SOC?SAMBA_3_0 branch.
Looks like you missed some Makefile fixes.
$ make bin/smbclient
client/client.o(.text+0x852): In function `do_cd':
client/client.c:310: undefined reference to `smbc_opendir'
client/client.o(.text+0x8d2):client/client.c:317: undefined reference to
client/client.o(.text+0x7a80): In function `process':
client/client.c:3176: undefined reference to `smbc_init'
collect2: ld returned 1 exit status
$ svn info | 'Last Changed'
Last Changed Author: kalim
Last Changed Rev: 8768
Last Changed Date: 2005-07-25 21:01:15 -0500 (Mon, 25 Jul 2005)
But this brings up an interesting point. smbclient should
be linking against libsmbclient.a or libsmbclient.so.
Static linking is fine IMO since that does not require
library search paths or a prior installation of libsmbclient.
But it does mean that we should add libsmbclient.a as a
dependency to the Makefile. I'm not sure how this will
play out on all systems.
I'll let you get the build issues fixed before I dig
deeper into the new code.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba-technical