[Vala] vapi generation issues



Hi,

I'm trying to create a vapi file for goffice
( http://git.gnome.org/cgit/goffice/ ), followin the tutorial here:

http://live.gnome.org/Vala/Bindings

vala-gen-introspect prints a lot of warnings (see the end of this
email).

I don't see what in the c headers is the reason of the syntax errors
(I've attached two sample header files).

Also, what do mean the unknown symbol warnings ?

One last question: the library has two different namespaces: GO and Gog.
What is the best way to handle this particularity ?

        Thanks,

                Emmanuel.

/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/app/go-doc.h:68: syntax error, unexpected identifier
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/app/go-doc.h:69: syntax error, unexpected identifier
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/app/go-doc.h:72: syntax error, unexpected identifier
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/app/go-doc.h:72: syntax error, unexpected ')', 
expecting ',' or ';'
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/gtk/go-gradient-selector.h:29: syntax error, 
unexpected identifier, expecting ')' or ','
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-graph.h:67: syntax error, unexpected 
identifier
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-graph.h:68: syntax error, unexpected 
DOUBLE, expecting identifier or '(' or '*'
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-graph.h:68: syntax error, unexpected 
DOUBLE, expecting identifier or '(' or '*'
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-renderer.h:122: syntax error, unexpected 
identifier
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-renderer.h:124: syntax error, unexpected 
identifier
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-renderer.h:143: syntax error, unexpected 
identifier
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-renderer.h:144: syntax error, unexpected 
DOUBLE, expecting identifier or '(' or '*'
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-renderer.h:144: syntax error, unexpected 
DOUBLE, expecting identifier or '(' or '*'
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/gtk/go-marker-selector.h:29: syntax error, 
unexpected identifier, expecting ')' or ','
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/gtk/go-pattern-selector.h:29: syntax error, 
unexpected identifier, expecting ')' or ','
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/gtk/goffice-gtk.h:114: syntax error, unexpected 
identifier
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/gtk/goffice-gtk.h:115: syntax error, unexpected 
')', expecting ',' or ';'
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:126: syntax error, unexpected 
identifier
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:127: syntax error, unexpected 
')', expecting ',' or ';'
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:128: syntax error, unexpected 
'*', expecting ')' or ','
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:128: syntax error, unexpected 
')', expecting ',' or ';'
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:129: syntax error, unexpected 
'*', expecting ')' or ','
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:129: syntax error, unexpected 
')', expecting ',' or ';'
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:131: syntax error, unexpected 
'*', expecting ')' or ','
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:132: syntax error, unexpected 
'*', expecting ')' or ','
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:132: syntax error, unexpected 
')', expecting ',' or ';'
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:134: syntax error, unexpected 
'*', expecting ')' or ','
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:135: syntax error, unexpected 
')', expecting ',' or ';'
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:136: syntax error, unexpected 
'*', expecting ')' or ','
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:136: syntax error, unexpected 
')', expecting ',' or ';'
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:137: syntax error, unexpected 
'*', expecting ')' or ','
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:138: syntax error, unexpected 
'*', expecting ')' or ','
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:140: syntax error, unexpected 
CONST, expecting ')' or ','
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:140: syntax error, unexpected 
CONST, expecting ',' or ';'
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:140: syntax error, unexpected 
')', expecting ',' or ';'
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:141: syntax error, unexpected 
CONST, expecting ')' or ','
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:141: syntax error, unexpected 
')', expecting ',' or ';'
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:142: syntax error, unexpected 
CONST, expecting ')' or ','
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:142: syntax error, unexpected 
')', expecting ',' or ';'
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:143: syntax error, unexpected 
CONST, expecting ')' or ','
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:143: syntax error, unexpected 
')', expecting ',' or ';'
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:144: syntax error, unexpected 
CONST, expecting ')' or ','
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:144: syntax error, unexpected 
')', expecting ',' or ';'
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:145: syntax error, unexpected 
'*', expecting ')' or ','
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:147: syntax error, unexpected 
'*', expecting ')' or ','
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:151: syntax error, unexpected 
typedef-name, expecting identifier or '(' or '*'
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:152: syntax error, unexpected 
typedef-name, expecting identifier or '(' or '*'
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:153: syntax error, unexpected 
'*', expecting ')' or ','
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:156: syntax error, unexpected 
typedef-name, expecting identifier or '(' or '*'
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:156: syntax error, unexpected 
')', expecting ',' or ';'
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:158: syntax error, unexpected 
CONST, expecting ')' or ','
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:158: syntax error, unexpected 
typedef-name, expecting identifier or '(' or '*'
/home/gnome/stable/INSTALL/include/libgoffice-0.8/goffice/graph/gog-style.h:158: syntax error, unexpected 
')', expecting ',' or ';'
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: PluginServiceSimple
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GtkMenu
Unknown symbol: GtkHBox
Unknown symbol: GtkHBox
Unknown symbol: GtkAction
Unknown symbol: GtkAction
Unknown symbol: GtkAction
Unknown symbol: GtkAction
Unknown symbol: GOComboBox
Unknown symbol: GtkHBox
Unknown symbol: GObject
Unknown symbol: GtkVBox
Unknown symbol: GtkHBox
Unknown symbol: GtkHBox
Unknown symbol: GtkHBox
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GtkHBox
Unknown symbol: GtkObject
Unknown symbol: GtkLayout
Unknown symbol: GObject
Unknown symbol: GogText
Unknown symbol: GogText
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GtkLayout
Unknown symbol: GtkHBox
Unknown symbol: GtkButton
Unknown symbol: GtkHBox
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GtkDrawingArea
Unknown symbol: GObject

Attachment: go-doc.h
Description: Text Data

Attachment: gog-graph.h
Description: Text Data



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