[maemo-developers] problem in compiling
From: Ganesh Kundapur ganesh.kundapur at gmail.comDate: Thu Jan 28 09:17:30 EET 2010
- Previous message: problem in compiling
- Next message: problem in compiling
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Jan 27, 2010 at 3:20 PM, Ganesh Kundapur <ganesh.kundapur at gmail.com>wrote: > alarmd/alarm_event.h will be there in Maemo SDK version 4.x. Its not there > in Maemo SDK version5.x. > > Which version of Maemo SDK you are using? > > > > On Wed, Jan 27, 2010 at 2:46 PM, gaurav sinha <gauravsinha200 at gmail.com>wrote: > >> hi >> actually libalarm-dev is already installed in scratchbox. But >> alarm_event.h file is not in this path >> >> [sbox-FREMANTLE_X86: /usr/include/alarmd] > ls -l >> total 84 >> -rw-r--r-- 1 gaurav gaurav 7104 Nov 11 14:36 alarm_dbus.h >> -rw-r--r-- 1 gaurav gaurav 7020 Nov 11 14:36 libalarm-async.h >> -rw-r--r-- 1 gaurav gaurav 61520 Nov 11 14:36 libalarm.h >> [sbox-FREMANTLE_X86: /usr/include/alarmd] > >> >> so can u please suggest me how to include <alarmd/alarm_event.h> file. >> >> >> On Wed, Jan 27, 2010 at 2:27 PM, gaurav sinha <gauravsinha200 at gmail.com>wrote: >> >>> hi >>> i have already installed libalarm-dev package >>> >>> [sbox-FREMANTLE_X86: ~] > apt-get install libalarm-devReading package >>> lists... Done >>> Building dependency tree... Done >>> libalarm-dev is already the newest version. >>> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. >>> [sbox-FREMANTLE_X86: ~] > >>> >>> what other thing should i install? >>> >>> >>> >>> On Wed, Jan 27, 2010 at 1:04 PM, Ganesh Kundapur < >>> ganesh.kundapur at gmail.com> wrote: >>> >>>> It indicates alarm related for development is not installed on your >>>> system. Install them >>>> >>>> >>>> On Wed, Jan 27, 2010 at 12:24 PM, gaurav sinha < >>>> gauravsinha200 at gmail.com> wrote: >>>> >>>>> 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/131c7a1a/attachment.htm>
- Previous message: problem in compiling
- Next message: problem in compiling
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]