yocto build error for imx6ul-linux-pos devkit

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

yocto build error for imx6ul-linux-pos devkit

1,294 次查看
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

标签 (1)
0 项奖励
回复
2 回复数

1,203 次查看
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 项奖励
回复

1,203 次查看
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 项奖励
回复