Re: [maemo-developers] Developing directly on the 770

2006-07-18 Thread David D. Hagood
Christian Henz wrote: I use NFS, but with the 2006 OS you have to re-compile the kernel for that. Actually, there is a kernel image up on maemo.org with support for both NFS and IP6 - so there is no need to recompile, just reflash the kernel - it is listed in the Applications2006 section. H

[maemo-developers] Maemo 2.0 bug in /usr/include/linux/unistd.h

2006-07-18 Thread Ramiro Estrugo
Im using this rootstrap i386: Maemo_Dev_Platform_v2.0_i386-rootstrap.tgz There a bug in /usr/include/linux/unistd.h instead of: extern int errno; it should say: #include this test program reproduces the problem: #include #include _syscall0(pid_t,gettid) int main() { return 0; } gcc

Re: [maemo-developers] Need some help with debian file for IT2006 device

2006-07-18 Thread Andrew Barr
On Tuesday 18 July 2006 14:34, Steven Hill wrote: > However, when I try to install this library using > that file and the application manager, I get the message that it is an > incompatible package. You should try using dpkg on the command line if it is indeed an ITOS2006 compatible package (they

[maemo-developers] Help! - how to static link single library

2006-07-18 Thread Steven Hill
Hello: Could someone please help me out - I am using autogen.sh to compile and link a project - here is a listing: #!/bin/sh set -x glib-gettextize --copy --force libtoolize --automake intltoolize --copy --force --automake aclocal-1.7 autoconf autoheader automake-1.7 --add-missing --foreign The

Re: [maemo-developers] Compiling for ARM

2006-07-18 Thread Israel Herraiz
Philippe Midol-Monnet wrote: > It look like I can't execute the application from the memory card . What > is the reason ? I don't exactly know, but I guess it is either the partition is mounted with the noexec attribute or, as the partition is FAT, you can not set up the execution permission for t

Re: [maemo-developers] Compiling for ARM

2006-07-18 Thread Philippe Midol-Monnet
Israel Herraiz wrote: [EMAIL PROTECTED] wrote: but it look like the compiler generate a x86 binarie. Have you checked it using file (file binary_filename should tell you the architecture the binary is compiled for) ? Have you execute a make clean and then make under the SDK_ARM profile? I t

Re: [maemo-developers] A good debugger infrastructure

2006-07-18 Thread Johan Bilien
On Tue, Jul 18, 2006, Philip Van Hoof wrote: > > How exactly gdbserver crashed? Did you try to run application with it or > > to attach to existing pid? I only tried with simple non-gui applications > > (ping, tracepath) and it worked without any problem. > > I only tried once, but I attached it t

Re: [maemo-developers] Modifying the Root Filesystem

2006-07-18 Thread Dan Brinks
Stellars Henson wrote: hi, i've been doing the same. my method is a bit simpler: after providing my >nokia with most wanted/recent/favourite applications and utilities >1. i just make ># tar -cpf /media/mmc1/backup.tar bin boot dev etc home lib root sbin usr var Alternative is to have dropb

[maemo-developers] Need some help with debian file for IT2006 device

2006-07-18 Thread Steven Hill
Hello: First, I am not an experienced Linux person, but I have been developing on the Nokia for several months, with some success. I am "flying by the seat of my pants" as they used to say. I am porting my application to IT2006, and have done that successfully, but the app depends on libsqlite0, w

Re: [maemo-developers] Problem with GDB and threads...

2006-07-18 Thread Christian Henz
On Tuesday 18 July 2006 15:23, Eero Tamminen wrote: > Hi, > > > I simply compiled with "-g" before, adding the "-no-omit-frame-pointer" > > directive did not help. > > Actually I think the library where the function giving infinite > backtrace is should be compiled with -g (or debug package for > i

Re: [maemo-developers] Compiling for ARM

2006-07-18 Thread Israel Herraiz
[EMAIL PROTECTED] wrote: > but it look like the compiler generate a x86 binarie. Have you checked it using file (file binary_filename should tell you the architecture the binary is compiled for) ? Have you execute a make clean and then make under the SDK_ARM profile? BR, Israel -- Israel Herrai

Re: [maemo-developers] Modifying the Root Filesystem

2006-07-18 Thread Stellars Henson
> Stellars Henson wrote: > > >hi, i've been doing the same. my method is a bit simpler: after providing > >my > >nokia with most wanted/recent/favourite applications and utilities > >1. i just make > ># tar -cpf /media/mmc1/backup.tar bin boot dev etc home lib root sbin usr > >var > > > Alter

Re: [maemo-developers] Developing directly on the 770

2006-07-18 Thread Thanos Panousis
Well that is an overkill.Anybody experienced with sshfs? Its pretty damn cool.On 7/18/06, Christian Henz < [EMAIL PROTECTED]> wrote:On Tuesday 18 July 2006 15:54, Thanos Panousis wrote: > Hello list,>> I would like to ask the list for a general developing question. I need to> set up some kind o

Re: [maemo-developers] Developing directly on the 770

2006-07-18 Thread Thanos Panousis
Yes, that is what I am resorting to right now;But it sucks, you need to: save on local disk, scp to remote disk, execute on remote disk.If a mount was possible, only 1 and 3 are needed. On 7/18/06, Mario Ivankovits <[EMAIL PROTECTED]> wrote: Hi Thanos!> What other alternatives have you ppl been usi

Re: [maemo-developers] Re: Tinymail using mmap() gets killed by the kernel of the device

2006-07-18 Thread Guillem Jover
On Sun, 2006-07-16 at 14:52:41 +0300, ext Tomi Ollila wrote: > Also, maybe better (or worse!) is (char *)(((int)address + 3) & ~3), > assumed that sizeof (char *) == sizeof (int). > This latter version seems to compile... And runs... on this architecture, but not on others. ;) If you have to use

Re: [maemo-developers] Modifying the Root Filesystem

2006-07-18 Thread Frantisek Dufka
Stellars Henson wrote: hi, i've been doing the same. my method is a bit simpler: after providing my nokia with most wanted/recent/favourite applications and utilities 1. i just make # tar -cpf /media/mmc1/backup.tar bin boot dev etc home lib root sbin usr var Alternative is to have dropbear

Re: [maemo-developers] Developing directly on the 770

2006-07-18 Thread Christian Henz
On Tuesday 18 July 2006 15:54, Thanos Panousis wrote: > Hello list, > > I would like to ask the list for a general developing question. I need to > set up some kind of shared directory between the 770 and my developing PC. > This way I can write a python script on my PC editor, save on the shared >

Re: [maemo-developers] Developing directly on the 770

2006-07-18 Thread Mario Ivankovits
Hi Thanos! > What other alternatives have you ppl been using? I simply use openssh installed on my nokia (http://maemo.org/maemowiki/ApplicationCatalog2006#head-f2616a12f79f9b76bea9dca20cbe89a1735a4910) and transfer the binary from my pc to the nokia with a simple "scp" - on another session I am lo

[maemo-developers] Developing directly on the 770

2006-07-18 Thread Thanos Panousis
Hello list, I would like to ask the list for a general developing question. I need to set up some kind of shared directory between the 770 and my developing PC. This way I can write a python script on my PC editor, save on the shared directory directly which would lie on the 770, and then just run

Re: [maemo-developers] Modifying the Root Filesystem

2006-07-18 Thread Stellars Henson
> Hello all > I've been trying to create a new root filesystem to load onto my 770 device > with some applications already built in. So what I've done is extract the > rootfs from the OS 2006 binary as described by the "how to" then I > downloaded the xterminal package, and downloaded all the pa

Re: [maemo-developers] Problem with GDB and threads...

2006-07-18 Thread Eero Tamminen
Hi, > I simply compiled with "-g" before, adding the "-no-omit-frame-pointer" > directive did not help. Actually I think the library where the function giving infinite backtrace is should be compiled with -g (or debug package for it should be installed). If that doesn't help then you need to co

[maemo-developers] Modifying the Root Filesystem

2006-07-18 Thread Dan Brinks
Hello all I've been trying to create a new root filesystem to load onto my 770 device with some applications already built in. So what I've done is extract the rootfs from the OS 2006 binary as described by the "how to" then I downloaded the xterminal package, and downloaded all the packages th

[maemo-developers] Re: The fixes11 mmap patch doesn't respect data alignment on some architectures

2006-07-18 Thread Philip Van Hoof
On Fri, 2006-07-14 at 19:23 +0200, Philip Van Hoof wrote: > While the x86 handles unaligned access, ARM doesn't. The patch will not > work on architectures that don't handle unaligned access. > > I will try to fix it, but I don't have a lot experience in this field. Second attempt to introduce da

Re: [maemo-developers] Problem with GDB and threads...

2006-07-18 Thread Christian Henz
On Friday 14 July 2006 08:37, Eero Tamminen wrote: > Hi, > > > On the Nokia 770, the backtrace goes on forever and i have to kill gdb > > Have you compiled your binary: > - without optimization (or used -no-omit-frame-pointer) > - with -g > - not stripped it > ? > > If not, if you do that and try a

[maemo-developers] osso-connectivity and PC_SDK

2006-07-18 Thread Vladislav Vasiliev
Hello All. I tried to use function osso_socket on PC_SDK and have received a problem. I take standard example for osso-ic-dev in /usr/share/doc/osso-ic-dev/examples Compile it: gcc osso-socket.c -o osso-socket `pkg-config --cflags --libs osso-ic glib-2.0` -DDBUS_API_SUBJECT_TO_CHANGE and run: r

Re: [maemo-developers] A good debugger infrastructure

2006-07-18 Thread Philip Van Hoof
On Tue, 2006-07-18 at 09:58 +0300, Ed Bartosh wrote: > On Mon, 2006-07-17 at 20:16 +0200, ext Philip Van Hoof wrote: > > The gdbserver didn't work. It crashed. But gdb on the device itself (in > > an xterm), however does work. Pity it's a little bit difficult because > > my ui's are always full s

Re: [maemo-developers] A good debugger infrastructure

2006-07-18 Thread Ed Bartosh
On Mon, 2006-07-17 at 20:16 +0200, ext Philip Van Hoof wrote: > On Mon, 2006-07-17 at 12:38 +0300, Ed Bartosh wrote: > > > > I didn't try, no. > > You should definitely try first :) > > > > gdbserver is included into gdb package. You can install it from > > http://repository.maemo.org/ repo: >