[Fedora-directory-devel] building LDAP C SDK on AIX 5.1 problems ?

Michael J. Wheeler mwheeler at pittstate.edu
Thu Feb 16 03:28:11 UTC 2006


Hello all. I am attempting to build the LDAP C SDK on AIX 5.1 and I'm
running into some problems. I'm using gmake 3.80 to do the building. The
guys in the IRC channel suggested I try posting to this list.

First of all, I grabbed the latest version of the SDK from CVS today. I'm
using the build directions at: http://www.mozilla.org/directory/csdk.html .

I was able to successfully build NSPR, NSS, and SVRCORE . When I got to the
step to build the libraries and command line tools with SVRCORE, it failed.
Here are the last few lines from the build output:

xlC_r -o fileurl.o -c     -qro -qroconst -qarch=com -g   -DDEBUG_root
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DDEBUG=1 -DXP_UNIX=1
-DAIX=1 -DSYSV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DAIX_HAVE_ATOMIC_OP_H=1
-DAIX_TIMERS=1 -D_PR_HAVE_OFF64_T=1 -DHAVE_SOCKLEN_T=1
-DHAVE_FCNTL_FILE_LOCKING=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1
-DLDAP_DEBUG   -DNET_SSL  -DNO_LIBLCACHE -DLDAP_REFERRALS     -DNS_DOMESTIC
 -DLDAP_TOOL_ARGPIN -DLDAP_TOOL_PKCS11 -DFORCE_PR_LOG -D_PR_PTHREADS
-UHAVE_CVAR_BUILT_ON_SEM -D_PR_INET6
-I/scratch/mozilla-ldap-sdk/mozilla/dist/public/nss
-I/scratch/mozilla-ldap-sdk/mozilla/dist/AIX5.1_DBG.OBJ/include
-I../../../../../dist/public/ldap -I../../../ldap/include
-I/scratch/mozilla-ldap-sdk/mozilla/dist/public/svrcore  fileurl.c
xlC_r -o argpin.o -c     -qro -qroconst -qarch=com -g   -DDEBUG_root
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DDEBUG=1 -DXP_UNIX=1
-DAIX=1 -DSYSV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DAIX_HAVE_ATOMIC_OP_H=1
-DAIX_TIMERS=1 -D_PR_HAVE_OFF64_T=1 -DHAVE_SOCKLEN_T=1
-DHAVE_FCNTL_FILE_LOCKING=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1
-DLDAP_DEBUG   -DNET_SSL  -DNO_LIBLCACHE -DLDAP_REFERRALS     -DNS_DOMESTIC
 -DLDAP_TOOL_ARGPIN -DLDAP_TOOL_PKCS11 -DFORCE_PR_LOG -D_PR_PTHREADS
-UHAVE_CVAR_BUILT_ON_SEM -D_PR_INET6
-I/scratch/mozilla-ldap-sdk/mozilla/dist/public/nss
-I/scratch/mozilla-ldap-sdk/mozilla/dist/AIX5.1_DBG.OBJ/include
-I../../../../../dist/public/ldap -I../../../ldap/include
-I/scratch/mozilla-ldap-sdk/mozilla/dist/public/svrcore  argpin.c
xlC_r -o ntuserpin.o -c     -qro -qroconst -qarch=com -g   -DDEBUG_root
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DDEBUG=1 -DXP_UNIX=1
-DAIX=1 -DSYSV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DAIX_HAVE_ATOMIC_OP_H=1
-DAIX_TIMERS=1 -D_PR_HAVE_OFF64_T=1 -DHAVE_SOCKLEN_T=1
-DHAVE_FCNTL_FILE_LOCKING=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1
-DLDAP_DEBUG   -DNET_SSL  -DNO_LIBLCACHE -DLDAP_REFERRALS     -DNS_DOMESTIC
 -DLDAP_TOOL_ARGPIN -DLDAP_TOOL_PKCS11 -DFORCE_PR_LOG -D_PR_PTHREADS
-UHAVE_CVAR_BUILT_ON_SEM -D_PR_INET6
-I/scratch/mozilla-ldap-sdk/mozilla/dist/public/nss
-I/scratch/mozilla-ldap-sdk/mozilla/dist/AIX5.1_DBG.OBJ/include
-I../../../../../dist/public/ldap -I../../../ldap/include
-I/scratch/mozilla-ldap-sdk/mozilla/dist/public/svrcore  ntuserpin.c
"ntuserpin.c", line 130.1: 1506-356 (W) Compilation unit is empty.
xlC_r
-blibpath:..:../lib:../../lib:../../../lib:../../../../lib:/usr/lib:/lib -o
bin/ldapdelete ldapdelete.o common.o convutf8.o fileurl.o argpin.o
ntuserpin.o   -L../../../../../dist/./lib -lssldap50 -lprldap50 -lldap50
-lldif50 -L../../../../../dist/lib
-L/scratch/mozilla-ldap-sdk/mozilla/dist/AIX5.1_32_PTH_DBG.OBJ/lib
-lsvrcore -lsvrcore
-L/scratch/mozilla-ldap-sdk/mozilla/dist/AIX5.1_32_PTH_DBG.OBJ/lib -lssl3
-lnss3 -lsoftokn3
-L/scratch/mozilla-ldap-sdk/mozilla/dist/AIX5.1_DBG.OBJ/lib -lplc4 -lplds4
-lnspr4 -ldl -brtl -lpthreads -lc_r -lm
ld: 0711-224 WARNING: Duplicate symbol: .bcopy
ld: 0711-224 WARNING: Duplicate symbol: bcopy
ld: 0711-224 WARNING: Duplicate symbol: .strcmp
ld: 0711-224 WARNING: Duplicate symbol: strcmp
ld: 0711-224 WARNING: Duplicate symbol: .strcpy
ld: 0711-224 WARNING: Duplicate symbol: strcpy
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
ld: 0711-317 ERROR: Undefined symbol: .iconv_open
ld: 0711-317 ERROR: Undefined symbol: .iconv_close
ld: 0711-317 ERROR: Undefined symbol: .iconv
gmake[2]: *** [bin/ldapdelete] Error 8
gmake[2]: Leaving directory
`/scratch/mozilla-ldap-sdk/mozilla/directory/c-sdk/ldap/clients/tools'
gmake[1]: *** [export] Error 2
gmake[1]: Leaving directory
`/scratch/mozilla-ldap-sdk/mozilla/directory/c-sdk/ldap'
gmake: *** [export] Error 2


Does anybody have any suggestions?


-- 
Michael J. Wheeler
System Administrator
Pittsburg State University
Phone:  620-235-4610
E-mail: mwheeler at pittstate.edu

-- 
Rap's Law of Inanimate Reproduction:
If you take something apart and put it back together enough times,
eventually you will have two of them.




More information about the Fedora-directory-devel mailing list