• 已解决 34899 个问题
  • 已帮助 5837 位优秀工程师

Intel Edison 编译image报错

cer1991 2015-01-28 浏览量:2457


在ubuntu 14.04 环境下编译image,出现如下错误:

extpoll
| -- Up-to-date: /home/chaos/edison/edison-src/build/tmp/work/core2-32-poky-linux/libwebsockets/1.23-r0/image/usr/bin/libwebsockets-test-client
| -- Installing: /home/chaos/edison/edison-src/build/tmp/work/core2-32-poky-linux/libwebsockets/1.23-r0/image/usr/bin/libwebsockets-test-fraggle
| -- Installing: /home/chaos/edison/edison-src/build/tmp/work/core2-32-poky-linux/libwebsockets/1.23-r0/image/usr/bin/libwebsockets-test-ping
| -- Installing: /home/chaos/edison/edison-src/build/tmp/work/core2-32-poky-linux/libwebsockets/1.23-r0/image/usr/bin/libwebsockets-test-echo
| -- Installing: /home/chaos/edison/edison-src/build/tmp/work/core2-32-poky-linux/libwebsockets/1.23-r0/image/usr/share/libwebsockets-test-server/favicon.ico
| -- Installing: /home/chaos/edison/edison-src/build/tmp/work/core2-32-poky-linux/libwebsockets/1.23-r0/image/usr/share/libwebsockets-test-server/leaf.jpg
| -- Installing: /home/chaos/edison/edison-src/build/tmp/work/core2-32-poky-linux/libwebsockets/1.23-r0/image/usr/share/libwebsockets-test-server/libwebsockets.org-logo.png
| -- Installing: /home/chaos/edison/edison-src/build/tmp/work/core2-32-poky-linux/libwebsockets/1.23-r0/image/usr/share/libwebsockets-test-server/test.html
| CMake Error at cmake_install.cmake:189 (FILE):
|   file INSTALL cannot find
|   "/home/chaos/edison/edison-src/build/tmp/work/core2-32-poky-linux/libwebsockets/1.23-r0/build/libwebsockets-test-server.key.pem".
| 
| 
| make: *** [install] Error 1
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_install (log file is located at /home/chaos/edison/edison-src/build/tmp/work/core2-32-poky-linux/libwebsockets/1.23-r0/temp/log.do_install.19402)
ERROR: Task 518 (/home/chaos/edison/edison-src/device-software/meta-edison-distro/recipes-connectivity/libwebsockets/libwebsockets_1.23.bb, do_install) failed with exit code \'1\'
NOTE: Tasks Summary: Attempted 1872 tasks of which 1863 didn\'t need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/chaos/edison/edison-src/device-software/meta-edison-distro/recipes-connectivity/libwebsockets/libwebsockets_1.23.bb, do_install
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
请问如何解决呢?
0 0 收起

我来回答

上传资料:
选择文件 文件大小不超过15M(格式支持:doc、ppt、xls、pdf、zip、rar、txt)
其他答案 数量:2
  • 找到解决方案了:

    运行cmake .就可以了

    • 发布于2015-01-29
    • 举报
    • 评论 0
    • 0
    • 0

Intel Edison 编译image报错