Re: [Vala] The name `Gee' does not exist



Il giorno mer, 16/01/2008 alle 22.32 +0100, Alessandro Pellizzari ha
scritto:

$ valac --pkg gee-1.0 -o gee gee.vala -X "-I/usr/include/vala-1.0/"

update: adding -lvala:

$ valac --pkg gee-1.0 -o gee gee.vala -X "-I/usr/include/vala-1.0/
-lvala"
geetest.c: In function 'test_main':
geetest.c:25: warning: assignment makes pointer from integer without a
cast
/tmp/ccd80sJ4.o: In function `test_main':
geetest.c:(.text+0x7c): undefined reference to `gee_hash_map_set'
geetest.c:(.text+0x96): undefined reference to `gee_hash_map_get'
collect2: ld returned 1 exit status
error: cc exited with status 256
Compilation failed: 1 error(s), 0 warning(s)


$ strings /usr/lib/libvala.so.0.0.0 |grep gee_hash_map_set
gee_hash_map_set_value_equal_func
gee_hash_map_set_key_equal_func
gee_hash_map_set_key_hash_func
gee_hash_map_set_value_equal_func
gee_hash_map_set_key_equal_func
gee_hash_map_set_key_hash_func


It seems that libvala doesn't have Gee.HashMap.set() compiled in.

I am using vala 0.1.5, debian package.
More and more confused. :(

Thanks for any help.

-- 
Alessandro Pellizzari





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