<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">gaurav sinha</b> <span dir="ltr"><<a href="mailto:gauravsinha200@gmail.com">gauravsinha200@gmail.com</a>></span><br>
Date: Wed, Jan 27, 2010 at 12:24 PM<br>Subject: Re: problem in compiling<br>To: Ganesh Kundapur <<a href="mailto:ganesh.kundapur@gmail.com">ganesh.kundapur@gmail.com</a>><br><br><br>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 class="h5"><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></div><br>