yocto build error for imx6ul-linux-pos devkit

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

yocto build error for imx6ul-linux-pos devkit

612 Views
asmaa
Contributor V

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

Labels (1)
0 Kudos
2 Replies

521 Views
jimmychan
NXP TechSupport
NXP TechSupport

please use the toolchain for arm.

you can follow the section 4.4. in User's Guide to build the toolchain.

0 Kudos

521 Views
asmaa
Contributor V

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.

0 Kudos