Compilation error on codewarrior without MQX for K40

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Compilation error on codewarrior without MQX for K40

Jump to solution
1,497 Views
yasararafath
Contributor II

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

Tags (4)
0 Kudos
Reply
1 Solution
1,044 Views
c0170
Senior Contributor III

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

View solution in original post

0 Kudos
Reply
3 Replies
1,044 Views
yasararafath
Contributor II

I have rectified it

0 Kudos
Reply
1,044 Views
c0170
Senior Contributor III

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

0 Kudos
Reply
1,045 Views
c0170
Senior Contributor III

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

0 Kudos
Reply