This is the error message: *** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' Build target 'Target 1' linking... .\Objects\pro.axf: Error: L6218E: Undefined symbol main (referred from __rtentry2.o). Not enough information to list image symbols. Not enough information to list load addresses in the image map. Finished: 2 information, 0 warning and 1 error messages. ".\Objects\pro.axf" - 1 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:00
and here is the code: AREA PROGRAM,CODE,READONLY ENTRY LDR r4,=a; LDR r0,[r4]; B1 B B1 a DCD 0x45 END
Does your code actually has "main" ?
infocenter.arm.com/.../index.jsp
Its the assembly code....there is already a ENTRY and END in the code
The reason the Target is not created is, clearly, because of the error:
Error: L6218E: Undefined symbol main (referred from __rtentry2.o).
So you have 2 choices:
1. Define the symbol, "main";
2. Do not try to use the symbol - because you do not have it!
But that's not what the Linker is complaining about - is it?