<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>hi Laszlo and all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>what do you mean with makefile?I just downloaded
the file from the maemo.org. I didnt find a makefile. Instead im trying to
compile it from the command prompt. but the compilation always fails. The
command i use is "gcc -o example_libosso example_libosso.c 'pkg-config --cflags
gtk+-2.0 hildon-libs' -ansi -Wall 'pkg-config --libs gtk+-2.0 hildon-libs'", is
something wrong with the command? Do i need to specify the libosso library from
path /usr/lib directory. I assume that the program may cannot see this library.
I tried to include /usr/lib/libosso.so in the compilation but it didnt find the
file. </FONT></DIV>
<DIV><FONT face=Arial size=2>Do i need to download another file? Do i need to
use another command option?</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>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=tlacix@gmail.com href="mailto:tlacix@gmail.com">Laszlo T.</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=dpetroma@unipi.gr
href="mailto:dpetroma@unipi.gr">Dionisis Petromanolakis</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=maemo-developers@maemo.org
href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, July 07, 2006 1:30 AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [maemo-developers] cannot
compile example_libosso.c</DIV>
<DIV><BR></DIV><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="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<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></BLOCKQUOTE></BODY></HTML>