Re: [gtk-list] gtk on AIX 4.3

> Has anyone gotten this to compile on AIX 4.3? I have tried and keep getting:
> gcc -g -O2 -Wall -o testgtk testgtk.o .libs/libgtk.a -lXext -lX11 -lm
> ../gdk/.li
> bs/libgdk.a -lXext -lX11 -lm -lXext -lX11
> /home/bones/glib-1.1.15/.libs/libglib.
> a /home/bones/glib-1.1.15/.libs/libgmodule.a -lm
> collect2: ld returned 12 exit status
> ld: 0711-781 ERROR: TOC overflow. TOC size: 77008       Maximum size: 65536
> make: 1254-004 The error code from the last command is 1.

I ran into this while building another package on AIX 4.3.1 using GCC.

You have to link with "-Wl,-bbigtoc" in order to get a bigger

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]