Hi,
I followed the "Freescale_Yocto_Project_User's_Guide.pdf" to setup the PC host and yocto, and eventually trying to run:
$> bitbake fsl-image-gui
But I received the following error. What have I missed? Thanks!
===========================
ERROR:
ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Adding system startup for /home/adsuser/work/02_fsl-release-bsp/build-fb03/tmp/work/imx6ulevk-poky-linux-gnueabi/fsl-image-gui/1.0-r0/rootfs/etc/init.d/avahi-daemon.
Output from lttng-tools-2.6.0-r0@cortexa7hf_vfp_neon:
Running groupadd commands...
NOTE: Performing groupadd with [--root /home/adsuser/work/02_fsl-release-bsp/build-fb03/tmp/work/imx6ulevk-poky-linux-gnueabi/fsl-image-gui/1.0-r0/rootfs tracing] and 10 times of retry
ERROR: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /home/adsuser/work/02_fsl-release-bsp/build-fb03/tmp/work/imx6ulevk-poky-linux-gnueabi/fsl-image-gui/1.0-r0/temp/log.do_rootfs.8597
ERROR: Task 7 (/home/adsuser/work/02_fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-gui.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4180 tasks of which 4137 didn't need to be rerun and 1 failed.
No currently running tasks (4180 of 4181)
Summary: 1 task failed:
/home/adsuser/work/02_fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-gui.bb, do_rootfs
Summary: There were 5 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
========================================================================
- Thomas
Hello Gusarambula
I have a similar problem with building images for imx6ulevk.
The images 'core-image-minimal' and 'core-image-base' were built successfully. But the image build 'fsl-image-machine-test' failed with error:
ERROR: Task 3968 (virtual:native:/home/michael/fsl-arm-yocto-bsp/sources/poky/meta/recipes-devtools/qemu/qemu_2.2.0.bb, do_configure) failed with exit code '1'
Above there was another error message:
| ERROR: User requested feature sdl
| configure was not able to find it.
| Install SDL devel
The yocto runs on Ubuntu 15.10. I did the installation exactly from 'Freescale Yocto Project User's Guide'.
Regards
Michael
Hi Rahul
Thank you for your answer.
I reinstalled libsdl1.2-dev and I followed the instructions 1.3.2 and 1.3.3.1
Nothing helped. Still the same error.
Regards
Michael
Remove everything..i mean directory created..by download..
& install everything with HIGH SPEED INTERNET Connection...
Hello Michael Eicher,
Have you installed all required packages correctly? The error may be related with the libsdl1.2-dev package, that is required by the host.
Regards,
Hello Thomas,
I’m trying to duplicate the issue . In the meantime, would you please share the steps you performed and the local.conf file? Does it have the correct MACHINE variable and the EULA set to 1?
Hello Gusarambula,
I've followed exactly the steps described in "Freescale_Yocto_Project_User's_Guide.pdf".
After successfully "repo sync", I executed the following commands:
$> MACHINE=imx6ulevk source fsl-setup-release.sh -b build-fb03 -e fb
$> bitbake fsl-image-gui
The content of conf/local.conf is:
MACHINE ??= 'imx6ulevk'
DISTRO ?= 'fsl-imx-release-fb'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
ASSUME_PROVIDED += "libsdl-native"
CONF_VERSION = "1"
BB_NUMBER_THREADS = '4'
PARALLEL_MAKE = '-j 4'
DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"
- Thomas
By the way, the PC host I used is Ubuntu 14.04LTS.
- Thomas
Hello Thomas,
It's odd because I was able to build with no problems so the sources should be in place.
I'm using Ubuntu 12.04 but 14.04 should also work. Would you please double check that you have the necessary packages. Please also try either from a new build directory or after making a clean:
bitbake -c cleanall fsl-image-gui