本文介绍了yocto无法在Ubuntu 17.10(64位)中为Intel Edison构建映像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是yocto的初学者.我正在尝试在Ubuntu 17.10上构建爱迪生图像.

I am beginner to yocto. I am trying to build edison images on ubuntu 17.10.

我正在跟踪链接.

但是它在本地autmake中失败.

But It fails in native autmake.

我已在此处链接提示错误.

我已经进行了更改,以消除自动制作错误,随后是补丁.现在,它在本地ncurses-5.9中失败了.日志文件已附加 Log_file .

I have made changes for removing automake error, followed by patch.Now it's failed in native ncurses-5.9. Log file is attached Log_file.

谢谢

Pritam

推荐答案

在命令行中自动生成的生成人文档有些错误:

Something wrong with generation man docs for automake in the command line:

: && /bin/mkdir -p doc && { PATH='/home/prityaa/documents/boards/intel/edison/tools/yocto/iot-devkit-yp-poky-edison-20160606/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/x86_64-linux/automake-native/1.14.1-r0/build/t/wrap':$PATH && export PATH; } && /usr/bin/perl /home/prityaa/documents/boards/intel/edison/tools/yocto/iot-devkit-yp-poky-edison-20160606/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/x86_64-linux/automake-native/1.14.1-r0/automake-1.14.1/doc/help2man --output=doc/automake-1.14.1 automake-1.14

真正的错误不是打印出来的,而是被截断为:

The real error is not printed but just truncated to:

help2man: can't get `--help' info from automake-1.14

您可以按照以下建议进行操作:

You can follow advice to:

Try `--no-discard-stderr' if option outputs to stderr

但我不认为您真的想生成太多自动制作文档:)

but I don't think you really want generate automake docs so much :)

因此,我建议通过创建伪造的输出文档来解决该问题,以取悦其效果.在您的计算机上运行:

So, I suggest just workaround it with creating fake output docs to please the make. Run on your machine :

$ touch /home/prityaa/documents/boards/intel/edison/tools/yocto/iot-devkit-yp-poky-edison-20160606/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/x86_64-linux/automake-native/1.14.1-r0/automake-1.14.1/doc/automake-1.14.1
$ touch /home/prityaa/documents/boards/intel/edison/tools/yocto/iot-devkit-yp-poky-edison-20160606/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/x86_64-linux/automake-native/1.14.1-r0/automake-1.14.1/doc/aclocal-1.14.1

这应禁用help2man调用以进行自动制作.是的,这有点丑陋,最好解决实际问题,但足以继续进行并建立映像.

This should disable help2man invoking for automake building. Yes, it's a bit ugly and it'd better to fix real issue but enough to keep going and build image.

这篇关于yocto无法在Ubuntu 17.10(64位)中为Intel Edison构建映像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-16 00:43