Bug 3904 - Undefined symbols in smbsh
Summary: Undefined symbols in smbsh
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Client Tools (show other bugs)
Version: 3.0.23
Hardware: Sparc Solaris
: P3 regression
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2006-06-30 08:49 UTC by Tom Schulz
Modified: 2006-06-30 13:31 UTC (History)
0 users

See Also:

Patch for Makefile.in (482 bytes, patch)
2006-06-30 10:55 UTC, Gerald (Jerry) Carter (dead mail address)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Schulz 2006-06-30 08:49:57 UTC
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:

-I/home/projects/tools/samba/samba-3.0.23rc3/source/iniparser/src -Iinclude
-I/home/projects/tools/samba/samba-3.0.23rc3/source/smbwrapper -I.
-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.
Comment 1 Gerald (Jerry) Carter (dead mail address) 2006-06-30 10:55:08 UTC
Created attachment 2009 [details]
Patch for Makefile.in

make sure to rerun ./configure (or at least ./config.status) 
to rebuild the Makefile before compiling.
Comment 2 Gerald (Jerry) Carter (dead mail address) 2006-06-30 10:55:24 UTC
fixed for 3.0.23
Comment 3 Tom Schulz 2006-06-30 13:29:00 UTC
It now builds.  It doesn't seem to work, but that will be another bug.
Comment 4 Gerald (Jerry) Carter (dead mail address) 2006-06-30 13:31:28 UTC
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.