two.c:
#include<stdio.h>
main()
{
printf("hello C is working");
}
#gcc -0 two two.c
#./two
segmetnation fault
#gdb two two.core
This GDB was configured as "i386-marcel-freebsd"..(no debugging symbols found)..
Core was generated by 'two'
Program terminated with signal 11,segmentation fault
Reading symbols from /lib/lib.so.6..(no debugging symbols found)..done
Loaded symbols for /lib/libc.so.6
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)..done
Loaded symbols for /libexec/ld-elf.so.1
#0 0x08048455 in _start()
#backtrace
#0 0x08048455 in _start()
#1 0x00000001 in ?? ()
----these are the errors,what to do now.please help.iam stucked.actually i have nothing to do with two.c.When i ./configure in SDL folder iam getting cannot run c compiled programs.Thats y iam into gdb after running gcc
Thanks in advance