SUMMARY Re: GTK 2.10 gdkasync.c compilation help




Thanks to Trond Hasle Amundsen and Valdis Kletnieks vt edu for
their guidance.  

Since I was using the gcc compiler, I used the patch change from 
Trond in the failed source code gdkasync.c suggestion.

The compile proceeded from that point sucessfully.

-Richard.


>To: Richard Felkins <richardf gefion gso saic com>
>Cc: gtk-list gnome org
>Subject: Re: GTK 2.10 compilation help
>From: Trond Hasle Amundsen <t h amundsen usit uio no>
>Date: Thu, 20 Jul 2006 15:59:05 +0200
>User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)
>MIME-Version: 1.0
>X-UiO-Spam-info: not spam, SpamAssassin (score=-5.533, required 12, 
autolearn=disabled, AWL -0.53, UIO_MAIL_IS_INTERNAL -5.00)
>
>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

___________________________________________________________________

Richard L. Felkins		SAIC MSD Systems
10260 Campus Point Dr. MS-A	Email: richardf gso saic com
San Diego, CA 92121		Phone: 858-826-3321 Cell: 858-354-4563
___________________________________________________________________




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