Hi all, After command "bitbake fsl-image-full", it returns error message as below.
| checking for diff -u... yes
| checking for a supported version of gcc... ok (4.9.2)
| checking build system type... i686-pc-linux-gnu
| checking host system type... powerpc-fsl-linux-gnuspe
| checking for a supported CPU... ok (powerpc)
| checking for a 64-bit only build... no
| checking for a 32-bit only build... no
| checking for a supported OS... ok (linux-gnuspe)
| checking for the kernel version... unsupported (4.2.0-42-generic)
| configure: error: Valgrind works on kernels 2.4, 2.6
| Configure failed. The contents of all config.log files follows to aid debugging
| ERROR: oe_runconf failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/daniel/Workspace/projects/p1020rdb_qoriq_linux_sdk_v1_9/QorIQ-SDK-V1.9-20151210-yocto/build_p1020rdb/tmp/work/ppce500v2-fsl-linux-gnuspe/valgrind/3.8.1+fsl-r0/temp/log.do_configure.14160)
ERROR: Task 2927 (/home/daniel/Workspace/projects/p1020rdb_qoriq_linux_sdk_v1_9/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-freescale/recipes-devtools/valgrind/valgrind_fsl.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3552 tasks of which 17 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
Summary: 1 task failed:
/home/daniel/Workspace/projects/p1020rdb_qoriq_linux_sdk_v1_9/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-freescale/recipes-devtools/valgrind/valgrind_fsl.bb, do_configure
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
This is my local environment
VMware 7.1.0 build-2496824
Ubuntu 14.04.4 - 32 bit (ubuntu-14.04.4-desktop-i386)
Commands
>> sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev xterm
>> sudo mount -o loop QorIQ\ SDK\ V1.9\ SOURCE.iso /mnt/cdrom
>> cd /mnt/cdrom/
>> ./install
>> cd /home/daniel/Workspace/projects/p1020rdb_qoriq_linux_sdk_v1_9/QorIQ-SDK-V1.9-20151210-yocto
>> ./sources/meta-freescale/scripts/host-prepare.sh
>> sudo "/usr/sbin/visudo" and add the following line in the User privilege section:
daniel ALL = NOPASSWD: /usr/bin/apt-get
>>. ./fsl-setup-env -m p1020rdb
>> bitbake fsl-image-full
Can someone know what it means and how to fixed it ?
My reference design board (RDB) is P1020WLAN. Should I use command target "p1020rdb" or others?
Thanks a lot!
Solved! Go to Solution.
Check your command sequence for this SDK using.
We usually use the following command sequence for SDK installing under Ubuntu 14.04 and Ubuntu 16.04:
Message: /bin/sh -> dash
b) command: sudo dpkg-reconfigure dash
Answer after password – No
Message:
Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'
Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'
Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'
Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'
c) command for checking: ls -l /bin/sh
Message: /bin/sh -> bash
Usually Linux recommends also run the following command: sudo usr/sbin/visudo before and start script again.
Look at your Linux message dump. It looks like that there were error messages at "./sources/meta-freescale/scripts/host-prepare.sh" command.
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Pavel,
Great thanks! I have been built successfully using your suggestion.
NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 1323 tasks of which 1073 didn't need to be rerun and all succeeded.
Check your command sequence for this SDK using.
We usually use the following command sequence for SDK installing under Ubuntu 14.04 and Ubuntu 16.04:
Message: /bin/sh -> dash
b) command: sudo dpkg-reconfigure dash
Answer after password – No
Message:
Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'
Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'
Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'
Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'
c) command for checking: ls -l /bin/sh
Message: /bin/sh -> bash
Usually Linux recommends also run the following command: sudo usr/sbin/visudo before and start script again.
Look at your Linux message dump. It looks like that there were error messages at "./sources/meta-freescale/scripts/host-prepare.sh" command.
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Pavel,
Should I install valgrid (sudo apt-get install valgrind) ??
One more question. What commands I can use to clean-rebuild ?