Undefined: _d_mul

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

Undefined: _d_mul

1,542 次查看
xuuurraa
Contributor II

Hi, I have a problem, because when I try to put a multiplication or other arithmetich function in my algorithm, and when I built it is shown an error.

C:/Freescale/CW MCU v10.5/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
>Undefined : "_d_fgt"
>Referenced from "tHard_MesuraCapacitat" in
C:/Freescale/CW MCU v10.5/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
>Undefined : "_d_mul"
>Referenced from "tHard_MesuraCapacitat" in
C:/Freescale/CW MCU v10.5/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
>Undefined : "_d_utod"
>Referenced from "tHard_MesuraCapacitat" in
C:/Freescale/CW MCU v10.5/MCU/ColdFire_Tools/Command_Line_Tools/mwldmcf|Linker|Error
>Link failed.

I'm using a CodeWarrior for MCU 10.5.

3 回复数

1,307 次查看
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Xuuu,

Could you tell us which MCU are you using? Those seem to be floating point routines, make sure that Floing point was selected in the wizard when creating the project.

Thanks in advance!

Best Regards,
Carlos Mendoza
Technical Support Engineer

1,307 次查看
xuuurraa
Contributor II

My MCU is MCF52258, I guess the same as you, the problem is floating points, can I changed after be created the project?

1,307 次查看
xuuurraa
Contributor II

Finally I can fixed changing in configurations this selection.

pastedImage_1.png

from software to hardware.