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

Error: L6218E: Undefined symbol main

Can anyone please tell me what this error means and how to fix it ?

Build started: Project: LCD3.2
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Arm\Keil Suite\ARM\ARMCC\Bin'
Build target 'Target 1'
linking...
.\Objects\LCD3.2: 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\LCD3.2" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:00

Parents
  • Looked at the history of questions relating to this error and did not see any solutions. This is certainly grinding everything to a halt. If anyone can help here, I sure do appreciate it as I can't go anywhere until I get this figured out. I take it is some sort of problem with the linker. Obviously this lcd4bit.o was or should have been created at some point during compilation.

Reply
  • Looked at the history of questions relating to this error and did not see any solutions. This is certainly grinding everything to a halt. If anyone can help here, I sure do appreciate it as I can't go anywhere until I get this figured out. I take it is some sort of problem with the linker. Obviously this lcd4bit.o was or should have been created at some point during compilation.

Children