DP256 & Codewarrior 3.1 (I think)

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

DP256 & Codewarrior 3.1 (I think)

Jump to solution
2,733 Views
TimFlynn
Contributor I
I am getting a linker errors :
Link Error : L1907: Fixup overflow in _LMODS, to _NEG_P type 3, at offset 0xB
Link Error : L1907: Fixup overflow in _LMODS, to _NEG_P type 3, at offset 0x13
Link Error : L1907: Fixup overflow in _LMODS, to _NEG_P type 3, at offset 0x1A
Link Error : Link failed

What causes this? How do I deal with it?
I'm changing a pointer to function in a structure.
Labels (1)
Tags (1)
0 Kudos
1 Solution
757 Views
CrasyCat
Specialist III
I assume you are building in banked memory model. Am I right?
 
Make sure you place the predefined section NON_BANKED in non banked memory in your PRM file.
 
Basically if you create a new project with the wizard and specify you want to use banked memory model, the PRM file will be adjusted appropriately from the beginning.
 
 
 
 

View solution in original post

0 Kudos
1 Reply
758 Views
CrasyCat
Specialist III
I assume you are building in banked memory model. Am I right?
 
Make sure you place the predefined section NON_BANKED in non banked memory in your PRM file.
 
Basically if you create a new project with the wizard and specify you want to use banked memory model, the PRM file will be adjusted appropriately from the beginning.
 
 
 
 
0 Kudos