AnsweredAssumed Answered

linker problem when compilin the code

Question asked by Yaprak Ayazoglu on Mar 23, 2009
Latest reply on Mar 23, 2009 by CrasyCat

Hi,

 

I'm trying to write a code of interrupt routines. I found an example project of "dashboard"of freescale. (the location of the file is

 

C:\Program Files\Freescale\CodeWarrior for HCS12 V4.7\(CodeWarrior_Examples)\HCS12X\S12X_Automotive_Cluster_Demo\dashboard.mcp

 

I'm trying to modify this project. However, after I make some modifications I started to encounter some problems. It gives a linker error:

 

the definition of this error is given below:

 

[error]

 

L1823: External object SwLEDData in C:\Users\ayyazilim\Documents\work\p23_03\p23_03_Data\Full_Chip_Simulation\ObjectCode\CPU12ISRs.c.o
created by default

Project: p23_03.mcp, Target: Full Chip Simulation

L1823: External object tickCounter in C:\Users\ayyazilim\Documents\work\p23_03\p23_03_Data\Full_Chip_Simulation\ObjectCode\CPU12ISRs.c.o
created by default

Project: p23_03.mcp, Target: Full Chip Simulation

Link Error   : L1119: Vector allocated at absolute address 0xFFFE overlaps with sections placed in segment .absSeg647

Project: p23_03.mcp, Target: Full Chip Simulation

Link Error   : Link failed
Project: p23_03.mcp, Target: Full Chip Simulation

 [/error]

 

I attached the project also. Can any one tell me the reason for this, please?

 

p23_03.zip

Message Edited by t.dowe on 2009-10-22 09:15 AM

Outcomes