Re: Compiling gtk+-1.1.15 on Solaris 2.5




fpetitje@bureauveritas.com writes:

> I have downloaded glib-1.1.15 and gtk+-1.1.15. I have built glib without
> any problem (with gcc 2.8.1 and configured --enable-static=no
> --with-threads=solaris )
> 
>  Gtk+ is configured with --enable-static=no --enable-ansi --with-x
> --with-catgets

BTW: --with-catgets is not supported. The gettext support
should work out of the box on Solaris. --with-x, not
suprisingly, is not required.

> The build breaks :
> 
> gdkdnd.c: In function `gdk_drag_status':
> gdkdnd.c:3017: warning: overflow in implicit constant conversion
> gdkdnd.c:3024: warning: overflow in implicit constant conversion
> gdkdnd.c:3026: warning: overflow in implicit constant conversion
> gdkdnd.c:3029: warning: overflow in implicit constant conversion
> gdkdnd.c: In function `gdk_drop_reply':
> gdkdnd.c:3107: warning: overflow in implicit constant conversion

This should be harmless. Could do with a explicit cast
to signed char.

> gdkim.c: In function `gdk_im_real_open':
> gdkim.c:382: warning: implicit declaration of function `XSetIMValues'
> gdkim.c:382: `XNDestroyCallback' undeclared (first use in this function)
> gdkim.c:382: (Each undeclared identifier is reported only once
> gdkim.c:382: for each function it appears in.)
> gdkim.c:382: warning: comparison between pointer and integer
> gdkim.c: In function `gdk_wcstombs':
> gdkim.c:1513: warning: pointer targets in passing arg 1 of `g_strdup'
> differ in
> signedness
> make[2]: *** [gdkim.lo] Error 1
> 
> I checked that, in Solaris 2.5 and AIX 4.1, there no XSetIMValues()
> function.

This has been fixed in current CVS. (XSetIMValues was
added in X11R6). If you just #ifdef out the lines for 
now, you'll be OK.

Regards,
                                        Owen



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