[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#4303) OpenLDAP doesn't compile on AIX 5.3



Full_Name: João Repas Gonçalves
Version: 2.3.11
OS: AIX 5.3.0.0
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (213.58.132.197)


I executed ./configure which gave me the following warning (extract from 
config.log):

configure:12798: cc_r -M conftest.c
"conftest.c", line 1.2: 1506-273 (E) Missing type in declaration of noCode.
ld: 0711-317 ERROR: Undefined symbol: .main
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
configure:12801: $? = 8
configure:12798: cc_r -xM conftest.c
"conftest.c", line 1.2: 1506-273 (E) Missing type in declaration of noCode.
ld: 0706-027 The -x flag is ignored.
ld: 0711-317 ERROR: Undefined symbol: .main
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
configure:12801: $? = 8
configure:12815: result: no
configure:12831: WARNING: do not know how to generate dependencies

After that I ran make depend, and gave me a lot of errors (extract just one):

  Entering subdirectory libraries
Making depend in /home/sistemas/edcsrgo/ldap/openldap/src/openldap-2.3.11/libraries
  Entering subdirectory liblutil
        ../../build/mkdep   -d "." -c "cc_r" -m "" -I../../include       
-I../../include      base64.c csn.c entropy.c sasl.c signal.c hash.c passfile.c 
md5.c passwd.c sha1.c getpass.c lockf.c utils.c uuid.c sockpair.c  avl.c tavl.c
ldif.c fetch.c  testavl.c  setproctitle.c detach.c
ld: 0711-317 ERROR: Undefined symbol: .ber_memfree
ld: 0711-317 ERROR: Undefined symbol: .ber_memalloc
ld: 0711-317 ERROR: Undefined symbol: .ber_memrealloc
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
Target "depend" is up to date.

What should I do?