Linker error

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

Linker error

3,101件の閲覧回数
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,292件の閲覧回数
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,292件の閲覧回数
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,292件の閲覧回数
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 件の賞賛
返信