I am trying to compile an application without MQX and using newlib.
I have a assembly routine which is begin.s which does a ROM to RAM and initializes hardware and jumps to _start.
Library option are -lc - lm -lgcc -lrdimon.
But I am getting errors like undefined reference to '_start'
Anyone reply me as soon as possible
Solved! Go to Solution.
Hello Yasar Arafath,
have you proceeded with errors?
firstly, this post has no connection to the MQX, doesn't have? Second, you did not share any code, therefore let me guess. Undefined reference means definition of the symbol _start is not present in your files, linker does not see it. I would check linker and compiler paths.
This is C language oriented question than MQX :smileyhappy:
Regards,
MartinK
I have rectified it
Hello Yasar Arafath,
can you share with the community how did you rectify it ? Share more details, if anybody cope with the same problem, they'll find a solution here :smileywink:
Regards,
0xc0170
Hello Yasar Arafath,
have you proceeded with errors?
firstly, this post has no connection to the MQX, doesn't have? Second, you did not share any code, therefore let me guess. Undefined reference means definition of the symbol _start is not present in your files, linker does not see it. I would check linker and compiler paths.
This is C language oriented question than MQX :smileyhappy:
Regards,
MartinK