Hello,
Just to provide more information if somebody pass through this same situation, there is a workaround here[1] for AIX 6.1 and 7.1. It's not official but it works. Now I'm be able to compile OpenLDAP 2.4.26 with no problems.
[1] - http://www.perzl.org/aix/index.php?n=Main.GCCAssemblerError
Em Seg, 2011-08-08 às 18:02 -0300, Matheus Morais escreveu:
I've just found the follow link on IBM support and seems to be a bug on AIX internals, I don't know precisely where.
https://www-304.ibm.com/support/docview.wss?uid=isg1IV00150
There is no fix for version 6.1 yet but seems to be a patch for version 5.3 [1].
[1] - https://www-304.ibm.com/support/docview.wss?uid=isg1fixinfo123037
Em Seg, 2011-08-08 às 17:08 -0300, Matheus Morais escreveu:
Hi there,
I'm trying to compile OpenLDAP 2.4.23 on AIX 6.1 but I'm receiving the following erros after 'make':
ar: Creating an archive file liblutil.a. ar: Creating an archive file liblunicode.a. ar: Creating an archive file librewrite.a. ld: 0711-596 SEVERE ERROR: Object librewrite.a[xmap.o] An RLD for section 2 (.data) refers to symbol 1030, but the storage class of the symbol is not C_EXT or C_HIDEXT. collect2: ld returned 12 exit status make: 1254-004 The error code from the last command is 1.
Stop. make: 1254-004 The error code from the last command is 2.
Stop. make: 1254-004 The error code from the last command is 2.
Stop.
I have attached the execution log files for 'configure', 'make depend' and 'make'. I also tryed to compile the latest release (2.4.26) but have found the same error. This could be a compatibility problem with ld from AIX or something like that?
Thanks.