Errors compiling example_wavelaunch.c

2008-02-01 Thread nisha jain
Hi All,

While compiling wavelaunch.c I am getting many errors and all are related to

header files it is not able to find any header..

Can Any one let me know how to get these files and include in Scratchbox?


I renamed the file to DSPapp name.

 gcc -o DSPapp DSPapp.c `pkg-config gtk+-2.0 hildon-1 --cflags --libs` -Wall
DSPapp.c:25:39: hildon-widgets/hildon-app.h: No such file or directory
DSPapp.c:26:43: hildon-widgets/hildon-appview.h: No such file or directory
DSPapp.c:27:55: hildon-widgets/hildon-file-chooser-dialog.h: No such file or
directory
DSPapp.c:32:21: gst/gst.h: No such file or directory
DSPapp.c:41: error: syntax error before "HildonApp"
DSPapp.c:41: warning: no semicolon at end of struct or union
DSPapp.c:42: warning: type defaults to `int' in declaration of `appview'
DSPapp.c:42: warning: data definition has no type or storage class
DSPapp.c:46: error: syntax error before '*' token
DSPapp.c:46: warning: type defaults to `int' in declaration of `pipeline'
DSPapp.c:46: warning: data definition has no type or storage class
DSPapp.c:47: error: syntax error before '}' token
DSPapp.c: In function `esdlaunch':
DSPapp.c:64: warning: implicit declaration of function `write'
DSPapp.c:66: warning: implicit declaration of function `close'
DSPapp.c: In function `bling':
DSPapp.c:101: warning: implicit declaration of function `sin'
DSPapp.c: At top level:
DSPapp.c:115: error: syntax error before '*' token
DSPapp.c: In function `eos_message_received':
DSPapp.c:119: warning: implicit declaration of function
`gst_element_set_state'
DSPapp.c:119: error: `appdata' undeclared (first use in this function)
DSPapp.c:119: error: (Each undeclared identifier is reported only once
DSPapp.c:119: error: for each function it appears in.)
DSPapp.c:119: error: `GST_STATE_NULL' undeclared (first use in this
function)
DSPapp.c:120: warning: implicit declaration of function `gst_object_unref'
DSPapp.c:120: warning: implicit declaration of function `GST_OBJECT'
DSPapp.c: In function `play_file':
DSPapp.c:128: error: `GstElement' undeclared (first use in this function)
DSPapp.c:128: error: `filesrc' undeclared (first use in this function)
DSPapp.c:129: error: `GstBus' undeclared (first use in this function)
DSPapp.c:129: error: `bus' undeclared (first use in this function)
DSPapp.c:133: error: dereferencing pointer to incomplete type
DSPapp.c:136: error: dereferencing pointer to incomplete type
DSPapp.c:136: warning: implicit declaration of function `gst_parse_launch'
DSPapp.c:143: error: dereferencing pointer to incomplete type
DSPapp.c:148: warning: implicit declaration of function
`gst_bin_get_by_name'
DSPapp.c:148: warning: implicit declaration of function `GST_BIN'
DSPapp.c:148: error: dereferencing pointer to incomplete type
DSPapp.c:154: error: dereferencing pointer to incomplete type
DSPapp.c:157: warning: implicit declaration of function
`gst_pipeline_get_bus'
DSPapp.c:157: warning: implicit declaration of function `GST_PIPELINE'
DSPapp.c:157: error: dereferencing pointer to incomplete type
DSPapp.c:158: warning: implicit declaration of function
`gst_bus_add_signal_watch_full'
DSPapp.c:164: error: dereferencing pointer to incomplete type
DSPapp.c:164: error: `GST_STATE_PLAYING' undeclared (first use in this
function)
DSPapp.c:168: error: dereferencing pointer to incomplete type
DSPapp.c:169: error: dereferencing pointer to incomplete type
DSPapp.c: In function `file_chooser':
DSPapp.c:186: error: dereferencing pointer to incomplete type
DSPapp.c: In function `tb_open_cb':
DSPapp.c:219: error: dereferencing pointer to incomplete type
DSPapp.c:219: error: dereferencing pointer to incomplete type
DSPapp.c:220: error: dereferencing pointer to incomplete type
DSPapp.c:222: error: dereferencing pointer to incomplete type
DSPapp.c:223: error: dereferencing pointer to incomplete type
DSPapp.c: In function `tb_play_cb':
DSPapp.c:240: error: dereferencing pointer to incomplete type
DSPapp.c: At top level:
DSPapp.c:258: error: syntax error before '*' token
DSPapp.c: In function `create_menu':
DSPapp.c:268: warning: implicit declaration of function
`hildon_appview_get_menu'
DSPapp.c:268: error: `main_view' undeclared (first use in this function)
DSPapp.c:268: warning: assignment makes pointer from integer without a cast
DSPapp.c: At top level:
DSPapp.c:293: error: syntax error before '*' token
DSPapp.c: In function `create_toolbar':
DSPapp.c:314: error: `appdata' undeclared (first use in this function)
DSPapp.c:348: error: `main_view' undeclared (first use in this function)
DSPapp.c:301: warning: unused variable `tb_combo'
DSPapp.c: In function `main':
DSPapp.c:361: error: `HildonApp' undeclared (first use in this function)
DSPapp.c:361: error: `app' undeclared (first use in this function)
DSPapp.c:362: error: `HildonAppView' undeclared (first use in this function)
DSPapp.c:366: warning: implicit declaration of function `gst_init'
DSPapp.c:369: warning: implicit declaration of function `HILDON_APP'
DSPapp.c:369: warning: impl

Maemo documentation not uptodate

2008-02-01 Thread David Hautbois
Hi

This documentation is not uptodate :
https://maemo.org/development/documentation/tutorials/maemo_4-0_tutorial.html

Some #include line are not right

Example :
#include 
 > wrong

The hildon header files for hildon widgets are in hildon directory
#include 
#include 
#include 
#include 
 >right


David.

-- 
Web site : http://david.hautbois.free.fr
Tablet users map : http://david.hautbois.free.fr/maps/index.php


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


gpsd data quality

2008-02-01 Thread Brad Midgley
Hey

I haven't seen this myself, but does it qualify as a bug? Is there an
intentional change to the data gpsd produces? I couldn't find any docs
or existing bugs talking about it.

http://www.kismetwireless.net/Forum/General/Messages/1201749708.949826

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


Init script woes

2008-02-01 Thread Tony Green
I wonder if anybody can shed any light on a strange (and annoying) problem I'm 
having persuading dpkg to install init scripts for a package.

I have an init script in the right place in my development tree 
(~/httpd-2.2.8/debian/init.d), hd_installinit is un-commented in 
~/httpd-2.2.8/debian/rules and when I manually un-pick the .deb file, 
data.tar.gz correctly contains ./etc/init.d/httpd.

But... when I actually install the package, I end up without an init file.

The problem appears to be somewhere in the configuration phase, as if I unpack 
the package, I see /etc/init.d/httpd.dpkg-new but when I then configure the 
package, it disappears. Running with debug and some tracing suggests that 
it's being deleted by whatever process runs just before my postinst script is 
called.

This is happening with the latest version of the development environment, but 
reverting to the OS2007 version, it's also happening there. But the fact that 
I DID have an init script in place suggests I've somehow managed to get this 
to work at some stage in my early development work (I forgot to include 
deletion in the postrm script, so it must have been left there by an earlier 
attempt.)

I'm missing something but I can't work out what it is :-(
-- 
Tony Green
Ipswich, Suffolk, England
http://www.beermad.org.uk
http://no2id-ip.web-brewer.co.uk
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: flashplayer plugin doesn't effect in microb

2008-02-01 Thread MoRpHeUz
> > 2. Couldn't render flashs (.swf), just displayed "Flash not
> > supported" or similar stuff in the Flash area. I viewed the
> > about:plugins, which shows that "Shockwave Flash 9.0 r31" has
> > been installed and the status is "Enabled".

  I had this problem these days and the only solution was to copy from
another device the file /home/user/.mozilla/plugins/libflashplayer.so
. Maybe it got corrupted or something like that.

BR,


-- 
---
Blog: http://labs.morpheuz.eng.br/blog/
PGP: 0xDBEEAAC3 @ wwwkeys.pgp.net
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Problem while upgrading to OS2008

2008-02-01 Thread pancake
You have to use the flasher utility.

For moral reasons I recommand you to use the GPLd version:

  http://www.nopcode.org/0x

But technically I don't already have a n800 or n810 and even
os2008 flash has not been tested. in fact the os2k8 fw cannot
be extracted by 0x, so use the nokia's one.

I plan to fix the firmware unpacking to properly work on n810
and the os2008 fiasco image soon.

--pancake

On Thu, Jan 31, 2008 at 07:24:49PM -0600, nisha jain wrote:
> Hi All,
> 
> I am trying to deploy the mameo application on N800.
> I realized i don't have OS2008 and now I am facing problem upgrading to
> OS2008 can any one help me?
> 
> Regards,
> Nisha

> ___
> 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: flashplayer plugin doesn't effect in microb

2008-02-01 Thread josh.soref
> I just installed microb browser from .deb files reside on 
> http://repository.maemo.org/extras/pool/bora one by one.
>  
> The installion procedure went smoothly and the browser could 
> be properly launched and "mozilla based browser for maemo"
> has been set to default homepage.
>  
> But I found 2 questions:
> 1. "Set engine" is missing from menu.

You can manually force this by changing a line in ~/.browser to say:
hidden=true

> 2. Couldn't render flashs (.swf), just displayed "Flash not 
> supported" or similar stuff in the Flash area. I viewed the 
> about:plugins, which shows that "Shockwave Flash 9.0 r31" has 
> been installed and the status is "Enabled".

Are you using ARM or X86? because we don't have flash for x86...
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: Build the entire Mozilla based browser for maemo

2008-02-01 Thread josh.soref
Ngurah wrote:
> i got the following undefined reference error when trying to 
> build one.
> I do the same as the instruction said in 
> http://wiki.mozilla.org/Mobile/Build/Maemo_Build_Instructions.
> 
> TestXMLExtras.o:(.data._ZTV11nsIDocument[vtable for 
> nsIDocument]+0x58): undefined reference to 
> `nsINode::GetProperty(unsigned short, nsIAtom*, unsigned int*) const'
> TestXMLExtras.o:(.data._ZTV11nsIDocument[vtable for 
> nsIDocument]+0x5c): undefined reference to 
> `nsINode::SetProperty(unsigned short, nsIAtom*, void*, void 
> (*)(void*, nsIAtom*, void*, void*), int, void**)'
> TestXMLExtras.o:(.data._ZTV11nsIDocument[vtable for 
> nsIDocument]+0x60): undefined reference to 
> `nsINode::DeleteProperty(unsigned short, nsIAtom*)'
> 
> any clue?

