problem in compiling

2010-01-27 Thread Ganesh Kundapur
-- Forwarded message --
From: gaurav sinha gauravsinha...@gmail.com
Date: Wed, Jan 27, 2010 at 12:24 PM
Subject: Re: problem in compiling
To: Ganesh Kundapur ganesh.kunda...@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.kunda...@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 gauravsinha...@gmail.comwrote:

 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@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers



___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


problem in compiling

2010-01-27 Thread Ganesh Kundapur
-- Forwarded message --
From: gaurav sinha gauravsinha...@gmail.com
Date: Wed, Jan 27, 2010 at 2:27 PM
Subject: Re: problem in compiling
To: Ganesh Kundapur ganesh.kunda...@gmail.com


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.kunda...@gmail.comwrote:

 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 
 gauravsinha...@gmail.comwrote:

 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.kunda...@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 
 gauravsinha...@gmail.comwrote:

 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@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers





___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


problem in compiling

2010-01-27 Thread Ganesh Kundapur
-- Forwarded message --
From: gaurav sinha gauravsinha...@gmail.com
Date: Wed, Jan 27, 2010 at 2:46 PM
Subject: Re: problem in compiling
To: Ganesh Kundapur ganesh.kunda...@gmail.com


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 gauravsinha...@gmail.comwrote:

 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.kunda...@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 
 gauravsinha...@gmail.comwrote:

 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.kunda...@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 gauravsinha...@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@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers






___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: problem in compiling

2010-01-27 Thread Ganesh Kundapur
On Wed, Jan 27, 2010 at 3:20 PM, Ganesh Kundapur
ganesh.kunda...@gmail.comwrote:

 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 gauravsinha...@gmail.comwrote:

 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 
 gauravsinha...@gmail.comwrote:

 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.kunda...@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 
 gauravsinha...@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.kunda...@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 
 gauravsinha...@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@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers








___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: problem in compiling

2010-01-27 Thread Ganesh Kundapur
On Wed, Jan 27, 2010 at 3:21 PM, Ganesh Kundapur
ganesh.kunda...@gmail.comwrote:

 Ohh sorry, Its FREEMANTLE. Include file doesnt come with this SDK. You need
 to modify the code to suit the
 current SDK.


 On Wed, Jan 27, 2010 at 3:20 PM, Ganesh Kundapur 
 ganesh.kunda...@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 
 gauravsinha...@gmail.comwrote:

 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 
 gauravsinha...@gmail.comwrote:

 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.kunda...@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 
 gauravsinha...@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.kunda...@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 
 gauravsinha...@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@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers









___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: problem in compiling

2010-01-26 Thread Ganesh Kundapur
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 gauravsinha...@gmail.comwrote:

 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@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Need Help for developing Maemo Application

2009-08-25 Thread Ganesh Kundapur
1.   Which Operating System (Windows, Ubuntu) is recommended for
Developing applications for Maemo ? Can anyone tell me steps to setup my
initial environment?
 Ubuntu
   Read Installation instruction from the sdk download page

2.   Does maemo still supports Gtk or it is completely shifted towards
Qt?

 maemo supports Qt along with GTK+



3.   Is there any IDE for maemo on Unbuntu?

Eclipse


B   Br,

G  Ganesh

On Wed, Aug 26, 2009 at 10:16 AM, Venugopal Rao Gubbala 
venugopal.gubb...@tanla.com wrote:

  Hello All,



 I am new to maemo platform and interested in learning it.



 I have good experience on LIMO (gtk, gconf, dbus and more).



 Can anyone help and clarify my doubts :



 1.   Which Operating System (Windows, Ubuntu) is recommended for
 Developing applications for Maemo ? Can anyone tell me steps to setup my
 initial environment?

 2.   Does maemo still supports Gtk or it is completely shifted towards
 Qt?

 3.   Is there any IDE for maemo on Unbuntu?



 Please reply back to me I need these information so that I can go further.



 Thanks in Advance



 *Gubbala Venugopal Rao*

 Senior Software Engineer



 Email: 
 venugopal.gubb...@tanla.compremalatha.debo...@tanlasolutions.com

 Board   : +91 - 40 40099762

 Fax   : +91 - 40 2312



 P *Please consider the environment before printing this email***

 Visit us at www.tanlasolutions.com



 *Download Tanla Mobile - Marketing and Advertising Guide.*
 http://www.tanlamobile.com/guide/



 Colombo | Dubai | Dublin | Hyderabad | London | Mumbai | New Delhi | New
 York | Singapore



 --
 Download Tanla Mobile Marketing and Advertising Guide.
 http://www.tanla.com/MobileGuide.htm

 *

 This e-mail is intended only for the addressee. If you are not the
 intended recipient, then dissemination,
 distribution or copying of this email is strictly prohibited. If received
 in error, please destroy
 the e-mail and notify the sender immediately. This mail has been checked
 for viruses. However recipients
 should undertake their own virus check. Tanla Solutions Limited and its
 subsidiaries will not be liable for any losses.


 **

 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Building Maemo sources inside scratchbox environment for ARM

