Gnome-objc build problem



Trying to build gnome-objc I get the following problems:

 make all-recursive
  [snip]

 Making all in obgnome
 make[2]: Entering directory `/opt/gnome/gnome-objc/obgnome'
 /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -I/opt/gnome/include -DGNOMELIBDIR=\""/opt/gnome/lib"\" -DGNOMEDATADIR=\""/opt/gnome/share"\" -DGNOMELOCALEDIR=\""/opt/gnome/lib/locale\"" -I/opt/gnome/include -DNEED_GNOMESUPPORT_H -I/opt/gnome/lib/gnome-libs/include -I/usr/X11R6/include -I/opt/gnome/lib/glib/include -I../intl -I/usr/X11R6/include -I/opt/gnome/lib/glib/include -I/opt/gnome/include -g -O2 -Wp,-MD,.deps/obgnomeApp.p -c obgnomeApp.m
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -I/opt/gnome/include -DGNOMELIBDIR=\"/opt/gnome/lib\" -DGNOMEDATADIR=\"/opt/gnome/share\" -DGNOMELOCALEDIR=\"/opt/gnome/lib/locale\" -I/opt/gnome/include -DNEED_GNOMESUPPORT_H -I/opt/gnome/lib/gnome-libs/include -I/usr/X11R6/include -I/opt/gnome/lib/glib/include -I../intl -I/usr/X11R6/include -I/opt/gnome/lib/glib/include -I/opt/gnome/include -g -O2 -Wp,-MD,.deps/obgnomeApp.p -c -fPIC -DPIC obgnomeApp.m
 In file included from obgnomeApp.m:1: 
 obgnomeApp.h:18: parse error before `poptContext'
 obgnomeApp.m: In function `_i_Gnome_App__initApp____':
 obgnomeApp.m:10: warning: passing arg 1 of `gnome_init' discards `const' from pointer target type
 obgnomeApp.m:10: warning: passing arg 2 of `gnome_init' from incompatible pointer type
 obgnomeApp.m:10: too few arguments to function `gnome_init'
 obgnomeApp.m: At top level:
 obgnomeApp.m:21: parse error before `poptContext'
 obgnomeApp.m:26: warning: parameter names (without types) in function declaration
 obgnomeApp.m:26: warning: data definition has no type or storage class
 obgnomeApp.m:28: parse error before `return'
 make[2]: *** [obgnomeApp.lo] Error 1
 /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -I/opt/gnome/include -DGNOMELIBDIR=\""/opt/gnome/lib"\" -DGNOMEDATADIR=\""/opt/gnome/share"\" -DGNOMELOCALEDIR=\""/opt/gnome/lib/locale\"" -I/opt/gnome/include -DNEED_GNOMESUPPORT_H -I/opt/gnome/lib/gnome-libs/include -I/usr/X11R6/include -I/opt/gnome/lib/glib/include -I../intl -I/usr/X11R6/include -I/opt/gnome/lib/glib/include -I/opt/gnome/include -g -O2 -Wp,-MD,.deps/obgnome-hello.p -c obgnome-hello.m
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -I/opt/gnome/include -DGNOMELIBDIR=\"/opt/gnome/lib\" -DGNOMEDATADIR=\"/opt/gnome/share\" -DGNOMELOCALEDIR=\"/opt/gnome/lib/locale\" -I/opt/gnome/include -DNEED_GNOMESUPPORT_H -I/opt/gnome/lib/gnome-libs/include -I/usr/X11R6/include -I/opt/gnome/lib/glib/include -I../intl -I/usr/X11R6/include -I/opt/gnome/lib/glib/include -I/opt/gnome/include -g -O2 -Wp,-MD,.deps/obgnome-hello.p -c -fPIC -DPIC obgnome-hello.m
 In file included from obgnome.h:13,
                 from obgnome-hello.m:2:
 ../obgnome/obgnomeApp.h:18: parse error before `poptContext'
 make[2]: *** [obgnome-hello.lo] Error 1
 /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -I/opt/gnome/include -DGNOMELIBDIR=\""/opt/gnome/lib"\" -DGNOMEDATADIR=\""/opt/gnome/share"\" -DGNOMELOCALEDIR=\""/opt/gnome/lib/locale\"" -I/opt/gnome/include -DNEED_GNOMESUPPORT_H -I/opt/gnome/lib/gnome-libs/include -I/usr/X11R6/include -I/opt/gnome/lib/glib/include -I../intl -I/usr/X11R6/include -I/opt/gnome/lib/glib/include -I/opt/gnome/include -g -O2 -Wp,-MD,.deps/obgnome-hello-canvas.p -c obgnome-hello-canvas.m
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -I/opt/gnome/include -DGNOMELIBDIR=\"/opt/gnome/lib\" -DGNOMEDATADIR=\"/opt/gnome/share\" -DGNOMELOCALEDIR=\"/opt/gnome/lib/locale\" -I/opt/gnome/include -DNEED_GNOMESUPPORT_H -I/opt/gnome/lib/gnome-libs/include -I/usr/X11R6/include -I/opt/gnome/lib/glib/include -I../intl -I/usr/X11R6/include -I/opt/gnome/lib/glib/include -I/opt/gnome/include -g -O2 -Wp,-MD,.deps/obgnome-hello-canvas.p -c -fPIC -DPIC obgnome-hello-canvas.m
 In file included from obgnome.h:13,
                 from obgnome-hello-canvas.h:29,
                 from obgnome-hello-canvas.m:23:
 ../obgnome/obgnomeApp.h:18: parse error before `poptContext'
 make[2]: *** [obgnome-hello-canvas.lo] Error 1
 make[2]: Target `all' not remade because of errors.
 make[2]: Leaving directory `/opt/gnome/gnome-objc/obgnome'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/opt/gnome/gnome-objc'
 make: *** [all-recursive-am] Error 2
 make: Target `all' not remade because of errors.

Using yesterday's CVS sources about 2PM.  The parse error before
poptContext seems to be a missing keyword (struct maybe?), but I don't
know what to do about "too few args to gnome_init".

TIA

JR
-- 

Juan Rivero		email juanr@averroes.ivic.ve     Tel +582-504-1772
Centro de Quimica       WWW    http://averroes.ivic.ve/  Fax +582-504-1350 
Instituto Venezolano de Investigaciones Cientificas      Cel +5814-933 93 88
IVIC, AP 21827, Caracas 1020A, Venezuela




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