[maemo-developers] problem in compiling

From: gaurav sinha gauravsinha200 at gmail.com
Date: Tue Jan 26 21:33:43 EET 2010
hi all,
I am not able to compile source code (
http://wiki.forum.nokia.com/index.php/How_to_set_an_alarm_event_on_Maemo )
 contaning header file
  #include <alarmd/alarm_event.h>  from scratchbox.

i am using this command to compile
"gcc alarm.c `pkg-config libalarm-dev --cflags --libs` -o alarm"

[sbox-FREMANTLE_X86: ~] > gcc alarm.c `pkg-config libalarm-dev --cflags
--libs` -o alarm
Package libalarm-dev was not found in the pkg-config search path.
Perhaps you should add the directory containing `libalarm-dev.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libalarm-dev' found
alarm.c:5:32: error: alarmd/alarm_event.h: No such file or directory
alarm.c: In function 'main':
alarm.c:11: error: 'alarm_event_t' undeclared (first use in this function)
alarm.c:11: error: (Each undeclared identifier is reported only once
alarm.c:11: error: for each function it appears in.)
alarm.c:11: error: expected ';' before 'event'
alarm.c:12: error: 'cookie_t' undeclared (first use in this function)
alarm.c:12: error: expected ';' before 'cookie'
alarm.c:15: error: 'event' undeclared (first use in this function)
alarm.c:27: error: 'cookie' undeclared (first use in this function)
[sbox-FREMANTLE_X86: ~] >


...........
please help!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100127/c1d8092b/attachment.htm>
More information about the maemo-developers mailing list