opencv_3.4.bb:do_compile) failed with exit code '1'

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

opencv_3.4.bb:do_compile) failed with exit code '1'

4,455件の閲覧回数
260701463
Contributor I

hi,i am using yocto to compile linux 4.9.88 ,and i encounter the problem below

ERROR: Task (/home/cc/yocto/yocto-4.9.88/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-graphics/opencv/opencv_3.4.bb:do_compile) failed with exit code '1'

my configure command is 

repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-rocko -m imx-4.9.88-2.0.0_ga.xml

repo sync

DISTRO=fsl-imx-fb MACHINE=imx6qpdlsolox source fsl-setup-release.sh -b build

bitbake fsl-image-qt5

now i don't have idea where reason cause this problem,can you help me ,thank you very much

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

2,970件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

Hello Cheng Chao,

The imx6qpdlsolox MACHINE is a consolidated i.MX6 machine and is meant for testing. Are you able to bake the qt5 image with a specific i.MX6 MACHINE?

Regards,

0 件の賞賛
返信

2,970件の閲覧回数
260701463
Contributor I

hi ,gusarambula

thanks for you answering

i didn't mean to bake the qt5 image with a specific i.MX6 MACHINE

and i baked the yocto project all by new,i delete the ubuntu,and set up a new ubuntu machine,the ubuntu release version is 14.04-LTS

and the problem still exists

i will show you the detail steps,and hope you help analysis the reason for me

1.check the host python version,exec command "ls /usr/bin/python*",both python2.7 and python3.4 had been installed

2.reference the document: https://www.nxp.com/docs/en/user-guide/i.MX_Yocto_Project_User 

ubuntu host setup:

sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev

sudo apt-get install libsdl1.2-dev xterm sed cvs subversion coreutils texi2html \
docbook-utils python-pysqlite2 help2man make gcc g++ desktop-file-utils \
libgl1-mesa-dev libglu1-mesa-dev mercurial autoconf automake groff curl lzop asciidoc

sudo apt-get install u-boot-tools

reference the document:Yocto Project Reference Manual 

ubuntu host setup:

sudo apt-get build-dep qemu
sudo apt-get remove oss4-dev
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \
xz-utils debianutils iputils-ping
sudo apt-get install libsdl1.2-dev xterm
sudo apt-get install make xsltproc docbook-utils fop dblatex xmlto    //可选择不要这个
sudo apt-get install python-git

3.my critical yocto project steps: //my ubuntu user name is "cc"

sudo curl https://storage.googleapis.com/git-repo-downloads/repo > /home/cc/yocto/bin/repo

sudo chmod a+x /home/cc/yocto/bin/repo

export PATH=$PATH:/home/cc/yocto/bin
git config --global user.name cc
git config --global user.email 260701463@qq.com

cd /home/cc/yocto
sudo mkdir yocto-4.9.88-imx6dl-wayland
sudo chown cc: yocto-4.9.88-imx6dl-wayland/
cd yocto-4.9.88-imx6dl-wayland

repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-rocko -m imx-4.9.88-2.0.0_ga.xml
repo sync

DISTRO=fsl-imx-wayland MACHINE=imx6dlsabresd source fsl-setup-release.sh -b imx6dl-wayland-qt5

bitbake fsl-image-qt5-validation-imx

unfortunately,the problem below still exsit like a ghost,no matter what i do ,the "qtbase-5.9.4+gitAUTOINC+0d9208cecb-r0" compile always can not pass

"ERROR: qtbase-5.9.4+gitAUTOINC+0d9208cecb-r0 do_compile: oe_runmake failed
ERROR: qtbase-5.9.4+gitAUTOINC+0d9208cecb-r0 do_compile: Function failed: "

i beg for your suggest

0 件の賞賛
返信

2,970件の閲覧回数
mengsuma
Contributor I

I also encountered such a problem, did you solve it?

0 件の賞賛
返信