AnsweredAssumed Answered

yocto build error for imx6ul-linux-pos devkit

Question asked by Asma Alekar on Jul 2, 2019
Latest reply on Jul 8, 2019 by Asma Alekar

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,