[Vala] Libgda3 bindings



Hi everybody :

I'm trying to create the libgda bindings for vala 0.3.2. But i've some
problems with vapigen and vala-gen-introspection. I've some errors with
vala-gen-instrospection, but the problem is when vapigen crash. Can
somebody help me ?

Here is the output of vala-gen-introspect and vapigen and the bindings
files. 

telemaco kara:~/Desktop/vala/vapi/packages$ vala-gen-introspect
libgda-3.0 libgda-3.0
Dropping sql_statement duplicate
Dropping sql_select_statement duplicate
Dropping sql_insert_statement duplicate
Dropping sql_update_statement duplicate
Dropping sql_delete_statement duplicate
Dropping sql_field_item duplicate
/usr/include/libgda-3.0/libsql/sql_parser.h:122: syntax error,
unexpected typedef-name, expecting identifier or '('
Dropping param_spec duplicate
Dropping sql_table duplicate
Dropping sql_condition duplicate
Dropping sql_where duplicate
Dropping sql_order_field duplicate
Dropping sql_wherejoin duplicate
/usr/include/libgda-3.0/libsql/sql_parser.h:297: syntax error,
unexpected typedef-name, expecting ')'
/usr/include/libgda-3.0/libsql/sql_parser.h:298: syntax error,
unexpected typedef-name, expecting ')'
/usr/include/libgda-3.0/libsql/sql_parser.h:298: 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: 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
------------------------------------------------------------------------------


telemaco kara:~/Desktop/vala/vapi/packages$ vapigen --library libgda-3.0
libgda-3.0/libgda-3.0.gi 

(vapigen:8057): GLib-GObject-WARNING **: cannot register existing type
`GeeMap'

(vapigen:8057): GLib-GObject-CRITICAL **:
g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE
(interface_type)' failed

(vapigen:8057): GLib-GObject-WARNING **: cannot register existing type
`GeeHashMap'

(vapigen:8057): GLib-GObject-WARNING **: cannot register existing type
`GeeMap'

(vapigen:8057): GLib-GObject-CRITICAL **:
g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE
(interface_type)' failed

(vapigen:8057): GLib-GObject-CRITICAL **: g_type_add_interface_static:
assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(vapigen:8057): GLib-GObject-CRITICAL **: g_object_newv: assertion
`G_TYPE_IS_OBJECT (object_type)' failed

(vapigen:8057): GLib-GObject-WARNING **: cannot register existing type
`GeeHashMap'

(vapigen:8057): GLib-GObject-WARNING **: cannot register existing type
`GeeMap'

(vapigen:8057): GLib-GObject-CRITICAL **:
g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE
(interface_type)' failed

(vapigen:8057): GLib-GObject-CRITICAL **: g_type_add_interface_static:
assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

** (vapigen:8057): CRITICAL **: gee_hash_map_set_key_hash_func:
assertion `GEE_IS_HASH_MAP (self)' failed

(vapigen:8057): GLib-GObject-WARNING **: cannot register existing type
`GeeHashMap'

(vapigen:8057): GLib-GObject-WARNING **: cannot register existing type
`GeeMap'

(vapigen:8057): GLib-GObject-CRITICAL **:
g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE
(interface_type)' failed

(vapigen:8057): GLib-GObject-CRITICAL **: g_type_add_interface_static:
assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

** (vapigen:8057): CRITICAL **: gee_hash_map_set_key_equal_func:
assertion `GEE_IS_HASH_MAP (self)' failed

(vapigen:8057): GLib-GObject-WARNING **: cannot register existing type
`GeeHashMap'

(vapigen:8057): GLib-GObject-WARNING **: cannot register existing type
`GeeMap'

(vapigen:8057): GLib-GObject-CRITICAL **:
g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE
(interface_type)' failed

(vapigen:8057): GLib-GObject-CRITICAL **: g_type_add_interface_static:
assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

** (vapigen:8057): CRITICAL **: gee_hash_map_set_value_equal_func:
assertion `GEE_IS_HASH_MAP (self)' failed

(vapigen:8057): GLib-GObject-WARNING **: cannot register existing type
`GeeMap'

(vapigen:8057): GLib-GObject-CRITICAL **:
g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE
(interface_type)' failed
Segmentation Fault

Attachment: libgda-3.0.tar.gz
Description: application/compressed-tar



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