I../popt -Iinclude -I/tmp/samba/samba-3.0.21b/source/build5/../include -I/tmp/samba/samba-3.0.21b/source/build5/../ubiqx -I/tmp/samba/samba-3.0.21b/source/build5/../tdb -I. -I/usr/local/heimdal-krb5/include -I/usr/local/bdb/include -I/usr/local/ssl/include -DLDAP_DEPRECATED -I/tmp/samba/samba-3.0.21b/source/build5/.. -D_SAMBA_BUILD_ LIBS = -lrt LDSHFLAGS = -Wl,-bexpall,-bM:SRE,-bnoentry,-berok -L/usr/local/heimdal-krb5/lib -L/usr/local/bdb/lib -L/usr/local/cyrus-sasl/lib -L/usr/local/ssl/lib -L/usr/local/openldap/lib LDFLAGS = -L/usr/local/heimdal-krb5/lib -L/usr/local/bdb/lib -L/usr/local/cyrus-sasl/lib -L/usr/local/ssl/lib -L/usr/local/openldap/lib PIE_CFLAGS = -fPIE PIE_LDFLAGS = -pie Linking bin/smbd ld: 0711-317 ERROR: Undefined symbol: .auth_script_init ld: 0711-344 See the loadmap file PARM for more information. collect2: ld returned 8 exit status make: 1254-004 The error code from the last command is 1.
End of -bloadmap:PARM file at error occurence: (ld): i /usr/local/lib/gcc/powerpc-ibm-aix5.2.0.0/4.0.2/libgcc.a (ld): i /usr/local/lib/gcc/powerpc-ibm-aix5.2.0.0/4.0.2/libgcc_eh.a (ld): lib /usr/lib/libc.a (ld): lib /usr/lib/librtl.a LIBRARY: Shared object libldap.a[libldap-2.3.so.0]: 349 symbols imported. LIBRARY: Shared object liblber.a[liblber-2.3.so.0]: 128 symbols imported. LIBRARY: Shared object libpam.a[shr.o]: 14 symbols imported. LIBRARY: Shared object librt.a[posix_aio.o]: 7 symbols imported. LIBRARY: Shared object libc.a[shr.o]: 2563 symbols imported. LIBRARY: Shared object libc.a[meth.o]: 2 symbols imported. LIBRARY: Shared object libc.a[posix_aio.o]: 17 symbols imported. LIBRARY: Shared object libc.a[aio.o]: 11 symbols imported. LIBRARY: Shared object libc.a[pse.o]: 5 symbols imported. LIBRARY: Shared object libc.a[dl.o]: 4 symbols imported. LIBRARY: Shared object libc.a[pty.o]: 1 symbols imported. LIBRARY: Shared object librtl.a[shr.o]: 1 symbols imported. LIBRARY: Shared object librtl.a[lazy42.o]: 3 symbols imported. FILELIST: Number of previously inserted files processed: 358 (ld): initfini _GLOBAL__FI_smbd _GLOBAL__FD_smbd (ld): resolve RESOLVE: 30462 of 71898 symbols were kept. (ld): addgl /usr/lib/glink.o ADDGL: Glink code added for 340 symbols. (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 ---------------------------------------------------------------------------------------------- .auth_script_init [410] ER PR ../auth/auth.c(auth/auth.o) 000024ec .text R_BR [64] .load_auth_module ER: The return code is 8.
To try and resolve issue with other bugs, I downloaded 4.0.2 gcc that did not have threading enabled. During the rebuild of samba, I got this ld error.
Bill, Could you review these when you get a chance? Thanks.
I stopped using binutils on aix and this problem went away.