AnsweredAssumed Answered

imx6qsabresd yocto project building errors???

Question asked by turker sezgin on Apr 12, 2017
Latest reply on Jul 23, 2017 by vo son


I am trying to generate an image from yocto project for my imx6qsabresd.

I want to run my QT5 app on this board.

I followed Freescale Yocto Project User's Guide but I couldn't generate "core-image-minimal" there is an error...


I followed this document: building linux 3.14.28 fsl-image-gui with opencv using yocto on imx6q  so, there is an error.


Also, I tried this with krogoth and morty branches, there are still an error...


This is my local.conf file:

MACHINE ??= 'imx6qsabresd'
DISTRO ?= 'fsl-imx-x11'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs"
    STOPTASKS,${DL_DIR},1G,100K \
    STOPTASKS,/tmp,100M,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"


DL_DIR ?= "${BSPDIR}/downloads/"


Last time, I got this error wwith krogoth;


NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: perl-native-5.22.1-r0 do_compile: oe_runmake failed
ERROR: perl-native-5.22.1-r0 do_compile: Function failed: do_compile (log file is located at /home/mikrostar/fsl-f/build/tmp/work/x86_64-linux/perl-native/5.22.1-r0/temp/log.do_compile.13075)
ERROR: Logfile of failure stored in: /home/mikrostar/fsl-f/build/tmp/work/x86_64-linux/perl-native/5.22.1-r0/temp/log.do_compile.13075
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4 -e MAKEFLAGS=
| gcc  -L/home/mikrostar/fsl-f/build/tmp/sysroots/x86_64-linux/usr/lib -L/home/mikrostar/fsl-f/build/tmp/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/mikrostar/fsl-f/build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/mikrostar/fsl-f/build/tmp/sysroots/x86_64-linux/lib -Wl,-rpath,/home/mikrostar/fsl-f/build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/mikrostar/fsl-f/build/tmp/sysroots/x86_64-linux/lib -Wl,-O1 -fstack-protector -L/usr/local/lib -o miniperl \
|         perlmini.o opmini.o miniperlmain.o  gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro_core.o keywords.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o caretx.o   -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
| opmini.o: In function `Perl_ck_rvconst':
| opmini.c:(.text+0x63e0): undefined reference to `_Static_assert'
| opmini.o: In function `Perl_rpeep':
| opmini.c:(.text+0xe49b): undefined reference to `_Static_assert'
| toke.o: In function `Perl_lex_start':
| toke.c:(.text+0x9593): undefined reference to `_Static_assert'
| pp_hot.o: In function `Perl_pp_padrange':
| pp_hot.c:(.text+0x533b): undefined reference to `_Static_assert'
| sv.o: In function `Perl_newRV_noinc':
| sv.c:(.text+0x183b): undefined reference to `_Static_assert'
| sv.o:sv.c:(.text+0xace8): more undefined references to `_Static_assert' follow
| collect2: ld returned 1 exit status
| make: *** [lib/] Error 1
| WARNING: /home/mikrostar/fsl-f/build/tmp/work/x86_64-linux/perl-native/5.22.1-r0/temp/run.do_compile.13075:1 exit 1 from 'exit 1'
ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /home/mikrostar/fsl-f/build/tmp/work/x86_64-linux/perl-native/5.22.1-r0/temp/log.do_compile.13075)

ERROR: Task 3063 (/home/mikrostar/fsl-f/sources/openembedded-core/meta/recipes-devtools/perl/, do_compile) failed with exit code '1'

NOTE: Tasks Summary: Attempted 1179 tasks of which 1122 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/mikrostar/fsl-f/sources/openembedded-core/meta/recipes-devtools/perl/, do_compile
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.




How can I generate an image for imx6qsabresd?

Could you suggest me something?