Re: compiling gtk-indy




Omar Armas Aleman <kaos@jlagunez.iquimica.unam.mx> writes:

> i'm compiling gtk 1.01 in an indy running irix 6.2, but i get the next
> error:
> __________________
> /usr/include/X11/Xutil.h:903: warning: type defaults to `int' in
> declaration of `XXorRegion'
>         /bin/sh ../libtool --mode=link gcc -g -O2 -DGTK_NO_CHECK_CASTS
> -Wall -DUSE_XIM  -o testgtk  testgtk.o libgtk.la
> ../gdk/libgdk.la                 -lXext -lX11
> ../glib/libglib.la              -lm 
> gcc -g -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -o .libs/testgtk testgtk.o
> -Wl,-rpath -Wl,/usr/local/lib .libs/libgtk.so -Wl,-rpath
> -Wl,/usr/local/lib ../gdk/.libs/libgdk.so -lXext -lX11 -lXext -lX11
> -Wl,-rpath -Wl,/usr/local/lib ../glib/.libs/libglib.so -lm
> ld: FATAL 9: I/O error (-lm): No such file or directory
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
> geniajr 12# 
> _____________________

This is a bit of a strange one. -lm should link in the math
library, and if you don't have the math library on your
system, I doubt anything will compile...

Do other programs compile?

[ Also, some fairly serious bugs on IRIX have been fixed since
  1.0.1, so you should use the current 1.0.4 instead, though
  I don't think that will help this particular problem ]
 
> beside it, there are a lot of warnings like:
> 
> __________________________________________
> /usr/include/X11/Xutil.h:676: warning: type defaults to `int' in
> declaration of
> `XSetStandardProperties'
> 
> /usr/include/X11/Xresource.h:249: warning: type defaults to `int' in
> declaration of `XrmQGetResource'
> 
> gdk.c: In function `gdk_event_translate':
> gdk.c:2893: warning: overflow in implicit constant conversion
> 
> /usr/include/X11/Xutil.h:903: warning: type defaults to `int' in
> declaration of
> `XXorRegion'
> 
> /usr/include/X11/Xutil.h:402: warning: type defaults to `int' in
> declaration of
> `XEqualRegion'
> ___________________________

Do the errors occur in this order? Or is this just a selection
of a few of them..

I don't really understand these warnings - again it seems to
be something strange about the way X is installed on your
machine. Perhaps some other people compiling GTK under IRIX
will have some insight into the matter.

Regards,
                                        Owen



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