Compilation problem under Solaris 9



Hi,

I did not find any distribution of GTK+ for Solaris 9 (SPARC) on the web, so I decided to build it by myself, using Garnome. I have successfully compiled Glib, ATK and Pango, the configuration phase for GTK+ is ok, but when I make it, I have the following problem with the gdk/x11/gdkasync.c file :

gdkasync.c: In the function  _gdk_x11_send_client_message_async :
gdkasync.c:252: error: `X_' undeclared (first use in this function)
gdkasync.c:252: error: (Each undeclared identifier is reported only once
gdkasync.c:252: error: for each function it appears in.)
gdkasync.c:252: error: syntax error before "GetInputFocus"

I went and checked the mentionned line, and there seems to be a problem with GetEmptyReq :

   xReq *req;
   GetEmptyReq(GetInputFocus, req);

Could anyone help me out, if one ever managed to build GTK+ under Solaris 9 ?

Thanks!



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