Sorry, your message (And in fact virtually all the non noise messages
for the last month) was marked as junk.

Textxmlextras is a test that's broken, --disable-tests.

The other thing to keep in mind is that the maemo toolchain is broken,
if you try to build gecko wiith --disable-optimize, it *will* fail
linking layout, or gecko, or libxul (depending on how you've configured
it).

Instead you must use --enable-optimize="-O2 ..." (generally "-O2 -g" is
recommended).
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Fwd: KProbe for kernel 2.6.21

2008-02-01 Thread nick loeve
-- Forwarded message --
From: nick loeve <[EMAIL PROTECTED]>
Date: Feb 1, 2008 9:11 AM
Subject: Re: KProbe for kernel 2.6.21
To: Kalle Valo <[EMAIL PROTECTED]>


Hello,

On Feb 1, 2008 8:20 AM, Kalle Valo <[EMAIL PROTECTED]> wrote:
> "ext Leandro Sales" <[EMAIL PROTECTED]> writes:
>
> >why I can't see CONFIG_KPROBES symbol nor KPROBES module for the
> > kernel 2.6.21 for maemo? Is there something that I have to do to have
> > this option enabled?
>
> My first question is that does Kprobes really support ARM? I recall
> that it does not.
>
> [some googling]
>
> Yes, it seems that ARM support wasn't official at the time 2.6.21 was
> released (2007-04-26):
>
> http://sourceware.org/ml/systemtap/2007-q1/msg00082.html

I have successfully built the 2.6.21 kernel with the experimental
kprobes patches:

http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=4447
http://www.kernel.org/pub/linux/kernel/people/eugeneteo/kprobes/kprobes-arm-cleanup-2.6.21.4-A1

I based this on the process described by Eugene Teo:

http://www.nabble.com/Kprobes-and-Maemo-%28N800%29-tt11540348.html
Cheers



>
> --

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



--
Nick Loeve
www.trickie.org



-- 
Nick Loeve
www.trickie.org
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers