Re: [maemo-developers] debugging on real 770 ?

2005-11-17 Thread Kimmo Hämäläinen
Hi,

It's also possible to attach gdbserver to a process on the 770 and
use gdb on Scratchbox (with the same binary with symbols) so that it
talks with the gdbserver over the network. However, I have noticed that
attaching gdbserver succeeds only with some processes.

The advantage is that the runtime environment is really the 770, but you
need the symbols only on the Scratchbox copy of the binary.

-Kimmo

On Thu, 2005-11-17 at 08:05, ext [EMAIL PROTECTED]
wrote:
> Hi,
> 
> > You can use gdb on the real N770,if you have a developer rootfs .
> 
> There are few limitations though.
> 
> Sometimes 770 runs out of memory when debugging a larger application.
> Swapping to a mmc or usb harddrive is bit hacky  but works.
> 
> Better option is to setup 770 to act
> as an CPU transparency device for your scratchbox. Then you
> can compile stuff inside SB, but it runs on real device. In this
> case setting up gdb in client server mode is easy and well
> documented in scratchbox.org
> 
> 
> Br,
> Sampo
> 
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] debugging on real 770 ?

2005-11-17 Thread Riku Voipio
On Thursday 17 November 2005 02:49, Patrice Tisserand wrote:
> Hi,
> I'm currently trying to add Tcl/Tk support on maemo in order to run PDa [1]
> Everything seems to be ok in scratchbox/qemu-arm but not on real 770.
> Each time I try to add a widget via wish console, the 770 reboot.

Someone else can probably answer the debugging questions better, but
my 0.05 euro on the reboot:

flasher --set-rd-flags=no-lifeguard-reset 

will disable reboot when one of the
"life-critical" services crashes. As out-of-my-fedora guess, check what font
your widgets are using. Using non-existent fonts on kdrive xserver has some
suprising effects.. 

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


[maemo-developers] How to get mono development up and running

2005-11-17 Thread Serge van den Oever








I tried to get mono development up and running on my debian
distrubution, but didn’t have much success yet.

 

I assume I need “normal” mono on debian so I can
use monodevelop, and that I have to compile mono in scratchbox for both the 386
and ARM targets for testing?

 

Can I use the assemblies created under normal debian on the
770?

 

Can someone please create a small dummy guide for Mono development
for 770?



Kind regards, 
Macaw 

Serge van den Oever 
Specialist developer 

E-mail:
[EMAIL PROTECTED] 
WWW   : http://www.macaw.nl
Weblog: http://weblogs.asp.net/soever
Weblog: http://www.sqljunkies.com/weblog/macaw



 






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


[maemo-developers] C++ bindings for hildon

2005-11-17 Thread Timo Steuerwald

Hi all!

Has anyone already tried the C++ bindings for hildon?
Is there an example usage out there? Or even a tutorial? How should it 
be build?
If I'm right now we can develop the entire applications in C++ with the 
bindings and GTKmm, or not?


Cheers,

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


Re: [maemo-developers] C++ bindings for hildon

2005-11-17 Thread Murray Cumming
 > Has anyone already tried the C++ bindings for hildon?
> Is there an example usage out there? Or even a tutorial? How should it
> be build?

I only put them into svn yesterday, and I haven't even had time to try
building a fresh checkout yet. In general, you can build them from svn
with ./autogen;make all install

You'll need to build gtkmm first, of course. I hope someone makes maemo
.debs for these.

There's a couple of small examples.

> If I'm right now we can develop the entire applications in C++ with the
> bindings and GTKmm, or not?

There are some properties problems with the hildon widgets that affect
bindings and development apps like glade, but apparently fixes for that
are on their way.

We also need to see whether the 770 has enough memory for a gtkmm
application and/or if we should do some memory-usage reduction on
libsigc++ and gtkmm. But, if the 770 can run mono and python then I guess
the chances are good.

Murray Cumming
[EMAIL PROTECTED]
www.murrayc.com
www.openismus.com

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


[maemo-developers] ELF file OS ABI invalid

2005-11-17 Thread Timo Steuerwald

Hi all,

I have installed checkinstall and installwatch via apt-get source -b 
from a debian sarge mirror. During execution of checkinstall, I will get 
this message:

<-snip-->
/scratchbox/tools/bin/sh: error while loading shared libraries: 
/usr/lib/installwatch.so: ELF file OS ABI invalid

<-snip-->

What does this mean?

Cheers,

Timo



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


[maemo-developers] wlan monitor mode?

2005-11-17 Thread Bernhard Baase
Hi, 

are there any news concerning monitor mode for the wlan chip?
It would be great to use the nokia 770 for wlan gps positioning or simply be able to run kismet.
I think a lot of guys are waiting for that feature.

Thanks 

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


Re: [maemo-developers] ELF file OS ABI invalid

2005-11-17 Thread Riku Voipio
On Thursday 17 November 2005 14:58, Timo Steuerwald wrote:
> <-snip-->
> /scratchbox/tools/bin/sh: error while loading shared libraries:
> /usr/lib/installwatch.so: ELF file OS ABI invalid
> <-snip-->

