Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
1,788 Views

problems in building the image of the edison

Jump to solution

hello,everyone!

When I build the image of the edison board,I meet some problems.My os is Ubuntu14.04.

The errors are below:

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

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.

How can I solve the problem?Do anyone can help me?

Thanks

0 Kudos

Accepted Solutions
Highlighted
Honored Contributor II

Re: problems in building the image of the edison

Jump to solution

That's a known bug, see this post and further down, there's a solution if you don't want to change the Ubuntu to x86_64 (which I'd recommend to do anyway):

View solution in original post

0 Kudos
6 Replies
Highlighted
Employee

Re: problems in building the image of the edison

Jump to solution

Hi cer1991,

I'd suggest you to use a 64 bit Ubuntu in case you are using a 32 bit version. Also you could try updating cmake to the latest version and to start the build from scratch again. I hope this helps

Regards,

 

JPMontero_Intel
Highlighted
Honored Contributor II
1 View

Re: problems in building the image of the edison

Jump to solution

That's a known bug, see this post and further down, there's a solution if you don't want to change the Ubuntu to x86_64 (which I'd recommend to do anyway):

View solution in original post

0 Kudos
Highlighted
New Contributor I

Re: problems in building the image of the edison

Jump to solution

Hi,JPMontero_Intel

I have solved the problem.

Thank you!

0 Kudos
Highlighted
New Contributor I

Re: problems in building the image of the edison

Jump to solution

Hi,AlexT_Intel

I have sloved the problem.

Thank you!

0 Kudos
Highlighted
Employee

Re: problems in building the image of the edison

Jump to solution

Hi cer1991,

Could you let us know how you solve the issue?

Regards,

 

JPMontero_Intel
0 Kudos
Highlighted
New Contributor I

Re: problems in building the image of the edison

Jump to solution

HI,@JPMontero_Intel

When you meet the error, you need to navigate to build/tmp/work/core2-32-poky-linux/libwebsockets/1.23-r0/build and call "cmake ."

You can read for more.

0 Kudos