Arm Community
Site
Search
User
Site
Search
User
Groups
Arm Research
DesignStart
Education Hub
Graphics and Gaming
High Performance Computing
Innovation
Multimedia
Open Source Software and Platforms
Physical
Processors
Security
System
Software Tools
TrustZone for Armv8-M
中文社区
Blog
Announcements
Artificial Intelligence
Automotive
Healthcare
HPC
Infrastructure
Innovation
Internet of Things
Machine Learning
Mobile
Smart Homes
Wearables
Forums
All developer forums
IP Product forums
Tool & Software forums
Support
Open a support case
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Developer Community
Tools and Software
Software Tools
Jump...
Cancel
Software Tools
Arm Development Studio forum
armlink Error: L6218E: Undefined symbol...
Tools, Software and IDEs blog
Forums
Videos & Files
Help
Jump...
Cancel
New
Replies
7 replies
Subscribers
126 subscribers
Views
5910 views
Users
0 members are here
Related
armlink Error: L6218E: Undefined symbol...
Offline
Abhash Das
over 7 years ago
Parents
Offline
Peter Harris
over 7 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
Up
0
Down
Reply
Cancel
Reply
Offline
Peter Harris
over 7 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
Up
0
Down
Reply
Cancel
Children
No data
More questions in this forum
By title
By date
By reply count
By view count
By most asked
By votes
By quality
Descending
Ascending
All recent questions
Unread questions
Questions you've participated in
Questions you've asked
Unanswered questions
Answered questions
Questions with suggested answers
Questions with no replies
Answered
How to view SFRs in DS during debugging?
+1
2880
views
1
reply
Latest
3 months ago
by
Ronan Synnott
Answered
Dual-core debugging in DS
0
5734
views
2
replies
Latest
3 months ago
by
Ivan Savvateev
Answered
DS52020.0 connection to Musca-A/B boards not working
+1
Arm Development Studio
Musca-A
7531
views
4
replies
Latest
3 months ago
by
Daniel Oliveira
Answered
Positioning a function in a Position Independent Executable for ARMV8
+1
8287
views
3
replies
Latest
4 months ago
by
Stephen Theobald
Answered
Link a pure binary file to image with scatter file
0
8248
views
3
replies
Latest
4 months ago
by
Ronan Synnott
<
>
View all questions in Arm Development Studio forum