On Tue, Jan 12, 2021 at 6:19 PM Yerabolu, Spoorthy Priya via Gcc-help <gcc-help@xxxxxxxxxxx> wrote: > > Flags tried > --entry main > -Werror=implicit-function-declaration > --sysroot=/home/zephyr-sdk-0.11.3/x86_64-zephyr-elf/x86_64-zephyr-elf/lib > -isysroot=/home /zephyr-sdk-0.11.3/x86_64-zephyr-elf/x86_64-zephyr-elf/include > -iquote/home/zephyr-sdk-0.11.3/x86_64-zephyr-elf/x86_64-zephyr-elf/include > -L/home/zephyr-sdk-0.11.3/x86_64-zephyr-elf/x86_64-zephyr-elf/lib > -isystem/home/zephyr-sdk-0.11.3/x86_64-zephyr-elf/x86_64-zephyr-elf/include The sysroot path should not include "/lib".