Hi All,
I am following Linux POS user guide to build yocto recipe for POS TOWER. I am getting following error
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at /home/asma/imx-pos/lpos-r3.0-b16/build/build-imx6ul-iwg18m-twr-pos/tmp/work/x86_64-linux/pkgconfig-native/0.28+gitAUTOINC+40342dd0ea-r0/temp/log.do_compile.2770)
ERROR: Logfile of failure stored in: /home/asma/imx-pos/lpos-r3.0-b16/build/build-imx6ul-iwg18m-twr-pos/tmp/work/x86_64-linux/pkgconfig-native/0.28+gitAUTOINC+40342dd0ea-r0/temp/log.do_compile.2770
Digging more I found this as source of error:
error: format not a string literal, format string not checked [-Werror=format-nonliteral]
tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm);
please find attached log file. I am using Ubuntu 16.04 gcc 6.5. Anyhelp would be really appreciated.
Thanks & Regards,
Asma
please use the toolchain for arm.
you can follow the section 4.4. in User's Guide to build the toolchain.
Thank you. But it was not the toolchain problem. I have already followed the guide.
It was gcc problem which put more restriction downgrading GCC to 5 solved the problem.