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

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



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@xxxxxxxxx>
To: mips-gnu-discuss@xxxxxxxxxxxxxxxx
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.