[uClinux-dev] help with sparc-linux-gcc

Pablo Silva magoguevarapablo at gmail.com
Mon Oct 3 08:27:59 EDT 2005


hi all... i'm tyring to compile some examples for uClinux and there's
something wrong :(

this an error...

pjs at guevara:~/automotive/automotive/qsort$ make
sparc-linux-gcc -O2 -elf2flt  -o qsort_small qsort_small.c
-I/home/pjs/snapgear-p16/lib/uClibc/include/.
-L/home/pjs/snapgear-p16/lib/uClibc/libc/. -lc
qsort_small.elf2flt(.text+0x14): In function `_start':
: undefined reference to `__libc_csu_init'
qsort_small.elf2flt(.text+0x18): In function `_start':
: undefined reference to `__libc_csu_fini'
qsort_small.elf2flt(.text+0x20): In function `_start':
: undefined reference to `__libc_csu_init'
qsort_small.elf2flt(.text+0x24): In function `_start':
: undefined reference to `__libc_csu_fini'
qsort_small.elf2flt(.text+0x2c): In function `_start':
: undefined reference to `__libc_start_main'
collect2: ld returned 1 exit status
make: ** [qsort_small] Erro 1

anybody has any idea??
thanks a lot
and sorry for bad english :(
Pablo



More information about the uClinux-dev mailing list