<br><br><div><span class="gmail_quote">2006/7/6, Dionisis Petromanolakis <<a href="mailto:dpetroma@unipi.gr">dpetroma@unipi.gr</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div bgcolor="#ffffff">
<div><font face="Arial" size="2">hi all,</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">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:</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">"example_libosso.c: In function
`exit_event_handler':<br>example_libosso.c:65: warning: implicit declaration of
function `gtk_infoprint'<br>/var/tmp/ccvvWU3o.o: In function
`dbus_req_handler':example_libosso.c:(.text+0x64): undefined reference to
`osso_system_note_infoprint'<br>/var/tmp/ccvvWU3o.o: In function
`main':example_libosso.c:(.text+0xbe): undefined reference to
`osso_initialize'<br>:example_libosso.c:(.text+0x22e): undefined reference to
`osso_rpc_set_cb_f'<br>:example_libosso.c:(.text+0x270): undefined reference to
`osso_application_set_exit_cb'<br>:example_libosso.c:(.text+0x2c1): undefined
reference to `osso_deinitialize'<br>collect2: ld returned 1 exit
status"</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">does anyone has an idea in order to fix it? how can
i compile the program?</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">regards,</font></div>
<div><font face="Arial" size="2">dionysis</font></div>
<div><font face="Arial" size="2"> </font></div>
<div><br></div></div>
</div><br>_______________________________________________<br>maemo-developers mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a>
<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://maemo.org/mailman/listinfo/maemo-developers</a><br><br><br></blockquote></div>
make?<br>
use Makefile<br>