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
Aduc702x.s Compiling error
Tools, Software and IDEs blog
Forums
Videos & Files
Help
Jump...
Cancel
New
Replies
3 replies
Subscribers
126 subscribers
Views
1904 views
Users
0 members are here
Related
Aduc702x.s Compiling error
Offline
Nicky Peh
over 7 years ago
Note: This was originally posted on 14th March 2011 at http://forums.arm.com
: Error: L6218E: Undefined symbol DAbt_Handler (referred from aduc702x.o)
Can somebody help with this kind of error? How to resolve it? The thing is i didnt call "aduc702x.o" extension file. Does it relate to somewhere else?
PS: There is no error upon the compilation of my coding.
Offline
Nicky Peh
over 7 years ago
Note: This was originally posted on 15th March 2011 at
http://forums.arm.com
Thanks for the information.
Regarding to the sources. This Dabt_Handler is coming from the initializations from the aduc702x.s
Here is the codes inside the aduc702x.s :
EXTERN Undef_Handler
EXTERN SWI_Handler
EXTERN PAbt_Handler
EXTERN DAbt_Handler
Then the error after compiling error is this:
Error: L6218E: Undefined symbol DAbt_Handler (referred from aduc702x.o).
: Error: L6218E: Undefined symbol PAbt_Handler (referred from aduc702x.o).
Error: L6218E: Undefined symbol SWI_Handler (referred from aduc702x.o).
Error: L6218E: Undefined symbol Undef_Handler (referred from aduc702x.o).
The header and the .c files of mine are all free of error which means theoretically i can compile the program but due to this i dont really know what is happenning. The aduc702x.s is generated when a new project is created and based on the target device it will configure a initialization file. Hence the Dabt_Handler is an exception of vector inside the coding explained from the comments.
Don't really know the meaning of the vectors? Can please help to elaborate or just to explain what is the use of Dabt_Handler in the initialization coding?
Thanks a lot for sharing. Looking forward to get the reply.
Cancel
Up
0
Down
Reply
Cancel
Offline
Martin Weidmann
over 7 years ago
Note: This was originally posted on 14th March 2011 at
http://forums.arm.com
aduc702x.o is an object file, most likely generated from aduc702x.c or aduc702x.s. If this is one of your source files then it is being passed directly to the linker. If not, then it comes from one of the libraries your project is using. (A library is basically just a packaged bundle of .o files).
This object is referencing a label called "DAbt_Handler", which none of the objects or libraries in your project define.
So the first step is to work out where aduc702x.o comes from. Is it one of your sources or from a library. If a library, then check with however provided the library.
Cancel
Up
0
Down
Reply
Cancel
Offline
Peter Harris
over 7 years ago
Note: This was originally posted on 21st March 2011 at
http://forums.arm.com
These are linker errors.
You have a set of labels which point to exception handling routines - so they will typically be functions - which the linker cannot find when linking your program. I'd guess that [color=#222222][font=Arial, Verdana, Tahoma, sans-serif]aduc702x.s defines the vector table, and calls external functions which implement each of the exception handlers. Y[/font][/color][size=2][color=#222222][font=Arial, Verdana, Tahoma, sans-serif]ou should have a set of functions defined somewhere with the name of each of the labels (e.g., [/font][/color][color=#222222][font=Arial, Verdana, Tahoma, sans-serif]Undef_Handler); these need to be compiled and passed in as one of the objects when linking aduc702x.o.[/font][/color][/size]
[size=2][color=#222222][font=Arial, Verdana, Tahoma, sans-serif]
[/font][/color][/size]
[size=2][color=#222222][font=Arial, Verdana, Tahoma, sans-serif]Iso[/font][/color][/size]
Cancel
Up
0
Down
Reply
Cancel
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
Failed to read contents of Internal RAM L1-I_DATA in ARM DS
0
Arm Development Studio
Cache
Debug and Trace Services Layer (DTSL)
13457
views
23
replies
Latest
4 months ago
by
Boon Khai
Answered
DS-5 connect fail when cortex-r5 is in lock-step mode
+1
11225
views
10
replies
Latest
5 months ago
by
Stuart Hirons
Answered
On Cortex-M4F microcontrollers: is fixed point math faster or floating point?
+1
10775
views
10
replies
Latest
5 months ago
by
Ronan Synnott
Answered
Debugging kernel: OS support not working for Linux 5.4
+1
Kernel Developers
External Hardware Debug
Debugger
9649
views
5
replies
Latest
5 months ago
by
sgoldschmidt
Answered
DS-5 bare metal wait error after run "debug"
+1
DS-5 Development Studio
Debugging
Arm Compiler 5
Memory
32544
views
14
replies
Latest
5 months ago
by
prasadghole
<
>
View all questions in Arm Development Studio forum