To help you find solutions to problems that have already been solved, we have posted this message. It contains an entire topic ported from a separate forum. The original message and all replies are in this single message.
Posted: Jul 26, 2004 - 06:06 AM
I am working with CodeWarrior Development Studio for HC(S)08 Microcontrollers v3.0 special edition free license.
When I do a float multiplication seems there are undefined symbols in ansi.lib and I'll receive these messages :
'LINKER ERROR 1822: symbol _DUFLOAT ...' 'LINKER ERROR 1822: symbol _DMUL_RC ...' 'LINKER ERROR 1822: symbol _DSTRUNC ...'
/*this sentence provokes the error linker */ dummy=(unsigned int)((rad.volum*0.1)*0x7fff);
rad.volum is a unsigned char type
How can I solve this problem?.
thanks in advanced.
Posted: Jul 27, 2004 - 04:37 AM
It looks like the ANSI library is not part of your project. I would need to get access to the whole project to investigate that forward.
Posted: Jul 27, 2004 - 05:41 AM
I don't discover how attach a file (my CW project) yet in this environment. Anyway if you use a wizard to make a new project choose MC68HC908SR12 chip and the followings settings as defaults, substitute the main code for this one: