yocto build error for imx6ul-linux-pos devkit

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

yocto build error for imx6ul-linux-pos devkit

1,293件の閲覧回数
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,202件の閲覧回数
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,202件の閲覧回数
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 件の賞賛
返信