On Thu, 10 May 2001 16:58:13 CDT, Shantala Gopala Krishna <shantala austin ibm com> said:
> ld: 0711-781 ERROR: TOC overflow. TOC size: 78556 Maximum size:
> 65536
> Could anyone help me on this?
Adding -bbigtoc to your link flags should fix this.
> Also, I downloaded the gtk/glib source file for 4.3.2 and later version
> of AIX. However, while doing ./configure for glib, I got some error
> messages indicating that the library files being used - libX11.a,
> libC.a, libm.a etc are not COFF files. We managed to find ways to
> rebuild these library. However, I have a feeling that the source
> files I've downloaded are not meant for AIX 5.1 version, although it's
> said they're for 4.3.2 and later. I believe in AIX 5.1, there have
> been changes that have gone in and the source code available for
> gtk/glib do not address that.
Most likely what's happening is that 'libtool' is failing to recognize that
AIX 5.0 (and presumably 5.1 as well - I've not seen a copy of 5.1 yet) are
actually almost identical to AIX 4.3.3(*)
Look in the 'ltconfig' script for places it checks for things like:
aix3* | aix4*)
(in my libtool 1.3.5 ltconfig they're at lines 699,
1118, 1273, 1301, 1803, 2171)
Adding aix5 support should be easy...
Alternatively, install libtool 1.4 and use that instead - it already has
aix5 support....
--
Valdis Kletnieks
Operating Systems Analyst
Virginia Tech
I'll push a patch upstream to the libtool maintainers...
Attachment:
pgpOkRGRKG6l1.pgp
Description: PGP signature