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

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



At 08:17 AM 1/5/2006, repas@pyxis.pt wrote:
>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

This warning should be expected when using AIX's cc_r.

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

Expected given the warning that configure couldn't figure out
how to generate dependencies.

Given that configure/make are behaving as expected, this
issue will be closed.

>What should I do?

Read the platform hints for AIX.