Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
armlink Error: L6218E: Undefined symbol...
Jump...
Cancel
Locked
Locked
Replies
7 replies
Subscribers
118 subscribers
Views
9348 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
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
armlink Error: L6218E: Undefined symbol...
Abhash Das
over 12 years ago
Parents
Peter Harris
over 12 years ago
Note: This was originally posted on 6th July 2009 at
http://forums.arm.com
> But as per project requirement those definition section should not used in this particular part of code.
As far as the tools are concerned they *are* used, and you are telling the tools that they are exported (if the symbol of the function is not marked as static). So the tools cannot optimize this function out.
> It would be a great help if some body provide the actual switch to eliminate the above
I'm not sure there is a "magic" switch to make this error go away - it's a fatal error, and what you are trying to achieve isn't really how a typical compiler and linker is designed to work...
Cancel
Vote up
0
Vote down
Cancel
Reply
Peter Harris
over 12 years ago
Note: This was originally posted on 6th July 2009 at
http://forums.arm.com
> But as per project requirement those definition section should not used in this particular part of code.
As far as the tools are concerned they *are* used, and you are telling the tools that they are exported (if the symbol of the function is not marked as static). So the tools cannot optimize this function out.
> It would be a great help if some body provide the actual switch to eliminate the above
I'm not sure there is a "magic" switch to make this error go away - it's a fatal error, and what you are trying to achieve isn't really how a typical compiler and linker is designed to work...
Cancel
Vote up
0
Vote down
Cancel
Children
No data