Hello, I want to use headers such as stdio.h, math.h ... and so on.
However, whenever i use headers, errors occured.
example errors using math.h - sin fuction :
Link failed.
mingw32-make. *** [project.elf] Error 1
undefined: '_d_dtof' Referenced from 'main' in main_c.obj
undefined: 'sin' Referenced from 'main' in main_c.obj
What should i do??
Solved! Go to Solution.
Hello Gregory,
The problem with the undefined routines might be caused by missing EWL/Runtime libraries.
Can you please check if your project properties includes libc* and librt*? (Project Properties -> C/C++ Build -> Settings -> PowerPC Linker/ Input -> Library Files):
You should see two e.g.
.../libc_E200z750_VLE.a
.../librt_E200z750_VLE.a
Stan
Hello Gregory,
The problem with the undefined routines might be caused by missing EWL/Runtime libraries.
Can you please check if your project properties includes libc* and librt*? (Project Properties -> C/C++ Build -> Settings -> PowerPC Linker/ Input -> Library Files):
You should see two e.g.
.../libc_E200z750_VLE.a
.../librt_E200z750_VLE.a
Stan
Hello,
Thank you for your post, however please consider moving it to the right community place (e.g. CodeWarrior Development Tools ) to get it visible for active members.
For details please see general advice Where to post a Discussion?
Thank you for using Freescale Community.