Linker error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Linker error

3,102 次查看
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
标签 (1)
标记 (1)
0 项奖励
回复
3 回复数

1,293 次查看
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 项奖励
回复

1,293 次查看
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 项奖励
回复

1,293 次查看
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 项奖励
回复