2008-07-17 Thread Ganesh Kundapur
Hi,
  There also binaries available for ARM target from
http://repository.maemo.org/pool/maemo3.0/free/binary/.
Put the URL in sources.lst and install the packages.

/Ganesh

On Thu, Jul 17, 2008 at 12:13 PM, Sapna S [EMAIL PROTECTED] wrote:


 Hi all,

   I have set up the scratchbox environment on my Linux i386 machine for
 maemo project.
 I have run the maemo SDK also. It is working fine for SDK_x86.

 Now i want to test it on my ARM target. For that I need to build maemo
 sources (http://repository.maemo.org/pool/maemo3.0/free/source/) inside
 the scratchbox. We dont want to use the pre-built rootstrap images of these
 sources.
 Is there any script in the scratchbox environment, which gets all these
 sources from CVS (above URL) and builds these sources (with resolving
 dependencies) for the ARM toolchain.

 Can anybody help / suggest ?
 regards,
 Sapna.S

 __

 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


problem with playing wav file

2008-06-23 Thread Ganesh Kundapur
Hi,
  I'm able to play the wav file by using gst-launch as fallows

gst-launch-0.10  filesrc location=~/songs/4voice.wav ! wavparse !
audioconvert ! alsasink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock
Caught interrupt -- handling interrupt.
Interrupt: Setting pipeline to PAUSED ...
Execution ended after 1914601000 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
FREEING pipeline ...


I modified the helloworld code to play the wav as
1. I created waveparse in place of oggdemux and vorbis  parser elements
2. Added filesrc, waveparse and alsasink to the pipeline and linked.

--
int
main ( int argc, char *argv[] )
{
GMainLoop *loop;
GstBus *bus;

gst_init ( argc, argv );
loop = g_main_loop_new ( NULL, FALSE );

 pipeline = gst_pipeline_new ( audio-player );
source = gst_element_factory_make ( filesrc, file-source );
//parser = gst_element_factory_make ( oggdemux, ogg-parser );
parser = gst_element_factory_make ( wavparse, wave-parser );
//decoder = gst_element_factory_make ( vorbisdec, vorbis-decoder
);
conv = gst_element_factory_make ( audioconvert, converter );
sink = gst_element_factory_make ( alsasink, alsa-output );

if ( !pipeline || !source || !parser || !conv || !sink ) {
g_print ( One element could not be created\n );
return -1;
}

g_object_set (G_OBJECT (source), location, argv[1], NULL );

bus = gst_pipeline_get_bus ( GST_PIPELINE ( pipeline ) );
gst_bus_add_watch ( bus, bus_call, loop );
gst_object_unref ( bus );

gst_bin_add_many ( GST_BIN ( pipeline), source, parser,
   conv, sink, NULL );

//gst_element_link ( source, parser );
gst_element_link_many ( source, parser, conv, sink, NULL );
g_signal_connect ( parser, pad-added, G_CALLBACK ( new_pad ), NULL
);

g_print ( Setting to Playing\n );
gst_element_set_state ( pipeline, GST_STATE_PLAYING );
g_print ( Running\n );
g_main_loop_run ( loop );

g_print ( Returned, stopping playback\n );
gst_element_set_state ( pipeline, GST_STATE_NULL );
g_print ( Deleting pipeline\n );

gst_object_unref ( GST_OBJECT ( pipeline ) );

return 0;
}
--


When i tried to run the fallowing code, i'm getting fallowing errors
--
./a.out ~/songs/4voice.wav
Setting to Playing
Running
Dynamic pad created, linking parser/decoder

(a.out:20136): GStreamer-CRITICAL **: gst_element_get_static_pad: assertion
`GST_IS_ELEMENT (element)' failed

(a.out:20136): GStreamer-CRITICAL **: gst_pad_link_prepare: assertion
`GST_IS_PAD (sinkpad)' failed

(a.out:20136): GStreamer-CRITICAL **: gst_object_unref: assertion `object !=
NULL' failed
Error: Internal data flow error.
Returned, stopping playback
Deleting pipeline
--

Somebody already posted the similar problem in the mailing list (
http://lists.maemo.org/pipermail/maemo-developers/2006-August/023007.html ),
but solution is not mentioned over there.

It would be of great help if somebody look into this.

Thanks,
Ganesh
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers