Difference Between *.o and *.asm.o

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

Difference Between *.o and *.asm.o

ソリューションへジャンプ
2,185件の閲覧回数
dvona
Contributor II
Greetings,
 
I am trying to link a project in Code Warrior for the HCS08QG8 and receiving an error from the linker that I don't understand (and the help is not much help).  THe error is L1818 duplicated symbol.
 
The part I don't understand is that starting from init.asm it generates this message saying that the duplicate occurs in init.o and init.asm.o.  What are these two file types and why would it be generating them in such a way as to cause a duplicate error with the linker?
 
ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
608件の閲覧回数
CrasyCat
Specialist III

Hello

The message L1818 is generated when the same symbol is define several times in the application.

According to the message you specify I suspect you have added a file init.asm and init.o to your project. And probably the file init.o is an object file you have created previously containing code for init.asm.

I would recommend you to remove the file init.o from the project and re-link the application.

Also make sure the file init.o is not specified in your application .prm file.

If this does not help, please submit a service request through our web page and attach your project to the SR to get assistance from one of our support engineer. 

CrasyCat

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
609件の閲覧回数
CrasyCat
Specialist III

Hello

The message L1818 is generated when the same symbol is define several times in the application.

According to the message you specify I suspect you have added a file init.asm and init.o to your project. And probably the file init.o is an object file you have created previously containing code for init.asm.

I would recommend you to remove the file init.o from the project and re-link the application.

Also make sure the file init.o is not specified in your application .prm file.

If this does not help, please submit a service request through our web page and attach your project to the SR to get assistance from one of our support engineer. 

CrasyCat

0 件の賞賛
返信