Re: newlib and sscanf

Kumar Gala

On Aug 28, 2019, at 12:04 PM, Andrew Holt <andrewtholt60@...> wrote:

I have a program that uses sscanf (amongst others) and I'm trying to build it for Zephyr.

I have added :


to the project config. When I build it I get

In file included from ../include/zephyr/types.h:10:0,
from ../include/kernel_includes.h:17,
from ../include/kernel.h:17,
from ../kernel/include/kernel_structs.h:10,
from /home/andrewh/Source/zephyrproject/zephyr/arch/x86/core/offsets/offsets.c:29:
../lib/libc/newlib/include/stdint.h:15:10: fatal error: newlib.h: No such file or directory
#include <newlib.h>
compilation terminated.
ninja: build stopped: subcommand failed.

I have search for the header file but can't find it.

What do I need to do ?
What target are you building for? Which toolchain are you using?

- k

Join to automatically receive all group messages.