Bug 3536 - ld: 0711-317 ERROR: Undefined symbol: .auth_script_init
Summary: ld: 0711-317 ERROR: Undefined symbol: .auth_script_init
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.21b
Hardware: Other AIX
: P3 normal
Target Milestone: none
Assignee: William Jojo
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-21 12:42 UTC by David Shapiro
Modified: 2006-03-02 08:40 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 David Shapiro 2006-02-21 12:42:35 UTC
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.
Comment 1 David Shapiro 2006-02-21 12:43:49 UTC
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.
Comment 2 David Shapiro 2006-02-21 12:45:34 UTC
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.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2006-03-01 08:37:47 UTC
Bill,  Could you review these when you get a chance?  Thanks.
Comment 4 David Shapiro 2006-03-02 08:40:40 UTC
I stopped using binutils on aix and this problem went away.