[mips-gnu-discuss] codesourcery problem: warning: cannot find entry symbol __start
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mips-gnu-discuss] codesourcery problem: warning: cannot find entry symbol __start



Hello, I am trying to compile a simple application using codesourcery
cross compiler.

I am getting this error message.

#> make

2g-diag1:262> mips-sde-elf-gcc hello.c

/auto
/CodeSourcery/Sourcery_G++_Lite_4_3-81_MIPS_ELF/bin/../lib/gcc/mips-sde-
elf/4.3.2/../../../../mips-sde-elf/bin/ld: warning: cannot find entry
symbol __start; defaulting to 00000000004000b0

/tmp/cc9ULxDl.o: In function `main':

hello.c:(.text+0x20): undefined reference to `puts'

collect2: ld returned 1 exit status

 

can you tell me wha ti am missing?

 

Thank you.