Linker error

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

Linker error

2,245 Views
affi
Contributor I
Hi,
 
I am using Code Warrior IDE for Coldfire 5329. Where can one  get all the descriptions of Linker error? I had one Link error stating "move current location backward". I want to know what excatly it means.
 
Thanks,
affi
Labels (1)
0 Kudos
3 Replies

436 Views
Charlie
Contributor III

I know this is old, but I see no resolution and I was having this problem so I figured I would throw my solution into it.

In the linker file, I was using

. = ALIGN(2)

but I really wanted to use ALIGNALL but I mistakenly put in

.= ALIGNALL(2)

when it should be just

ALIGNALL(2)

That made the error go away.

0 Kudos

436 Views
CrasyCat
Specialist III

Hello

Please submit a service request through the web interface at following URL:

http://www.freescale.com/webapp/sps/site/homepage.jsp?nodeId=054670

Attach a project reproducing the trouble to the request.

CrasyCat

0 Kudos

436 Views
Freebooter
Contributor I

Was there any resolution to this issue? We have seen this issue in our project on a particular workstation. A build on other workstations (same project files) does not yield this error. The "Errors & Warnings" window indicates a link error with the

message "Linker Error : Linker command file error at line 228 "move current location backward". The specified line number 

is the last line of the LCF. We have attempted to close CW and delete the CW data directories - error still appears.

0 Kudos