Linker Error message using Coldfire 52233Demo Board with CW for Coldfire 7.0

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

Linker Error message using Coldfire 52233Demo Board with CW for Coldfire 7.0

1,355 Views
wingwalker
Contributor II
I have started using CW7.0 for Coldfire with the Coldfire_Light_CW6.4 project from Eric Gregori. I added a new task just toggling one LED. And as that worked I added extra code to read a digital temperature sensor (from Sensirion) and that task needs floating point math. But then I got an error message :
Link Error, Undefined : "_f_mul"
Referenced from " calc_temp" in TempHumi.c
That looks as if there was some *.h files missing!?
I converted that float program from a HC08 project where it worked without problems! So the math itself is o.k.
Any help out there?
Regards
Richard
PS: I created a new project just multiplying two float numbers and that worked. Is it a problem as I had to convert the ColdFire_Light_CW6.4 -> CW 7.0


Labels (1)
0 Kudos
2 Replies

353 Views
wingwalker
Contributor II
For all that should face similar problems!

After trying and reading and playing around for three days I noticed that in a new built target there were some library files and so I added them to the ColdFire_Lite_CW6.4 project and then I could link the project without any problem!
The files I added are :
C_4i_CF_Runtime.a
fp_coldfire.a
C_4i_CF_SZ_MSL.a
C_4i_CF_FPU_MSL.a
C_4i_CF_FPU_Runtime.a
I am not sure if the last two files are necesary.
But it is now working!
Richard
0 Kudos

353 Views
mjbcswitzerland
Specialist V
Richard

You may find something here:
http://www.utasker.com/forum/index.php?topic=92.0

Regards

Mark




Message Edited by mjbcswitzerland on 2008-05-02 12:15 AM
0 Kudos