Re: Compiling GTK+ on AIX 4.1.5



On Fri, 17 Nov 2000 09:51:49 EST, John Schmerge <schmerge cyber com>  said:
>   /bin/sh ../libtool --mode=link gcc  -O2 -Wall  -o testgtk  testgtk.o libgtk.la
>     ../gdk/libgdk.la -lXext -lX11 -L/usr/gnu/lib -Wl,-E -lgmodule -lglib -lm 
>   gcc -O2 -Wall -o testgtk testgtk.o .libs/libgtk.a -L/usr/gnu/lib -lgmodule
> -lglib
>     -lXext -lX11 -lm ../gdk/.libs/libgdk.a -lgmodule -lglib -lXext -lX11 -lm
> -lXext
>     -lX11 -L/usr/gnu/lib -Wl,-E -lgmodule -lglib -lm
>   /usr/gnu/lib/libglib.a(gutils.o)(.pr+0xa14):gutils.c: undefined reference to
> `getpwuid_r'
> 
> The gritty details are as follows:
>    * I'm running AIX 4.1.5 on an RS6000

Current AIX is 4.3.3, 4.1.5 is *VERY* unsupported.  I'd suggest upgrading.

getpwuid_r lives in libc.a under AIX 4.3.3.  It appears that something has
gotten compiled in thread-safe mode.  You might try adding -lpthread and
hope that helps...

>    * I am trying to compile gtk+ 1.2.6 (Already have a compiled copy of glib
> 1.2.6 installed).

Current gtk+ is 1.2.8.  Note that installing 1.2.6 will get you all the bugs
that were already fixed in 1.2.8.  No sense in installing an older version...

>    * I'm using egcs 2.91.66

You have my condolences.  
-- 
				Valdis Kletnieks
				Operating Systems Analyst
				Virginia Tech


Attachment: pgpRa4C5pi7lW.pgp
Description: PGP signature



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