This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

GNU Linking problem

I am using the Real view 3.2.a version and i have installed the GCCARM and followed the procedure.
I am using LPC2148 processor and while building target i am seeing the following error

linking...
startup.o(.text+0x12c):/cygdrive/c/Documents and Settings/All Users/Desktop/LPC2103/gnu/PortLCD2148/Startup.s:400: undefined reference to '_start'
collect2: ld returned 1 exit status
Target not created

What should i edit in the linker tab and in the linker.ld file?

Parents
  • I think you need to modify your linker script and probably add an ENTRY command in it. Search the GNU LD webpage for the syntax of this ENTRY command. In the ENTRY command provide the function name which you want to be called during reset.

Reply
  • I think you need to modify your linker script and probably add an ENTRY command in it. Search the GNU LD webpage for the syntax of this ENTRY command. In the ENTRY command provide the function name which you want to be called during reset.

Children
No data