> What does this mean?

This and similar questions belong to the scratchbox mailing lists...

It means you are trying to run x86 binaries while having an arm
library in LD_PRELOAD.  since checkinstall most likely tries to
override same functions as fakeroot and libsb, making it work is
not trivial. 

nevertheless, checkinstall does not support application installer varian deb 
packages, so it isn't going to help you much.. 
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] ELF file OS ABI invalid

2005-11-17 Thread Timo Steuerwald

Riku Voipio wrote:


This and similar questions belong to the scratchbox mailing lists...

 

I thought this error message has something to do with the maemo 
platform, so maemo-dev list would have been correct.



It means you are trying to run x86 binaries while having an arm
library in LD_PRELOAD.  since checkinstall most likely tries to
override same functions as fakeroot and libsb, making it work is
not trivial. 
 


Ahh, thanks for your information.

nevertheless, checkinstall does not support application installer varian deb 
packages, so it isn't going to help you much.. 

 


Yes, I know. I only want to do some quick-dirty packages, only for myself.



Cheers,

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


[maemo-developers] debugging on real 770 ?

2005-11-17 Thread Eero Tamminen
Hi,

> I'm currently trying to add Tcl/Tk support on maemo in order to run PDa
> [1].  Everything seems to be ok in scratchbox/qemu-arm but not on real
> 770.  Each time I try to add a widget via wish console, the 770 reboot.

Two questions:
- How much your application/wish use memory?
- Are you running it/them as root?

I think root process requests for memory are not denied and if
your process is using too much memory, device might reboot...


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


[maemo-developers] No gtk-config in Maemo 1.1 RC5 ?

2005-11-17 Thread Luca Donaggio
I'm trying to port some gtk stuff to maemo, but I was stucked to
configure not being able to find gtk-config. It seems that the
developer environment lacks this script (or, at least, I wasn't able
to find it ;-) ! Maybe I can "apt-get" it? O is there another (better)
way to do it?

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


Re: [maemo-developers] No gtk-config in Maemo 1.1 RC5 ?

2005-11-17 Thread Markku Vire

Hi,

gtk-config is old configure system for gtk 1.2. For gtk2 you certainly 
want to use pkg-config. Older gtk version is not supported.


Markku Vire
Movial

Luca Donaggio wrote:

I'm trying to port some gtk stuff to maemo, but I was stucked to
configure not being able to find gtk-config. It seems that the
developer environment lacks this script (or, at least, I wasn't able
to find it ;-) ! Maybe I can "apt-get" it? O is there another (better)
way to do it?


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


[maemo-developers] No gtk-config in Maemo 1.1 RC5 ?

2005-11-17 Thread Eero Tamminen
Hi,

> I'm trying to port some gtk stuff to maemo, but I was stucked
> to configure not being able to find gtk-config. It seems that
> the developer environment lacks this script (or, at least, I wasn't
> ableto find it ;-) !

Maemo supports Gtk v2 (using pkg-config), not Gtk v1.

- Eero

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


Re: [maemo-developers] No gtk-config in Maemo 1.1 RC5 ?

2005-11-17 Thread Luca Donaggio
2005/11/17, Markku Vire <[EMAIL PROTECTED]>:
> Hi,
>
> gtk-config is old configure system for gtk 1.2. For gtk2 you certainly
> want to use pkg-config. Older gtk version is not supported.
>
> Markku Vire
> Movial
>

You're right, but take a look at what's happening inside my Scrachbox:

[sbox-SDK_ARM: ~] > pkg-config --cflags gtk
Package gtk was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk' found
[sbox-SDK_ARM: ~] > pkg-config --cflags gtk+
sh: line 1: gtk-config: command not found
sh: line 1: gtk-config: command not found
sh: line 1: gtk-config: command not found

it seems it's still looking for gtk-config to do the real work!

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


Re: [maemo-developers] No gtk-config in Maemo 1.1 RC5 ?

2005-11-17 Thread Murray Cumming

> 2005/11/17, Markku Vire <[EMAIL PROTECTED]>:
>> Hi,
>>
>> gtk-config is old configure system for gtk 1.2. For gtk2 you certainly
>> want to use pkg-config. Older gtk version is not supported.
>>
>> Markku Vire
>> Movial
>>
>
> You're right, but take a look at what's happening inside my Scrachbox:
>
> [sbox-SDK_ARM: ~] > pkg-config --cflags gtk

Try

pkg-config --cflags gtk-2.0

That's the name of the API.

Murray Cumming
[EMAIL PROTECTED]
www.murrayc.com
www.openismus.com

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


Re: [maemo-developers] No gtk-config in Maemo 1.1 RC5 ?

2005-11-17 Thread Murray Cumming
> Try
>
> pkg-config --cflags gtk-2.0
>
> That's the name of the API.

I mean, gtk+-2.0.

Murray Cumming
[EMAIL PROTECTED]
www.murrayc.com
www.openismus.com

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


[maemo-developers] Evince Package for Application Installer

2005-11-17 Thread Eduardo de Barros Lima

Hi there,

   Evince package for Nokia 770 is available at:

