<br><br><div class="gmail_quote">On Wed, Jan 27, 2010 at 11:37 PM, gaurav sinha <span dir="ltr"><<a href="mailto:gauravsinha200@gmail.com">gauravsinha200@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi,<div>thanks i understood the problem, now after modifying the code according to maemo 5.0 , i am able to compile the code.</div><div>Thanks<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Wed, Jan 27, 2010 at 3:39 PM, gaurav sinha <span dir="ltr"><<a href="mailto:gauravsinha200@gmail.com" target="_blank">gauravsinha200@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">i am trying to modify the source code. <div> Can you give me link to download a suitable sdk in which include file is there.</div>
<div><div></div><div><div><br><div><div><br><br><div class="gmail_quote">On Wed, Jan 27, 2010 at 3:21 PM, Ganesh Kundapur <span dir="ltr"><<a href="mailto:ganesh.kundapur@gmail.com" target="_blank">ganesh.kundapur@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Ohh sorry, Its FREEMANTLE. Include file doesnt come with this SDK. You need to modify the code to suit the <br>
current SDK.<div>
<div></div><div><br><br><div class="gmail_quote">On Wed, Jan 27, 2010 at 3:20 PM, Ganesh Kundapur <span dir="ltr"><<a href="mailto:ganesh.kundapur@gmail.com" target="_blank">ganesh.kundapur@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">alarmd/alarm_event.h will be there in Maemo SDK version 4.x. Its not there in Maemo SDK version5.x.<br>
<br>Which version of Maemo SDK you are using?<div><div></div><div><br><br><br><div class="gmail_quote">On Wed, Jan 27, 2010 at 2:46 PM, gaurav sinha <span dir="ltr"><<a href="mailto:gauravsinha200@gmail.com" target="_blank">gauravsinha200@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">hi<div> actually libalarm-dev is already installed in scratchbox. But alarm_event.h file is not in this path</div>
<div><br></div><div> [sbox-FREMANTLE_X86: /usr/include/alarmd] > ls -l<div>total 84</div><div>-rw-r--r-- 1 gaurav gaurav 7104 Nov 11 14:36 alarm_dbus.h</div>
<div>-rw-r--r-- 1 gaurav gaurav 7020 Nov 11 14:36 libalarm-async.h</div><div>-rw-r--r-- 1 gaurav gaurav 61520 Nov 11 14:36 libalarm.h</div><div>[sbox-FREMANTLE_X86: /usr/include/alarmd] > </div><div><br></div><div>
so can u please suggest me how to include <alarmd/alarm_event.h> file.</div><div><div></div><div>
<div><br></div><br><div class="gmail_quote">On Wed, Jan 27, 2010 at 2:27 PM, gaurav sinha <span dir="ltr"><<a href="mailto:gauravsinha200@gmail.com" target="_blank">gauravsinha200@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi <div> i have already installed libalarm-dev package </div><div><br></div><div>[sbox-FREMANTLE_X86: ~] > apt-get install libalarm-devReading package lists... Done<div><div>Building dependency tree... Done</div>
<div>libalarm-dev is already the newest version.</div>
<div>0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.</div><div>[sbox-FREMANTLE_X86: ~] > </div></div><div> <br>what other thing should i install?</div><div><div></div><div><div><br></div><div>
<br></div><div><br></div><div><div class="gmail_quote">
On Wed, Jan 27, 2010 at 1:04 PM, Ganesh Kundapur <span dir="ltr"><<a href="mailto:ganesh.kundapur@gmail.com" target="_blank">ganesh.kundapur@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It indicates alarm related for development is not installed on your system. Install them<div><div></div><div><br><br><div class="gmail_quote">On Wed, Jan 27, 2010 at 12:24 PM, gaurav sinha <span dir="ltr"><<a href="mailto:gauravsinha200@gmail.com" target="_blank">gauravsinha200@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">hello, <div>i don't have libarlarm-dev.pc file in my system. i have tried to find it in the location specified by you. Also i searched for it but there were no result.</div>
<div><div></div><div><div><br><br><div class="gmail_quote">On Wed, Jan 27, 2010 at 10:39 AM, Ganesh Kundapur <span dir="ltr"><<a href="mailto:ganesh.kundapur@gmail.com" target="_blank">ganesh.kundapur@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Try to find where libalarm-dev.pc is located( could be in /usr/lib/pkgconfig or /usr/local/lib/pkgconfig or in somewhere ) and export the path of libarlarm-dev.pc as and rebuild<br>
<br>$ export PKG_CONFIG_PATH = $PKG_CONFIG_PATH:<path to libalarm-dev.pc><br>
<br>/Ganesh<br><br><div class="gmail_quote"><div><div></div><div>On Wed, Jan 27, 2010 at 1:03 AM, gaurav sinha <span dir="ltr"><<a href="mailto:gauravsinha200@gmail.com" target="_blank">gauravsinha200@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>
hi all,<div>I am not able to compile source code (<a href="http://wiki.forum.nokia.com/index.php/How_to_set_an_alarm_event_on_Maemo" target="_blank">http://wiki.forum.nokia.com/index.php/How_to_set_an_alarm_event_on_Maemo</a> ) contaning header file </div>
<div> <span style="font-family: 'Courier New',Courier,monospace; font-size: 11px; color: rgb(51, 51, 51);">#include <alarmd/alarm_event.h> <span style="color: rgb(0, 0, 0); font-family: arial; font-size: small;"> from scratchbox. </span></span></div>
<div><span style="font-family: 'Courier New',Courier,monospace; font-size: 11px; color: rgb(51, 51, 51);"><span style="color: rgb(0, 0, 0); font-family: arial; font-size: small;"><br>
</span></span></div><div><span style="font-family: 'Courier New',Courier,monospace; font-size: 11px; color: rgb(51, 51, 51);"><span style="color: rgb(0, 0, 0); font-family: arial; font-size: small;">i am using this command to compile</span></span></div>
<div>"gcc alarm.c `pkg-config libalarm-dev --cflags --libs` -o alarm"</div><div><br></div><div><div>[sbox-FREMANTLE_X86: ~] > gcc alarm.c `pkg-config libalarm-dev --cflags --libs` -o alarm</div><div>Package libalarm-dev was not found in the pkg-config search path.</div>
<div>Perhaps you should add the directory containing `libalarm-dev.pc'</div><div>to the PKG_CONFIG_PATH environment variable</div><div>No package 'libalarm-dev' found</div><div>alarm.c:5:32: error: alarmd/alarm_event.h: No such file or directory</div>
<div>alarm.c: In function 'main':</div><div>alarm.c:11: error: 'alarm_event_t' undeclared (first use in this function)</div><div>alarm.c:11: error: (Each undeclared identifier is reported only once</div><div>
alarm.c:11: error: for each function it appears in.)</div><div>alarm.c:11: error: expected ';' before 'event'</div><div>alarm.c:12: error: 'cookie_t' undeclared (first use in this function)</div><div>
alarm.c:12: error: expected ';' before 'cookie'</div><div>alarm.c:15: error: 'event' undeclared (first use in this function)</div><div>alarm.c:27: error: 'cookie' undeclared (first use in this function)</div>
<div>[sbox-FREMANTLE_X86: ~] > </div><div><br></div><div><br></div><div>...........</div><div>please help!!!</div><div><br></div></div>
<br></div></div>_______________________________________________<br>
maemo-developers mailing list<br>
<a href="mailto:maemo-developers@maemo.org" target="_blank">maemo-developers@maemo.org</a><br>
<a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
<br></blockquote></div><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br></div></div></div>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br>