Re: [gtk-list] AIX gtk+-1.2.1 Build Problems



"Tod A. Sandman" wrote:
> 
> While building on a few other platforms has worked fine out the box,
> I'm having trouble with an AIX 4.1.4 build.
> 
> I've tried egcs-1.1.2 and gcc-2.8.1.  Out the box I get
> 
>   gcc -O2 -Wall -o testgtk testgtk.o -L.libs -lgtk \
>     -L/usr/site/glib-1.2.1/lib -lgmodule -lglib -lXext -lX11 -lm \
>     -L../gdk/.libs -lgdk -lgmodule -lglib
>   ld: 0711-317 ERROR: Undefined symbol: .getpwuid_r

Can you mail me the output of your glib configure and the config.log file
please. It should actually find at least the options -mthreads

> Using -mthreads or -lc_r seems to get solve this, but then I get
> 
>   ld: 0711-781 ERROR: TOC overflow. TOC size: 78480  Maximum size: 65536
> 
> When I add -Wl,-bbigtoc to CFLAGS, I get

That got to be handled by the libtool people.

>   ld: 0711-783 WARNING: TOC overflow. TOC size: 78464 Maximum size:65536
>           Extra instructions are being generated for each reference to a
>    TOC
>           symbol if the symbol is in the TOC overflow area.
>   ld: 0711-780 SEVERE ERROR: Symbol .real_insert_row (entry 326) \
>     in object .libs/libgtk.a[gtkctree.o]:
>           Relocation overflow in reference to: LC..78 (entry 1008)
>           Address: 0x00007cc6;    RLD type: R_TOC;   RLD length: 16
>   ld: 0711-780 SEVERE ERROR: Symbol .real_insert_row (entry 326) \
>     in object .libs/libgtk.a[gtkctree.o]:
>           Relocation overflow in reference to: LC..78 (entry 1008)
>           Address: 0x00007d16;    RLD type: R_TOC;   RLD length: 16

I've got no clue, what can be done here.

Bye,
Sebastian
-- 
Sebastian Wilhelmi                   |            här ovanför alla molnen
mailto:wilhelmi@ira.uka.de           |      är himmlen så förunerligt blå
http://goethe.ira.uka.de/~wilhelmi   |



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