gnome-guile compile error



My turn for asking help with a compile error.
system and libs info:
Solaris x86 (2.7)
gtk 1.15
glib 1.15
gnome-libs 0.99.5
gnome-guile 0.99.1

First when I tried to compile, I got undefined references to
gtk_container_needs_resize, gtk_container_block_resize and
gtk_container_unblock_resize. I fixed this by commenting them out of
gtk-1.1.defs. Got farther. Now I'm getting this and can't resolve it:

/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -I../guile-gtk -I./../guile-gtk -I/usr/local/include -I/usr/local/include -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include -I/usr/local/lib/glib/include -I/usr/X11R6/include -I/usr/local/include  -g -O2 -c gnome-glue.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -I../guile-gtk -I./../guile-gtk -I/usr/local/include -I/usr/local/include -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include -I/usr/local/lib/glib/include -I/usr/X11R6/include -I/usr/local/include -g -O2 -c -fPIC -DPIC gnome-glue.c
gnome-glue.c: In function `sgtk_gnome_canvas_group_xpos':
gnome-glue.c:1511: structure has no member named `xpos'
gnome-glue.c: In function `sgtk_gnome_canvas_group_ypos':
gnome-glue.c:1528: structure has no member named `ypos'
gnome-glue.c: In function `sgtk_gnome_canvas_root':
gnome-glue.c:1609: warning: assignment from incompatible pointer type

So i looked into the source, and the struct is GnomeConvasGroup
which looks like this: (in gnome.defs)(
(define-object GnomeCanvasGroup (GnomeCanvasItem)
	(fields
		(double xpos)
		(double ypos)))

I'm stumped. If anyone can help, I would be very greatful!
		



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