codesourcery problem: warning: cannot find entry symbol __start
Mark Charon (mcharon)
mcharon at cisco.com
Sat Nov 13 00:59:16 UTC 2010
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/mips-gnu-discuss/attachments/20101112/918650fa/attachment.html>
More information about the mips-gnu-discuss
mailing list