[mips-gnu-discuss] codesourcery problem: warning: cannot find entry symbol __start
Tim michals
tcmichals at yahoo.com
Sun Nov 14 15:59:59 UTC 2010
Which linker file are you using? The issue is the startup code is trying to call
__start but one is not provided... if you can please add your make file with
your linker file..
________________________________
From: Mark Charon (mcharon) <mcharon at cisco.com>
To: mips-gnu-discuss at codesourcery.com
Sent: Fri, November 12, 2010 6:59:16 PM
Subject: [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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/mips-gnu-discuss/attachments/20101114/47f85c61/attachment.html>
More information about the mips-gnu-discuss
mailing list