Gtk-perl.3.0 for solaris help?



Hi-
	I've been attempting to compile the Gtk-3.0 module into my
perl5.005 release, and I keep getting syntax errors in my
/usr/openwin/include/Xlib.h file (any ideas?):


gcc -c -I/usr/openwin/include -I/usr/local/lib/glib/include -I/usr/local/include 
 -D_REENTRANT -I/usr/local/include -I/usr/openwin/include -O    
-DVERSION=\"0.3\" -DXS_VERSION=\"0.3\" -fPIC 
-I/usr/local/perl/lib/perl5/sun4-solaris/CORE  Gtk.c
In file included from /usr/local/include/gdk/gdkprivate.h:23,
                 from /usr/local/include/gdk/gdkx.h:22,
                 from Gtk.xs:7:
/usr/openwin/include/X11/Xlib.h:202: parse error before `->'
/usr/openwin/include/X11/Xlib.h:202: warning: no semicolon at end of struct or 
union
/usr/openwin/include/X11/Xlib.h:204: parse error before `}'
/usr/openwin/include/X11/Xlib.h:204: warning: data definition has no type or 
storage class
/usr/openwin/include/X11/Xlib.h:246: parse error before `GC'
/usr/openwin/include/X11/Xlib.h:246: w.....

/usr/local/include/gdk/gdkprivate.h:247: parse error before `XEvent'
/usr/local/include/gdk/gdkprivate.h:268: parse error before `*'
/usr/local/include/gdk/gdkprivate.h:268: warning: data definition has no type or 
storage class
In file included from Gtk.xs:7:
/usr/local/include/gdk/gdkx.h:47: parse error before `*'
Gtk.xs: In function `XS_Gtk_init':
Gtk.xs:479: warning: passing arg 1 of `g_set_error_handler' from incompatible 
pointer type
Gtk.xs:480: warning: passing arg 1 of `g_set_warning_handler' from incompatible 
pointer type
 ^Cmake: *** [Gtk.o] Interrupt
 
Thanks in advance,

Pete Nixon


 



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