Keil Logo

TARGET NOT CREATED

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Author
Abhijit Kumar Gupta
Posted
3-Jan-2019 19:57 GMT
Toolset
ARM
New! TARGET NOT CREATED

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

Author
Sankalp Agarwal
Posted
4-Jan-2019 08:35 GMT
Toolset
ARM
New! RE: TARGET NOT CREATED

Does your code actually has "main" ?

http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka4116.html

Author
Abhijit Kumar Gupta
Posted
4-Jan-2019 10:45 GMT
Toolset
ARM
New! RE: TARGET NOT CREATED

Its the assembly code....there is already a ENTRY and END in the code

Author
Andrew Neil
Posted
4-Jan-2019 14:20 GMT
Toolset
None
New! RE: there is already a ENTRY and END in the code

But that's not what the Linker is complaining about - is it?

Author
Andrew Neil
Posted
4-Jan-2019 14:19 GMT
Toolset
None
New! RE: Undefined symbol

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!

Author
Abraham Lincoln
Posted
11-Feb-2019 07:05 GMT
Toolset
ARM
New! RE: TARGET NOT CREATED

Hotmail has been one of the most used email portals for a while now. If you just get started to Hotmail, click Hotmail login to create new account.
http://hotmailwiki.com/hotmail-login

Next Thread | Thread List | Previous Thread Start a Thread | Settings

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.