Compilation error on codewarrior without MQX for K40

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Compilation error on codewarrior without MQX for K40

ソリューションへジャンプ
1,498件の閲覧回数
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

タグ(4)
0 件の賞賛
返信
1 解決策
1,045件の閲覧回数
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 件の賞賛
返信
3 返答(返信)
1,045件の閲覧回数
yasararafath
Contributor II

I have rectified it

0 件の賞賛
返信
1,045件の閲覧回数
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 件の賞賛
返信
1,046件の閲覧回数
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 件の賞賛
返信