undefined reference to `_dl_stop_profile@GLIBC_2.2.5'

David Wuertele dave-gnus@bfnet.com
Thu Jan 15 20:44:00 GMT 2004


I'm trying to compile samba-3.0.0 with a crosstool mipsel-linux
toolchain.  I copied all the runtimes (eg libc.so) from 

mipsel-unknown-linux-gnu/gcc-3.2.3-glibc-2.2.3/mipsel-unknown-linux-gnu/lib/*

into /path/to/my/target/root/lib, then tried linking.  But when the
makefile tries to link smbd like so (apologies for the really long
line):

/home/dave/C/crosstool/build/mipsel-unknown-linux-gnu/gcc-3.2.3-glibc-2.2.3/bin/mipsel-linux-gcc  -Os -I./popt -Iinclude -I/home/dave/C/perforce/source/deschutes/rootfs/samba-3.0.0/source/include -I/home/dave/C/perforce/source/deschutes/rootfs/samba-3.0.0/source/ubiqx -I/home/dave/C/perforce/source/deschutes/rootfs/samba-3.0.0/source/smbwrapper  -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/home/dave/C/perforce/source/deschutes/rootfs/samba-3.0.0/source     -o bin/smbd smbd/files.o smbd/chgpasswd.o smbd/connection.o smbd/utmp.o smbd/session.o smbd/dfree.o smbd/dir.o smbd/password.o smbd/conn.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/util_seaccess.o lib/sysquotas.o smbd/change_trust_pw.o smbd/fake_file.o smbd/quotas.o smbd/ntquotas.o lib/afs.o smbd/mangle.o smbd/mangle_hash.o smbd/mangle_map.o smbd/mangle_hash2.o  msdfs/msdfs.o  rpc_server/srv_lsa.o rpc_server/srv_lsa_nt.o rpc_server/srv_reg.o rpc_server/srv_reg_nt.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_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_samr.o rpc_server/srv_samr_nt.o rpc_server/srv_samr_util.o rpc_server/srv_pipe_hnd.o rpc_server/srv_util.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 registry/reg_objects.o passdb/secrets.o locking/locking.o locking/brlock.o locking/posix.o passdb/pdb_get_set.o passdb/passdb.o passdb/pdb_interface.o passdb/machine_sid.o passdb/util_sam_sid.o passdb/pdb_compat.o passdb/privileges.o passdb/lookup_sid.o  passdb/pdb_smbpasswd.o passdb/pdb_tdb.o passdb/pdb_guest.o  printing/pcap.o printing/print_svid.o printing/print_cups.o printing/print_generic.o printing/lpq_parse.o printing/load.o profile/profile.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 groupdb/mapping.o auth/auth.o  auth/auth_rhosts.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  libads/ldap.o libads/ldap_printer.o libads/sasl.o libads/krb5_setpw.o libads/ldap_user.o libads/ads_struct.o libads/ads_status.o libads/disp_sec.o libads/ads_utils.o libads/ldap_utils.o libads/ads_ldap.o libads/authdata.o  libads/util.o libads/kerberos_verify.o lib/system_smbd.o lib/util_smbd.o  registry/reg_frontend.o registry/reg_cachehook.o registry/reg_printing.o registry/reg_db.o  lib/popt_common.o  smbd/build_options.o  smbd/server.o    -Wl,--export-dynamic  -lcrypt    -lcrypt -lresolv -lnsl -ldl popt/findme.o popt/popt.o popt/poptconfig.o popt/popthelp.o popt/poptparse.o -L ./bin -lsmbclient -L /path/to/my/target/root/lib  -liconv

I get the following error:

/path/to/my/target/root/lib/libc.so.6: undefined reference to `_dl_stop_profile@GLIBC_2.2.5'

Any clues on what this means?

Thanks,
Dave


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list