Bug 13316 - linking error: Undefined symbol: .notify_init .notify_walk
Summary: linking error: Undefined symbol: .notify_init .notify_walk
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build (show other bugs)
Version: 4.7.5
Hardware: PPC AIX
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-01 14:31 UTC by flynn8765
Modified: 2018-03-01 14:31 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description flynn8765 2018-03-01 14:31:24 UTC
root@aixbuildhost: /usr/local/src/samba-4.7.5 # gmake V=1
WAF_MAKE=1 python ./buildtools/bin/waf build
Waf: Entering directory `/usr/local/src/samba-4.7.5/bin'
        Selected system MIT krb5 libraries, Heimdal use is disabled
[3007/3033] Linking default/source3/smbstatus
15:27:07 runner /usr/bin/gcc -maix64 default/source3/utils/status_128.o default/source3/utils/status_profile_dummy_128.o -o /usr/local/src/samba-4.7.5/bin/default/source3/smbstatus -L/opt/freeware/lib64 -L/opt/freeware/lib64/python2.7 -Wl,-b64 -Wl,-blibpath:=/opt/freeware/lib64:/opt/freeware/lib/samba:/usr/vac/lib:/usr/lib:/lib -Wl,-bexpfull -pie -lpthread -Wl,-brtl -Ldefault/source4/lib/socket -Ldefault/libcli/nbt -Ldefault/source4/cluster -Ldefault/source4/libcli/ldap -Ldefault/nsswitch -Ldefault/source4/lib/messaging -Ldefault/source4/librpc -Ldefault/libcli/cldap -Ldefault/lib/addns -Ldefault/libds/common -Ldefault/nsswitch/libwbclient -Ldefault/auth/credentials -Ldefault/lib/ldb-samba -Ldefault/source4/auth/kerberos -Ldefault/libcli/ldap -Ldefault/source4/lib/events -Ldefault/auth/gensec -Ldefault/lib/param -Ldefault/lib/tdb_wrap -Ldefault/lib/krb5_wrap -Ldefault/auth -Ldefault/source3/auth -Ldefault/libcli/named_pipe_auth -Ldefault/source4/dsdb -Ldefault/libcli/auth -Ldefault/dfs_server -Ldefault/libcli/security -Ldefault/lib -Ldefault/libcli/registry -Ldefault/libcli/smb -Ldefault/lib/dbwrap -Ldefault/libcli/util -Ldefault/lib/socket -Ldefault/librpc -Ldefault/lib/replace -Ldefault/lib/util -Ldefault/source3 -L/opt/freeware/lib -Wl,-Bdynamic -lpopt-samba3-samba4 -lsamba-util -lsmbconf -lsmbd-base-samba4 -lreplace-samba4 -lndr-samba-samba4 -lndr -lutil-cmdline-samba4 -ltime-basic-samba4 -lutil-setid-samba4 -lsamba-debug-samba4 -lgenrand-samba4 -lsocket-blocking-samba4 -linterfaces-samba4 -ltalloc-report-samba4 -ltevent-util -lmessages-dgm-samba4 -lsmbd-shim-samba4 -lserver-id-db-samba4 -lsamba-errors -ldbwrap-samba4 -lCHARSET3-samba4 -liov-buf-samba4 -lutil-tdb-samba4 -lcli-smb-common-samba4 -lsamba-cluster-support-samba4 -lsys-rw-samba4 -lutil-reg-samba4 -lsamba3-util-samba4 -lsamba-sockets-samba4 -lsamba-security-samba4 -lmessages-util-samba4 -ldfs-server-ad-samba4 -lprinting-migrate-samba4 -lnet-keytab-samba4 -lcliauth-samba4 -lnetapi -lsamdb -lsmbd-conn-samba4 -lsamba-passdb -lnpa-tstream-samba4 -lauth-samba4 -llibsmb-samba4 -lmsrpc3-samba4 -lcommon-auth-samba4 -lkrb5samba-samba4 -ldcerpc-samba-samba4 -lndr-krb5pac -lndr-standard -lasn1util-samba4 -lndr-nbt -lsecrets3-samba4 -lmsghdr-samba4 -ltdb-wrap-samba4 -lsamba-hostconfig -lsmb-transport-samba4 -lgensec-samba4 -levents-samba4 -lcli-spoolss-samba4 -lads-samba4 -llibcli-netlogon3-samba4 -lsamdb-common-samba4 -lcli-ldap-common-samba4 -lauthkrb5-samba4 -lldbsamba-samba4 -lsamba-credentials -lwbclient -lflag-mapping-samba4 -llibcli-lsa3-samba4 -ltrusts-util-samba4 -laddns-samba4 -lcli-cldap-samba4 -lgse-samba4 -ldcerpc-binding -lndr-samba4 -lMESSAGING-SEND-samba4 -lserver-role-samba4 -lsamba-modules-samba4 -lsmbldap -lwinbind-client-samba4 -lcli-ldap-samba4 -lcluster-samba4 -lcli-nbt-samba4 -lnetif-samba4 -lcrypto -lpam -liconv -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz -lgcrypt -lgnutls -llber -lldap -lcups -lrt -lbsd -lxdsm
ld: 0706-027 The -B dynamic flag is ignored.
ld: 0711-224 WARNING: Duplicate symbol: .memset
ld: 0711-224 WARNING: Duplicate symbol: memset
ld: 0711-224 WARNING: Duplicate symbol: .talloc_asprintf
ld: 0711-224 WARNING: Duplicate symbol: talloc_asprintf
ld: 0711-224 WARNING: Duplicate symbol: ._talloc_free
ld: 0711-224 WARNING: Duplicate symbol: _talloc_free
ld: 0711-224 WARNING: Duplicate symbol: .talloc_strdup
ld: 0711-224 WARNING: Duplicate symbol: talloc_strdup
ld: 0711-224 WARNING: Duplicate symbol: .__init_aix_libgcc_cxa_atexit
ld: 0711-224 WARNING: Duplicate symbol: __init_aix_libgcc_cxa_atexit
ld: 0711-224 WARNING: Duplicate symbol: .global destructors keyed to 65535_0___dso_handle
ld: 0711-224 WARNING: Duplicate symbol: __dso_handle
ld: 0711-224 WARNING: Duplicate symbol: global destructors keyed to 65535_0___dso_handle
ld: 0711-224 WARNING: Duplicate symbol: __gcc_unwind_dbase
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
ld: 0711-317 ERROR: Undefined symbol: .notify_init
ld: 0711-317 ERROR: Undefined symbol: .notify_walk
collect2: error: ld returned 8 exit status
Waf: Leaving directory `/usr/local/src/samba-4.7.5/bin'
Build failed:  -> task failed (err #1):
        {task: cc_link status_128.o,status_profile_dummy_128.o -> smbstatus}
Makefile:8: recipe for target 'all' failed
gmake: *** [all] Error 1



(ld): er full
ld: 0711-318 ERROR: Undefined symbols were found.
        The following symbols are in error:
 Symbol                    Inpndx  TY CL Source-File(Object-File) OR Import-File{Shared-object}
                              RLD: Address  Section  Rld-type Referencing Symbol
 ----------------------------------------------------------------------------------------------
 .notify_init              [98]    ER PR ../source3/utils/status.c(default/source3/utils/status_128.o)
                                   000017c8 .text    R_RBR    [138]   .main
 .notify_walk              [100]   ER PR ../source3/utils/status.c(default/source3/utils/status_128.o)
                                   000017ec .text    R_RBR    [138]   .main
ER: The return code is 8.
ld: 0706-027 The -B dynamic flag is ignored.
ld: 0711-224 WARNING: Duplicate symbol: .memset
ld: 0711-224 WARNING: Duplicate symbol: memset
ld: 0711-224 WARNING: Duplicate symbol: .talloc_asprintf
ld: 0711-224 WARNING: Duplicate symbol: talloc_asprintf
ld: 0711-224 WARNING: Duplicate symbol: ._talloc_free
ld: 0711-224 WARNING: Duplicate symbol: _talloc_free
ld: 0711-224 WARNING: Duplicate symbol: .talloc_strdup
ld: 0711-224 WARNING: Duplicate symbol: talloc_strdup
ld: 0711-224 WARNING: Duplicate symbol: .__init_aix_libgcc_cxa_atexit
ld: 0711-224 WARNING: Duplicate symbol: __init_aix_libgcc_cxa_atexit
ld: 0711-224 WARNING: Duplicate symbol: .global destructors keyed to 65535_0___dso_handle
ld: 0711-224 WARNING: Duplicate symbol: __dso_handle
ld: 0711-224 WARNING: Duplicate symbol: global destructors keyed to 65535_0___dso_handle
ld: 0711-224 WARNING: Duplicate symbol: __gcc_unwind_dbase
ld: 0711-317 ERROR: Undefined symbol: .notify_init
ld: 0711-317 ERROR: Undefined symbol: .notify_walk
collect2: error: ld returned 8 exit status