Jérôme Fenal
2003-Oct-20 08:13 UTC
[Samba] [patch] Samba 3.0.1pre1 : unable to link tdbbackup on Solaris 9
Hi to all, On Solaris 9 (and below I think), Samba 3.0.1pre1's tdbbackup now needs snprintf which is not included in Solaris. The following patch on master Makefile.in (~samba/source) should ease the compilation of tdbbackup : diff -u Makefile.in.orig Makefile.in --- Makefile.in.orig Mon Oct 20 11:06:54 2003 +++ Makefile.in Mon Oct 20 11:07:09 2003 @@ -629,7 +629,7 @@ POPT_OBJS=popt/findme.o popt/popt.o popt/poptconfig.o \ popt/popthelp.o popt/poptparse.o -TDBBACKUP_OBJ = tdb/tdbbackup.o tdb/tdbback.o $(TDBBASE_OBJ) +TDBBACKUP_OBJ = tdb/tdbbackup.o tdb/tdbback.o lib/snprintf.o $(TDBBASE_OBJ) NTLM_AUTH_OBJ = utils/ntlm_auth.o $(LIBSAMBA_OBJ) $(POPT_LIB_OBJ) \ libsmb/asn1.o libsmb/spnego.o libsmb/clikrb5.o libads/kerberos.o \ It should be included in the case snprintf is absent from the system, but it's done this way with other binaries. Regards, J?r?me ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. LogicaCMG **********************************************************************
Gerald (Jerry) Carter
2003-Oct-31 20:45 UTC
[Samba] [patch] Samba 3.0.1pre1 : unable to link tdbbackup on Solaris 9
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 J?r?me Fenal wrote: | Hi to all, | On Solaris 9 (and below I think), Samba 3.0.1pre1's tdbbackup now needs snprintf which is not included in Solaris. | The following patch on master Makefile.in (~samba/source) should ease the compilation of tdbbackup : | diff -u Makefile.in.orig Makefile.in | --- Makefile.in.orig Mon Oct 20 11:06:54 2003 | +++ Makefile.in Mon Oct 20 11:07:09 2003 | @@ -629,7 +629,7 @@ | POPT_OBJS=popt/findme.o popt/popt.o popt/poptconfig.o \ | popt/popthelp.o popt/poptparse.o | -TDBBACKUP_OBJ = tdb/tdbbackup.o tdb/tdbback.o $(TDBBASE_OBJ) | +TDBBACKUP_OBJ = tdb/tdbbackup.o tdb/tdbback.o lib/snprintf.o $(TDBBASE_OBJ) | NTLM_AUTH_OBJ = utils/ntlm_auth.o $(LIBSAMBA_OBJ) $(POPT_LIB_OBJ) \ | libsmb/asn1.o libsmb/spnego.o libsmb/clikrb5.o libads/kerberos.o \ | It should be included in the case snprintf is absent from the system, but it's done | this way with other binaries. This has been fixed in the CVS tree thanks. cheers, jerry ~ ---------------------------------------------------------------------- ~ Hewlett-Packard ------------------------- http://www.hp.com ~ SAMBA Team ---------------------- http://www.samba.org ~ GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc ~ "You can never go home again, Oatman, but I guess you can shop there." ~ --John Cusack - "Grosse Point Blank" (1997) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/osn1IR7qMdg1EfYRAgeVAKCYBklUnGbUZz+NMMKDXo9QAi1HfwCg5sws I7NTYzgfotfAkNnePl6m4x8=ujRy -----END PGP SIGNATURE-----