Re: gnome-guile compile problem



Chris Colburn wrote:
> 
> This is from an 11am pull of gnome-guile from today's CVS (got the same
> thing yesterday afternoon as well):
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -I../guile-gtk
> -I./../guile-gtk -I/usr/gnome/include -I/usr/gnome/include
> -DNEED_GNOMESUPPORT_H -I/usr/gnome/lib/gnome-libs/include
> -I/usr/gnome/lib/glib/include -I/usr/X11R6/include -I/usr/gnome/include
> -DNEED_GNOMESUPPORT_H -I/usr/gnome/lib/gnome-libs/include
> -I/usr/gnome/lib/glib/include -I/usr/X11R6/include -g -O2
> -Wp,-MD,.deps/gnome-glue.p -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
> make[2]: *** [gnome-glue.lo] Error 1
> make[2]: Leaving directory
> `/home/dude/downloads/cvs/gnome-guile/guile-gnome'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/dude/downloads/cvs/gnome-guile'
> make: *** [all-recursive-am] Error 2
> 
> Um... I can figure out the error messages, but I'm too code-illiterate to
> figure out how or what to fix here...
> 
> Any help would be appreciated.

The errors appears because xpos and ypos have been conditionally removed
in gnome-canavs.h. You can make gnome-guile compile with the included
patch, but I'm not sure if it is the right way to solve the problem.
Maybe xpos and ypos should be #ifdef out in gnome.defs also.

> 
> Chris
> 
> 
> --
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with
>                        "unsubscribe" as the Subject.

	/Mattias
? guile-gnome/gnome-glue.lo
? guile-gnome/gnomeg.lo
? guile-gnome/libguilegnome.la
? guile-gtk/gtk/dynlink.scm
Index: guile-gnome/gnome.defs
===================================================================
RCS file: /cvs/gnome/gnome-guile/guile-gnome/gnome.defs,v
retrieving revision 1.22
diff -c -r1.22 gnome.defs
*** gnome.defs	1998/12/23 18:21:38	1.22
--- gnome.defs	1999/01/05 17:29:03
***************
*** 390,399 ****
     (int x2)
     (int y2)))
  
! (define-object GnomeCanvasGroup (GnomeCanvasItem)
!   (fields
!    (double xpos)
!    (double ypos)))
  
  ;; XXX - build-guile-gtk needs varargs and GtkType to support these.
  ;; For now, there are `hand tweaked' versions in gnomeg.c
--- 390,396 ----
     (int x2)
     (int y2)))
  
! (define-object GnomeCanvasGroup (GnomeCanvasItem))
  
  ;; XXX - build-guile-gtk needs varargs and GtkType to support these.
  ;; For now, there are `hand tweaked' versions in gnomeg.c


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