Trying to build samba-3.0.23rc3 on Solaris 8 sparc using Sun's Forte Developer 7 C 5.4. I get the following errors: Linking bin/smbsh Undefined first referenced symbol in file sec_io_desc lib/sharesec.o get_friendly_nt_error_msg lib/module.o secrets_fetch_domain_sid lib/substitute.o tdb_prs_store lib/sharesec.o tdb_prs_fetch lib/sharesec.o nt_errstr lib/util_seaccess.o prs_init lib/sharesec.o prs_mem_free lib/sharesec.o ld: fatal: Symbol referencing errors. No output written to bin/smbsh *** Error code 1 make: Fatal error: Command failed for target `bin/smbsh' The last part of configure said: Using libraries: LIBS = -lsendfile -lresolv -lnsl -lsocket -ldl AUTH_LIBS = The first part of make said: Using FLAGS = -O -D_SAMBA_BUILD_ -I/home/projects/tools/samba/samba-3.0.23rc3/source/popt -I/home/projects/tools/samba/samba-3.0.23rc3/source/iniparser/src -Iinclude -I/home/projects/tools/samba/samba-3.0.23rc3/source/include -I/home/projects/tools/samba/samba-3.0.23rc3/source/tdb -I/home/projects/tools/samba/samba-3.0.23rc3/source/smbwrapper -I. -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DSUNOS5 -I/home/projects/tools/samba/samba-3.0.23rc3/source -D_SAMBA_BUILD_ LIBS = -lsendfile -lresolv -lnsl -lsocket -ldl LDSHFLAGS = -G -O -D_SAMBA_BUILD_ -lthread LDFLAGS = -lthread PIE_CFLAGS = PIE_LDFLAGS = Generating smbd/build_options.c The above errors prevents me from building and trying out samba-3.0.23rc3. Let me know if you need anything else.
Created attachment 2009 [details] Patch for Makefile.in make sure to rerun ./configure (or at least ./config.status) to rebuild the Makefile before compiling.
fixed for 3.0.23
It now builds. It doesn't seem to work, but that will be another bug.
That code has been unmaintained for several years so I wouldn't expect it to work. I plan to reomve it in the next release.