Re: [uClinux-dev] Can't get simple C++ "Hello world" application to work - BINFMT_FLAT: reloc outside program error

2007-09-24 Thread Stanislav Meduna
Gavin Lambert wrote: > Another thing you'll need to be careful of is where you're getting your C++ > library from -- sometimes the toolchain library gets picked up instead of > the uClinux library, which may have been compiled with different settings. In my setup there is something most probably

Re: [uClinux-dev] boa ssi,please advise

2007-09-24 Thread Stanislav Meduna
advan wrote: > Now I'm use the 'thttpd' server that's ablet ot support SSI , then I may > use static configure.html ,May I ? Please you give me some advise . I never used thttpd - sorry. -- Stano ___ uClinux-d

[uClinux-dev] netflash, anybody experience wtih flashing from a local file?

2007-09-24 Thread Siegfried Müller
Hi to all, Does anybody have experience with netflash while flashing from a local file? I use netflash for flashing via tftp and also want to use it to flash from a local file mounted to the system. If a tried this, my system crashes! I use "netflash -ibk -r /dev/flash/Image /var/ext/image.bin" Her

Re: [uClinux-dev] netflash, anybody experience wtih flashing from a local file?

2007-09-24 Thread damico
Try to use flashw to burn local file on flash. Regards --Michele Siegfried Müller wrote: Hi to all, Does anybody have experience with netflash while flashing from a local file? I use netflash for flashing via tftp and also want to use it to flash from a local file mounted to the system. If a t

AW: [uClinux-dev] netflash, anybody experience wtih flashing froma local file?

2007-09-24 Thread Siegfried Müller
Well, i do this currently. But i want to use only one tool in the future. Netflash has everything about versioning and other useful things. Regards Siegfried -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von damico Gesendet: Montag, 24. September 20

Re: AW: [uClinux-dev] netflash, anybody experience wtih flashing froma local file?

2007-09-24 Thread damico
Sorry, I can't help you... I've never used netflash for local files... Regards --Michele ___ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To

Re: [uClinux-dev] Can't get simple C++ "Hello world" application to work - BINFMT_FLAT: reloc outside program error

2007-09-24 Thread Wolfgang Mües
On Montag, 24. September 2007, Gavin Lambert wrote: > (And yes, you're right about the flags. I've never managed to get a > C++ app with Has-PIC-GOT to work properly. Maybe the actual problem > is simple, but I don't know enough about the linker internals to mess > with it.) Oh yes! This is a de

Re: [uClinux-dev] netflash, anybody experience wtih flashing from a local file?

2007-09-24 Thread Greg Ungerer
Hi Siegfried, Siegfried Müller wrote: Does anybody have experience with netflash while flashing from a local file? I use netflash for flashing via tftp and also want to use it to flash from a local file mounted to the system. If a tried this, my system crashes! I use "netflash -ibk -r /dev/flash

[uClinux-dev] HELP!!! What does "BINFMT_FLAT: reloc outside program" mean!

2007-09-24 Thread Bob Grimes
What does "BINFMT_FLAT: reloc outside program" mean, and how do I fix it? I was trying to get C++ working, but I've given up on that. Now, I'm just trying to get back to a working kernel, and I get the same errors, on such things as "mount". So it doesn't seem to be tied just to C++. I've done

Re: [uClinux-dev] HELP!!! What does "BINFMT_FLAT: reloc outside program" mean!

2007-09-24 Thread Paul_Dale
> What does "BINFMT_FLAT: reloc outside program" mean, and how do I fix > it? It means pretty much what it says. A relocation is pointing out program text and data areas and the kernel is erroring out over it. The fix is to remove this test from the binfmt_flat loader, it is possible to have r

Re: [uClinux-dev] HELP!!! What does "BINFMT_FLAT: reloc outside program" mean!

2007-09-24 Thread Jamie Lokier
[EMAIL PROTECTED] wrote: > > What does "BINFMT_FLAT: reloc outside program" mean, and how do I fix > > it? > > It means pretty much what it says. A relocation is pointing out > program text and data areas and the kernel is erroring out over it. > > The fix is to remove this test from the binfmt_f

Re: [uClinux-dev] HELP!!! What does "BINFMT_FLAT: reloc outside program" mean!

2007-09-24 Thread Paul_Dale
> So basically you're saying C++ works fine, provided that simple test > is removed from the kernel, is that right? Nope. The message will disappear if the test is removed :-) And if you *must* get something going that produces this message, this is the first step along a long and painful pat

AW: [uClinux-dev] netflash, anybody experience wtih flashing froma local file?

2007-09-24 Thread Siegfried Müller
Greg, Thank you for the explanation. But what i don't understand is, that it is running fine via tftp. What is the difference to that? Regards Siegfried -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Greg Ungerer Gesendet: Dienstag, 25. September

Re: AW: [uClinux-dev] netflash, anybody experience wtih flashing froma local file?

2007-09-24 Thread Greg Ungerer
Hi Siegfried, Siegfried Müller wrote: Thank you for the explanation. But what i don't understand is, that it is running fine via tftp. What is the difference to that? Is /var/ext/image.bin in the root filesystem? Regards Greg -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailt

Re: [uClinux-dev] Need help about to build uClinux.

2007-09-24 Thread Greg Ungerer
Hi Darwin, Darwin Chen wrote: First of all, I should introduce my working environment. Building host is Redhat 9.0. the cross-compiler is arm-linux-gcc V3.4.4 which downloaded from uClinux.org. the distribution is uClinux-dist-20060830 and linux kernel is 2.6.22 with uc0 patch. Target is Winbo

Re: [uClinux-dev] PERL

2007-09-24 Thread Greg Ungerer
Hi Mihir, Mihir Sevak wrote: I tried the latest test version of uClinux but when it is building perl it builds dependencies and hangs over there Couple of people from my group tried to do it but apparently we failed so any more suggestions ... pointers any kind of help will be

[uClinux-dev] Re: [PATCH] Implement mmap on the m532xfb

2007-09-24 Thread Greg Ungerer
Hi Sebastian, Sebastian Hess wrote: On Friday 14 September 2007 00:36, Matt Waddel wrote: If I run nano-X twice the 2nd time crashes the kernel. (I know running nano-X twice is the wrong thing to do, but even so I would expect there would be better response that a kernel panic.) Any ideas or

RE: [uClinux-dev] HELP!!! What does "BINFMT_FLAT: reloc outside program" mean!

2007-09-24 Thread Gavin Lambert
Quoth Jamie Lokier: > But this part of the kernel will relocate incorrectly in border > cases with XIP: > > if (r < text_len) /* In text segment */ > addr = r + start_code; > else/* In data segment */ >