Keil Logo

CARM: UNRESOLVED EXTERNAL SYMBOL ?C?INIT


Information in this article applies to:

  • CARM All Versions

QUESTION

I have a problem with the Keil CARM Compiler. During the build process I get the following error message:

linking...
*** WARNING L23: UNRESOLVED EXTERNAL SYMBOLS
*** ERROR L128: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  ?C?INIT
    ADDRESS: 00000124H

What can be the reason for this error?

ANSWER

The ?C?INIT symbol is used by the STARTUP.S startup file. It is generated by the CARM Compiler when you create a main function. ?C?INIT contains the memory clear function and variable initialization code. You need just to add an C main function to your application, for example:

void main (void)  {
  ;
}

MORE INFORMATION

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Friday, July 15, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  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.