I wanna get a cross-compile toolchain for my project, then I downloaded source from freescale Yocto project as the User's Guide document described.
When bitbake meta-toolchain, error occurs as follow, I have no idea to fix it.
I do configrations like these:
1. cd <bspPath>
2. repo sync
3. DISTRO=fsl-imx-x11 MACHINE=imx6qsabresd source fsl-setup-release.sh -b <build dir>
4. bitbake meta-toolchain
//Logs as follows:
Build Configuration:
BB_VERSION = "1.30.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-17.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6qsabresd"
DISTRO = "fsl-imx-x11"
DISTRO_VERSION = "4.1.15-2.1.0"
TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU = "hard"
meta
meta-poky = "HEAD:f5da2a5913319ad6ac2141438ba1aa17576326ab"
meta-oe
meta-multimedia = "HEAD:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"
meta-fsl-arm = "HEAD:be78894e4682f111575470fb23e51e6ba523508d"
meta-fsl-arm-extra = "HEAD:3dfb82fc7e703eae9891b3ffda0e9393701f2396"
meta-fsl-demos = "HEAD:a165068f8a0d1cf29aabe4b4053f28be1c2aa492"
meta-bsp
meta-sdk = "HEAD:823b26a67261270d2bf22d511e6190641a8a90cf"
meta-browser = "HEAD:77736988073a5d90fcff9d0005c8477332ede387"
meta-gnome
meta-networking
meta-python
meta-filesystems = "HEAD:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"
meta-qt5 = "HEAD:ccae79be69c5268df3b47e4e14cea0591c39a531"
NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: openssl-native-1.0.2h-r0 do_configure: Function failed: do_configure (log file is located at /home/detc/fsl-bsp/dashboard/tmp/work/x86_64-linux/openssl-native/1.0.2h-r0/temp/log.do_configure.10928)
ERROR: Logfile of failure stored in: /home/detc/fsl-bsp/dashboard/tmp/work/x86_64-linux/openssl-native/1.0.2h-r0/temp/log.do_configure.10928
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| Can't locate find.pl in @INC (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at perlpath.pl line 7.
| WARNING: exit code 2 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/detc/fsl-bsp/dashboard/tmp/work/x86_64-linux/openssl-native/1.0.2h-r0/temp/log.do_configure.10928)
ERROR: Task 314 (virtual:native:/home/detc/fsl-bsp/sources/poky/meta/recipes-connectivity/openssl/openssl_1.0.2h.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 286 tasks of which 281 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
Summary: 1 task failed:
virtual:native:/home/detc/fsl-bsp/sources/poky/meta/recipes-connectivity/openssl/openssl_1.0.2h.bb, do_configure
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Solved! Go to Solution.
Hello,
please use the following
https://community.nxp.com/docs/DOC-333675
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello,
please use the following
https://community.nxp.com/docs/DOC-333675
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
It works!~!!!!!! Thank you so much~~~~~
I did like this:
sudo cp ../sources/poky/meta/recipes-connectivity/openssl/openssl/find.pl /etc/perl/