Bug 8774 - Samba compile fails 'make quicktest', _GLOBAL_OFFSET_TABLE_ linked in multiple libraries
Samba compile fails 'make quicktest', _GLOBAL_OFFSET_TABLE_ linked in multipl...
Product: Samba 4.0
Classification: Unclassified
Component: Build
x64 Solaris
: P5 minor
: ---
Assigned To: Andrew Bartlett
Depends on:
  Show dependency treegraph
Reported: 2012-02-23 02:12 UTC by Michael Farnbach
Modified: 2012-05-10 07:44 UTC (History)
0 users

See Also:

Patch to ignore _GLOBAL_OFFSET_TABLE_ (889 bytes, patch)
2012-04-23 01:39 UTC, Andrew Bartlett
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Farnbach 2012-02-23 02:12:46 UTC
[3802/3802] symbol duplicate checking:
Waf: Leaving directory `/apool/samba4/samba-master/bin'
Build failed: default/source3/lib/netapi/examples/localgroup/localgroup_setinfo: Symbol _GLOBAL_OFFSET_TABLE_ linked in multiple libraries ['asn1', 'CHARSET3', 'com_err', 'cli-nbt', '/usr/lib/libgcrypt.so.11.5.3', 'string_init', 'msrpc3', 'tdb_compat', 'libsmb', 'util_reg', 'krb5', 'ldbsamba', 'winbind-client', 'smbconf', 'interfaces', 'tdb', 'server-role', 'pdb', 'talloc', '/usr/sfw/lib/libgcc_s.so.1', 'UTIL_TDB', 'util_cmdline', 'cli_smb_common', 'ads', 'events', 'ldb', 'wbclient', 'flag_mapping', 'gssapi', 'samba-util', '/usr/lib/libldap.so.5', '/usr/lib/libpopt.so.0.0.0', '/lib/libsocket.so.1', 'util_sec', 'samba-hostconfig', 'wind', 'ndr-samba', 'dcerpc-samba', 'ndr_nbt', 'tdb-wrap', 'replace', 'authkrb5', '/lib/libresolv.so.2', 'cliauth', 'netapi', 'hcrypto', 'util_str', 'cli-ldap-common', 'samba-modules', '/lib/libnsl.so.1', 'asn1util', 'ndr', 'util_malloc', 'dcerpc-binding', 'ndr-krb5pac', '/lib/libz.so.1', 'tevent-util', '/usr/lib/libgnutls.so.26.14.12', 'nss_wrapper', 'roken', '/lib/libc.so.1', 'tevent', 'samdb-common', 'heimbase', 'samdb', 'gensec', 'security', 'memcache', 'ccan', 'dbwrap', 'auth_sam_reply', 'adt_tree', 'smbd_shim', 'socket_wrapper', 'errors', 'libcli_netlogon3', 'samba-credentials', 'smbregistry', 'smbldap', 'uid_wrapper', 'hx509', 'ndr-standard', 'samba-sockets', 'cli_cldap', 'secrets3', 'gse', 'libcli_lsa3']
*** Error code 1
make: Fatal error: Command failed for target `quicktest'
Comment 1 Andrew Bartlett 2012-04-23 01:39:57 UTC
Created attachment 7473 [details]
Patch to ignore _GLOBAL_OFFSET_TABLE_

Let me know if you still have this issue, and if so, if this fixes the issue

Otherwise, please just configure with --enable-debug --enable-sefltest on platforms where the duplicate symbol checker fails.

Comment 2 Matthias Dieter Wallnöfer 2012-05-04 08:40:31 UTC
Please retry using the mentioned patch. Would we very nice if we could close this.
Comment 3 Michael Farnbach 2012-05-10 04:28:06 UTC
Sorry for the late reply...

Yes it is fixed! It compiles and starts running the tests.
Comment 4 Matthias Dieter Wallnöfer 2012-05-10 07:44:54 UTC
Finally fixed.