Newbie: Segmentation fault ....

Started by Pinho, 26. Feb 2010, 16:54

previous topic - next topic
Go Down

Pinho

Hello,

I just found this forum this week and want to play around with my  VIP1200.
I am a linux virgin, but I got an UBUNTO installed on a VMWare and
I think I got the toolchain to work.

So I created a little helloworld program that I wanted to compile and run on the box.

I use:
mipsel-linux gcc -o helloworld helloworld.c

file helloworld
tells me:
LF 32-bit LSB executable, MIPS, MIPS-I version 1 (SYSV), dynamically linked (uses shared libs), not stripped

so this looks good to me.

Then I boot the box, it loads an limux image I found somewhere. I log in as root.

I upload helloworld via tftp and when i try and run it I only get:

"segmentation fault"

This water is way to deep for me ;-) so any ideas what might be wrong?

Any help is much appreciated. Cheers




Go Up