Difference Between *.o and *.asm.o

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

Difference Between *.o and *.asm.o

Jump to solution
2,001 Views
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?
 
Labels (1)
Tags (1)
0 Kudos
1 Solution
424 Views
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

View solution in original post

0 Kudos
1 Reply
425 Views
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 Kudos