[Samba] libsmb/cliconnect.o build/build/krb5/lib/libcom_err.so.3
J S
js.tech.mailer at gmail.com
Fri Nov 10 01:57:56 GMT 2006
Running into a error while compiling Samba 3.0.23c for AD using krb5 1.5.1.
Doesn't matter if I use Sun's cc or gcc.
Linking bin/smbd
Undefined first referenced
symbol in file
error_message libsmb/cliconnect.o (symbol belongs to
implicit dependency /export/admin/build/build/krb5/lib/libcom_err.so.3)
ld: fatal: Symbol referencing errors. No output written to bin/smbd
collect2: ld returned 1 exit status
*** Error code 1
The only google reference I've seen for this referred to include.h errors
that existed in 3.0.6.
Full error and compile options, including path information below.
[root at emv24001:/export/admin/build/build/samba-3.0.23c/source]# make
Using FLAGS = -g -D_SAMBA_BUILD_
-I/export/admin/build/build/samba-3.0.23c/source/iniparser/src
-Iinclude -I/export/admin/build/build/samba-3.0.23c/source/include
-I/export/admin/build/build/samba-3.0.23c/source/tdb -I. -DHAVE_CONFIG_H
-I/export/admin/build/build/ldap/include -I/usr/local/include
-I/usr/local/BerkeleyDB.4.2/include -I/usr/local/ssl/include
-I/export/admin/build/build/krb5/include -D_LARGEFILE_SOURCE -D_REENTRANT
-D_FILE_OFFSET_BITS=64 -DLDAP_DEPRECATED -DSUNOS5
-I/export/admin/build/build/samba-3.0.23c/source -D_SAMBA_BUILD_
LIBS = -lsendfile -lresolv -lnsl -lsocket -liconv
LDSHFLAGS = -G -L/export/admin/build/build/ldap/lib -L/usr/local/lib
-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/ssl/lib
-L/export/admin/build/build/krb5/lib -R/export/admin/build/build/ldap/lib
-R/usr/local/lib -R/usr/local/BerkeleyDB.4.2/lib -R/usr/local/ssl/lib
-R/export/admin/build/build/krb5/lib -lthread
LDFLAGS = -L/export/admin/build/build/ldap/lib -L/usr/local/lib
-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/ssl/lib
-L/export/admin/build/build/krb5/lib -R/export/admin/build/build/ldap/lib
-R/usr/local/lib -R/usr/local/BerkeleyDB.4.2/lib -R/usr/local/ssl/lib
-R/export/admin/build/build/krb5/lib -lthread
PIE_CFLAGS = -fPIE
PIE_LDFLAGS = -pie
Linking bin/smbd
Undefined first referenced
symbol in file
error_message libsmb/cliconnect.o (symbol belongs to
implicit dependency /export/admin/build/build/krb5/lib/libcom_err.so.3)
ld: fatal: Symbol referencing errors. No output written to bin/smbd
collect2: ld returned 1 exit status
*** Error code 1
The following command caused the error:
gcc -g -D_SAMBA_BUILD_
-I/export/admin/build/build/samba-3.0.23c/source/iniparser/src
-Iinclude -I/export/admin/build/build/samba-3.0.23c/source/include
-I/export/admin/build/build/samba-3.0.23c/source/tdb -I. -DHAVE_CONFIG_H
-I/export/admin/build/build/ldap/include -I/usr/local/include
-I/usr/local/BerkeleyDB.4.2/include -I/usr/local/ssl/include
-I/export/admin/build/build/krb5/include -D_LARGEFILE_SOURCE -D_REENTRANT
-D_FILE_OFFSET_BITS=64 -DLDAP_DEPRECATED -DSUNOS5
-I/export/admin/build/build/samba-3.0.23c/source -D_SAMBA_BUILD_ -pie -o
bin/smbd dynconfig.o param/loadparm.o param/params.o lib/sharesec.o
smbd/files.o smbd/chgpasswd.o smbd/connection.o smbd/utmp.o smbd/session.o
smbd/map_username.o smbd/dfree.o smbd/dir.o smbd/password.o smbd/conn.o
smbd/share_access.o smbd/fileio.o smbd/ipc.o smbd/lanman.o smbd/negprot.o
smbd/message.o smbd/nttrans.o smbd/pipes.o smbd/reply.o smbd/sesssetup.o
smbd/trans2.o smbd/uid.o smbd/dosmode.o smbd/filename.o smbd/open.o
smbd/close.o smbd/blocking.o smbd/sec_ctx.o smbd/srvstr.o smbd/vfs.o
smbd/vfs-wrap.o smbd/statcache.o smbd/posix_acls.o lib/sysacls.o
lib/server_mutex.o smbd/process.o smbd/service.o smbd/error.o
printing/printfsp.o lib/sysquotas.o lib/sysquotas_linux.o
lib/sysquotas_xfs.o lib/sysquotas_4A.o smbd/change_trust_pw.o
smbd/fake_file.o smbd/quotas.o smbd/ntquotas.o lib/afs.o smbd/msdfs.o
lib/afs_settoken.o smbd/aio.o smbd/statvfs.o smbd/dmapi.o smbd/mangle.o
smbd/mangle_hash.o smbd/mangle_map.o smbd/mangle_hash2.o libsmb/clientgen.o
libsmb/cliconnect.o libsmb/clifile.o libsmb/clikrb5.o libsmb/clispnego.o
libsmb/asn1.o libsmb/clirap.o libsmb/clierror.o libsmb/climessage.o
libsmb/clireadwrite.o libsmb/clilist.o libsmb/cliprint.o libsmb/clitrans.o
libsmb/clisecdesc.o libsmb/clidgram.o libsmb/clistr.o libsmb/cliquota.o
libsmb/clifsinfo.o libsmb/clidfs.o libsmb/smberr.o libsmb/credentials.o
libsmb/pwd_cache.o libsmb/clioplock.o libsmb/errormap.o libsmb/clirap2.o
libsmb/doserr.o rpc_parse/parse_prs.o rpc_parse/parse_misc.o
rpc_parse/parse_sec.o libsmb/nterr.o libsmb/dcerpc_err.o libsmb/smbdes.o
libsmb/smbencrypt.o libsmb/ntlm_check.o libsmb/ntlmssp.o
libsmb/ntlmssp_parse.o libsmb/ntlmssp_sign.o libsmb/unexpected.o
libsmb/namecache.o libsmb/nmblib.o libsmb/namequery.o libsmb/conncache.o
libads/dns.o rpc_server/srv_lsa.o rpc_server/srv_lsa_nt.o
rpc_server/srv_reg.o rpc_server/srv_reg_nt.o registry/regfio.o
rpc_server/srv_lsa_ds.o rpc_server/srv_lsa_ds_nt.o rpc_server/srv_wkssvc.o
rpc_server/srv_wkssvc_nt.o rpc_server/srv_svcctl.o
rpc_server/srv_svcctl_nt.o services/svc_spoolss.o services/svc_rcinit.o
services/services_db.o services/svc_netlogon.o services/svc_winreg.o
services/svc_wins.o rpc_server/srv_ntsvcs.o rpc_server/srv_ntsvcs_nt.o
rpc_server/srv_netlog.o rpc_server/srv_netlog_nt.o rpc_server/srv_dfs.o
rpc_server/srv_dfs_nt.o rpc_server/srv_srvsvc.o rpc_server/srv_srvsvc_nt.o
rpc_server/srv_spoolss.o rpc_server/srv_spoolss_nt.o
rpc_server/srv_eventlog.o rpc_server/srv_eventlog_nt.o
rpc_server/srv_eventlog_lib.o rpc_server/srv_samr.o
rpc_server/srv_samr_nt.o rpc_server/srv_samr_util.o
rpc_server/srv_pipe_hnd.o rpc_server/srv_pipe.o rpc_server/srv_lsa_hnd.o
rpc_parse/parse_lsa.o rpc_parse/parse_net.o rpc_parse/parse_reg.o
rpc_parse/parse_rpc.o rpc_parse/parse_samr.o rpc_parse/parse_srv.o
rpc_parse/parse_wks.o rpc_parse/parse_ds.o rpc_parse/parse_spoolss.o
rpc_parse/parse_dfs.o rpc_parse/parse_echo.o rpc_parse/parse_shutdown.o
rpc_parse/parse_svcctl.o rpc_parse/parse_eventlog.o
rpc_parse/parse_buffer.o rpc_parse/parse_ntsvcs.o registry/reg_objects.o
passdb/secrets.o passdb/machine_sid.o locking/locking.o locking/brlock.o
locking/posix.o passdb/pdb_get_set.o passdb/passdb.o passdb/pdb_interface.o
passdb/util_wellknown.o passdb/util_builtin.o passdb/pdb_compat.o
passdb/util_unixsids.o passdb/lookup_sid.o passdb/login_cache.o
passdb/pdb_ldap.o passdb/pdb_nds.o passdb/pdb_smbpasswd.o passdb/pdb_tdb.o
lib/account_pol.o lib/privileges.o printing/pcap.o printing/print_svid.o
printing/print_aix.o printing/print_cups.o printing/print_generic.o
printing/lpq_parse.o printing/load.o printing/print_iprint.o
profile/profile.o lib/version.o lib/charcnv.o lib/debug.o lib/fault.o
lib/getsmbpass.o lib/interface.o lib/md4.o lib/interfaces.o lib/pidfile.o
lib/replace.o lib/replace1.o lib/repdir.o lib/timegm.o lib/signal.o
lib/system.o lib/sendfile.o lib/time.o lib/ufc.o lib/genrand.o
lib/username.o lib/util_pw.o lib/access.o lib/smbrun.o lib/bitmap.o
lib/crc32.o lib/snprintf.o lib/dprintf.o lib/xfile.o lib/wins_srv.o
lib/util_str.o lib/clobber.o lib/util_sid.o lib/util_uuid.o
lib/util_unistr.o lib/util_file.o lib/data_blob.o lib/util.o
lib/util_sock.o lib/sock_exec.o lib/util_sec.o lib/talloc.o
lib/substitute.o lib/fsusage.o lib/ms_fnmatch.o lib/select.o
lib/messages.o lib/tallocmsg.o lib/dmallocmsg.o libsmb/smb_signing.o
lib/md5.o lib/hmacmd5.o lib/arc4.o lib/iconv.o nsswitch/wb_client.o
nsswitch/wb_common.o lib/pam_errors.o intl/lang_tdb.o lib/adt_tree.o
lib/gencache.o tdb/tdb.o tdb/spinlock.o tdb/tdbutil.o tdb/tdbback.o
lib/module.o lib/events.o lib/ldap_escape.o lib/secdesc.o
lib/util_seaccess.o lib/secace.o lib/secacl.o libads/krb5_errs.o
lib/system_smbd.o lib/audit.o printing/printing.o printing/nt_printing.o
printing/notify.o printing/printing_db.o smbd/oplock.o smbd/oplock_irix.o
smbd/oplock_linux.o smbd/notify.o smbd/notify_hash.o smbd/notify_kernel.o
smbd/notify_fam.o groupdb/mapping.o auth/auth.o auth/auth_sam.o
auth/auth_unix.o auth/auth_winbind.o auth/auth_server.o auth/auth_domain.o
auth/auth_builtin.o auth/auth_util.o auth/auth_compat.o
auth/auth_ntlmssp.o auth/pampass.o auth/pass_check.o
libsmb/samlogon_cache.o libsmb/namequery_dc.o libsmb/trustdom_cache.o
libsmb/trusts_util.o rpc_client/cli_lsarpc.o rpc_client/cli_samr.o
rpc_client/cli_netlogon.o rpc_client/cli_srvsvc.o rpc_client/cli_wkssvc.o
rpc_client/cli_dfs.o rpc_client/cli_reg.o rpc_client/cli_pipe.o
rpc_client/cli_spoolss.o rpc_client/cli_spoolss_notify.o
rpc_client/cli_ds.o rpc_client/cli_echo.o rpc_client/cli_shutdown.o
rpc_client/cli_svcctl.o libads/ldap.o libads/ldap_printer.o libads/sasl.o
libads/krb5_setpw.o libads/ldap_user.o libads/ads_struct.o
libads/kerberos_keytab.o libads/disp_sec.o libads/ads_utils.o
libads/ldap_utils.o libads/authdata.o libads/cldap.o libads/kerberos.o
libads/ads_status.o libads/util.o libads/kerberos_verify.o
libads/ldap_schema.o sam/nss_info.o registry/reg_frontend.o
registry/reg_cachehook.o registry/reg_printing.o registry/reg_db.o
registry/reg_eventlog.o registry/reg_shares.o registry/reg_util.o
registry/reg_dynamic.o registry/reg_perfcount.o lib/popt_common.o
smbd/build_options.o lib/smbldap.o lib/smbldap_util.o smbd/server.o
-L/export/admin/build/build/ldap/lib -L/usr/local/lib
-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/ssl/lib
-L/export/admin/build/build/krb5/lib -R/export/admin/build/build/ldap/lib
-R/usr/local/lib -R/usr/local/BerkeleyDB.4.2/lib -R/usr/local/ssl/lib
-R/export/admin/build/build/krb5/lib -lthread -lldap -llber \
-lgssapi_krb5 -lkrb5 -lk5crypto \
-lldap -llber -lsendfile -lresolv -lnsl -lsocket -liconv -lpopt
make: Fatal error: Command failed for target `bin/smbd'
[root at emv24001:/export/admin/build/build/samba-3.0.23c/source]# cat OPTIONS2
export
PATH=/bin:/usr/sbin:/opt/SUNWcc/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/local/sbin
echo $PATH
./configure CPPFLAGS="-I/export/admin/build/build/ldap/include
-I/usr/local/include -I/usr/local/BerkeleyDB.4.2/include
-I/usr/local/ssl/include -I/export/admin/build/build/krb5/include"
LD_LIBRARY_PATH="-L/export/admin/build/build/ldap/lib -L/usr/local/lib
-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/ssl/lib
-L/export/admin/build/build/krb5/lib"
LDFLAGS="-L/export/admin/build/build/ldap/lib -L/usr/local/lib
-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/ssl/lib
-L/export/admin/build/build/krb5/lib -R/export/admin/build/build/ldap/lib
-R/usr/local/lib -R/usr/local/BerkeleyDB.4.2/lib -R/usr/local/ssl/lib
-R/export/admin/build/build/krb5/lib"
--prefix=/export/admin/build/build/smb323 --enable-debug CC=gcc --with-ads
--enable-debug --with-winbind
#--enable-spinlocks --with-pam --enable-dmalloc --enable-developer
--with-included-popt
More information about the samba
mailing list