http://evolutum.gotdns.com/~indt/evince/evince_0.4.0-1-indt1_arm.deb

   More information and pictures at:

http://etrunko.blogspot.com/2005/11/preliminary-evince-package-for-nokia.html

   There are some known issues, and any feedbacks will be welcome.

   Regards, Eduardo (etrunko).

--
Eduardo de Barros Lima
INdT - Instituto Nokia de Tecnologia
[EMAIL PROTECTED]
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Evince Package for Application Installer

2005-11-17 Thread Rob Clews

It fails in the AI for me with "Not enough memory".

Thanks
Rob

On 17 Nov 2005, at 19:51, Eduardo de Barros Lima wrote:


Hi there,

   Evince package for Nokia 770 is available at:

http://evolutum.gotdns.com/~indt/evince/evince_0.4.0-1-indt1_arm.deb

   More information and pictures at:

http://etrunko.blogspot.com/2005/11/preliminary-evince-package-for- 
nokia.html


   There are some known issues, and any feedbacks will be welcome.

   Regards, Eduardo (etrunko).

--
Eduardo de Barros Lima
INdT - Instituto Nokia de Tecnologia
[EMAIL PROTECTED]
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers



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


Re: [maemo-developers] Evince Package for Application Installer

2005-11-17 Thread Jens Geiregat
It works on my device, but when I tried to go fullscreen with
View->Fullscreen, by device blocked. The only thing I could do was
reboot. There are some other bugs too, but it's a great already.


Jens

On 11/17/05, Rob Clews <[EMAIL PROTECTED]> wrote:
> It fails in the AI for me with "Not enough memory".
>
> Thanks
> Rob
>
> On 17 Nov 2005, at 19:51, Eduardo de Barros Lima wrote:
>
> > Hi there,
> >
> >Evince package for Nokia 770 is available at:
> >
> > http://evolutum.gotdns.com/~indt/evince/evince_0.4.0-1-indt1_arm.deb
> >
> >More information and pictures at:
> >
> > http://etrunko.blogspot.com/2005/11/preliminary-evince-package-for-
> > nokia.html
> >
> >There are some known issues, and any feedbacks will be welcome.
> >
> >Regards, Eduardo (etrunko).
> >
> > --
> > Eduardo de Barros Lima
> > INdT - Instituto Nokia de Tecnologia
> > [EMAIL PROTECTED]
> > ___
> > maemo-developers mailing list
> > maemo-developers@maemo.org
> > https://maemo.org/mailman/listinfo/maemo-developers
> >
>
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers
>
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] Re: [maemo-users] Port of VNC

2005-11-17 Thread Matthias Steinbauer
Could you provide the Source?

As file sayse those binaries are:
vncviewer: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for 
GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped

So i don't think that anyone can execute a i386 binary on a real device.

regards matthias

On Thursday 17 November 2005 19:58, Joaquim Azevedo wrote:
> It's strange i have tar the pachage inside of maemo with a target
> ARM, what is the version of tar??
>
>
> David Briggs <[EMAIL PROTECTED]> escreveu:Message I  tried to
> unpack the archive on my 770 (maemo v2005.42-9), with rd mode enabled,  and
> running as fakeroot:
>
>  # tar xzvf LN-VNC-Maemo-0.1.tar.gz -C  /
>  tar:  Invalid gzip magic
>
>  :-(
>
>-Original Message-
> From:[EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] OnBehalf Of Joaquim Azevedo
> Sent: Thursday, November 17, 200511:03 AM
> To: Maemo Users
> Subject: [maemo-users] Port ofVNC
>
>
>Hi people!
>
> i have ported VNCviewer is a tar.gz andto install is very easy:
>
> Download the package:
>
> $ wgethttp://ln-slack-maemo.sourceforge.net/LN-VNC-Maemo-0.1.tar.gz
>
>
> [sbox-SDK_PC: ~] > fakeroot
>
> # tar xzvf LN-VNC-Maemo-0.1.tar.gz -C /
>
> now make a link:
>
> [sbox-SDK_PC: ~/osso-maemopad] > ln -s
> /usr/share/applications/hildon/VNCviewer.desktop \
> /etc/others-menu/2200_tana_fi_extras/0113_VNCviewer.desktop
>
> and after is allright, restart maemo and enjoy!!!
>
> If someone have a device N770 -> try to run VNC!!!
>
>
>
>
>
>
>
> ==
> JoaquimAzevedo
> Linux Users #398795
> UECE - Ciências daComputação
> Larces-NOKIA
> ==
> Hey you! don'ttell me there's no hope at all
> Together we stand, divided we fall.  
> __ Faça ligações para   
> outros computadores com o novo Yahoo! Messenger
> http://br.beta.messenger.yahoo.com/
>
>
>
>
> ==
> Joaquim Azevedo
> Linux Users #398795
> UECE - Ciências da Computação
> Larces-NOKIA
> ==
> Hey you! don't tell me there's no hope at all
> Together we stand, divided we fall.
>
> -
>  Yahoo! Acesso Grátis: Internet rápida e grátis.
> Instale o discador agora!
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers