current smbclient/libsmbclient rewrite

Gerald (Jerry) Carter jerry at samba.org
Tue Jul 26 17:31:24 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kalim,

I just tried building smbclient in the SOC?SAMBA_3_0 branch.
Looks like you missed some Makefile fixes.

$ make bin/smbclient
Linking 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
`smbc_closedir'
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.






cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC5nNrIR7qMdg1EfYRAv7qAJ92HqO9JD+ilbjMzEknciko8dJuUACg2owa
LmUlJiGuPrZPzlL8RLRW3XQ=
=vSQK
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list