Command Line toolset: Link time error

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

Command Line toolset: Link time error

1,623件の閲覧回数
syakovlev
Contributor I
Command line tools from CodeWarrior 6.3 are used in sequence:
1. mwccmcf
2. mwasmmcf
3. mwldmcf
to build a project.
Here is one of many (>100) identical errors reported by linker:
#   Check linker command file to make sure symbol is located
#   between 0x00000000-0x00007FFF or 0xFFFF8000-0xFFFFFFFF in memory.
### CodeWarrior6.3/E68K_Tools/Command_Line_Tools/mwldmcf Linker Error:
#   Illegal 16-bit absolute address reference to symbol '_LengthInProgress'
#   from address 0x0000ED0C in section '.text' of file 'file.o '.
 
What might be the reason?
Thanks.
Sergei.
 
 
ラベル(1)
0 件の賞賛
返信
1 返信

889件の閲覧回数
syakovlev
Contributor I
I got it.
 
-model option was missing in CFLAGS (makefile), therefore default model was
nearCode and nearData.
Problem gone after switch "-model far" has been added to CFLAGS.
I didn't expect near to be default for 32-bit MCU.
0 件の賞賛
返信