Community
cancel
Showing results for 
Search instead for 
Did you mean: 
John_D_Intel
Employee
1,010 Views

how do you include in a ISSM Gold Zehpyr project ?

Zephyr has error with

../src/phil_fiber.c:20:18: fatal error: math.h: No such file or directory

compilation terminated.

make[3]: *** [../src/phil_fiber.o] Error 1

make[2]: *** [../src] Error 2

make[2]: Leaving directory `/c/IntelSWTools/ISSM_2016.1.067/workspace/Phil_Micro/outdir'

make[1]: *** [sub-make] Error 2

make[1]: Leaving directory `/c/IntelSWTools/ISSM_2016.1.067/workspace/Phil_Micro/zephyr'

make: *** [all] Error 2

Thanks

0 Kudos
3 Replies
idata
Community Manager
70 Views

Hi JD_Intel,

Thank you so much for contacting us, let us investigate a little more and I'll let you know when we have updates.

Have a nice day.

Regards,

-Leonardo

Michelle_C_Intel
Employee
70 Views

Hi JD ,

I'm not sure why it is not picking it up from MinGW

Can you try adding the the location of the math.h to the src/Makefile - see below - for me it is c:/MinGW/include. This worked ok for me but I'm still looking into why it is not picking it up automatically.

ccflags-y +=-Ic:/MinGW/include

-- Michelle.

John_D_Intel
Employee
70 Views

Thanks Michelle,

I didn't try that, but I will. What worked for me was these mods to my proj.conf: seems it defaults to the "minimal" C standard Lib.

CONFIG_MINIMAL_LIBC=n

CONFIG_NEWLIB_LIBC=y

Best Regards,

John

Reply