Re: GTK 2.10 compilation help



Richard Felkins <richardf gefion gso saic com> writes:

> Hello ,
>
> I am compiling GTK 2.10 on Solaris 8 and have the problem listed below.
> Could someone shed some light on what might cause this type of error as
> I believe I have ratified all of the prerequisites.
>
> If you need any additional information, please let me know.

Try this patch:

diff -ru src-2.6.8/gdk/x11/gdkasync.c src-2.6.8-local/gdk/x11/gdkasync.c
--- src-2.6.8/gdk/x11/gdkasync.c        2005-06-12 19:25:42.000000000 +0200
+++ src-2.6.8-local/gdk/x11/gdkasync.c  2005-06-30 15:28:24.000000000 +0200
@@ -43,6 +43,7 @@
 in this Software without prior written authorization from The Open Group.
 
 */
+#define __STDC__ 1
 #include <config.h>
 #ifdef NEED_XIPROTO_H_FOR_XREPLY
 #include <X11/extensions/XIproto.h>

I've used that patch on Solaris 8 on all of the 2.6.x and 2.8.x
series, but I haven't tried compiling 2.10.x yet. Not sure if it means
anything, but I use Sun's cc, not gcc.

Good luck,

-- 
Trond Hasle Amundsen <t h amundsen usit uio no>
Center for Information Technology Services, University of Oslo




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