[maemo-developers] problem in compiling

From: Ganesh Kundapur ganesh.kundapur at gmail.com
Date: Thu Jan 28 09:15:56 EET 2010
---------- Forwarded message ----------
From: gaurav sinha <gauravsinha200 at gmail.com>
Date: Wed, Jan 27, 2010 at 12:24 PM
Subject: Re: problem in compiling
To: Ganesh Kundapur <ganesh.kundapur at gmail.com>


hello,
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.


On Wed, Jan 27, 2010 at 10:39 AM, Ganesh Kundapur <ganesh.kundapur at gmail.com
> wrote:

> 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
>
> $ export PKG_CONFIG_PATH = $PKG_CONFIG_PATH:<path to libalarm-dev.pc>
>
> /Ganesh
>
> On Wed, Jan 27, 2010 at 1:03 AM, gaurav sinha <gauravsinha200 at gmail.com>wrote:
>
>> 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!!!
>>
>>
>> _______________________________________________
>> maemo-developers mailing list
>> maemo-developers at maemo.org
>> https://lists.maemo.org/mailman/listinfo/maemo-developers
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100128/b93c98ed/attachment.htm>
More information about the maemo-developers mailing list