Compile error, in function '__start'
Pablo Cusnir
pabloc at ceragon.com
Wed Jun 23 08:59:22 UTC 2010
Hello,
I'm trying to compile a provided boot.s code I got from MIPS and I'm getting the following error during compilation
> mips-linux-gnu-gcc -Wall -mips32r2 -EB -mgp32 -o boot.o boot.s
/home/p/CodeSourcery/Sourcery_G++_Lite/bin/../mips-linux-gnu/libc/usr/lib/crt1.o: In function `__start':
(.text+0xc): undefined reference to `main'
/home/p/CodeSourcery/Sourcery_G++_Lite/bin/../mips-linux-gnu/libc/usr/lib/crt1.o: In function `__start':
(.text+0x10): undefined reference to `main'
collect2: ld returned 1 exit status
Any idea how to approach this?
Thanks in advance,
P
More information about the mips-gnu-discuss
mailing list