For the number, its 1e4f, not 1ef4. Anyway, use 10000.0f, for me that's more readable than the scientific e notation.
About the linking error, the actual problem is that your project is linking against the wrong ansi???.lib file.
Change your existing project to link the correct one, for example by deleting the wrong one out of your existing project and drag and drop the one from the dummy project.
Daniel
BTW for HCS08, Small memory model, IEEE32, link against ansifs.lib.