[maemo-developers] [maemo-developers] cannot compile example_libosso.c

From: Dionisis Petromanolakis dpetroma at unipi.gr
Date: Thu Jul 6 17:39:18 EEST 2006
hi all,

i m trying to compile file example_libosso.c from the tutorial of maemo and everything goes wrong. First of all, there wasnt i directory dbus but a directory dbus-1.0 which contains this. I removed it outside of dbus-1.0 in order the files to find it. Then, the file dbus-arch-deps.h wasnt there so i downloaded it from the internet and put it inside dbus. Then i get the following message. I assumed that the program (example_libosso.c) couldnt find the declaration of the functions so i redeclared them inside my program, still nothing happend. So, this is the output i get:

"example_libosso.c: In function `exit_event_handler':
example_libosso.c:65: warning: implicit declaration of function `gtk_infoprint'
/var/tmp/ccvvWU3o.o: In function `dbus_req_handler':example_libosso.c:(.text+0x64): undefined reference to `osso_system_note_infoprint'
/var/tmp/ccvvWU3o.o: In function `main':example_libosso.c:(.text+0xbe): undefined reference to `osso_initialize'
:example_libosso.c:(.text+0x22e): undefined reference to `osso_rpc_set_cb_f'
:example_libosso.c:(.text+0x270): undefined reference to `osso_application_set_exit_cb'
:example_libosso.c:(.text+0x2c1): undefined reference to `osso_deinitialize'
collect2: ld returned 1 exit status"

does anyone has an idea in order to fix it? how can i compile the program?

regards,
dionysis


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20060706/653c5d79/attachment.htm 
More information about the maemo-developers mailing list