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">http://wiki.forum.nokia.com/index.php/How_to_set_an_alarm_event_on_Maemo</a> ) contaning header file </div>
<div> <span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: 11px; color: rgb(51, 51, 51); ">#include <alarmd/alarm_event.h> <span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: arial; font-size: small; "> from scratchbox. </span></span></div>
<div><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: 11px; color: rgb(51, 51, 51); "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: arial; font-size: small; "><br>
</span></span></div><div><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: 11px; color: rgb(51, 51, 51); "><span class="Apple-style-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>