UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer carlos.aguero
Observer
682 Views
Registered: ‎02-03-2017

Xilinx Yocto 2018.2 zcu106-zynqmp build issue

Jump to solution

Hi,

 

I am currently building yocto images for an zcu106-zynqmp http://www.wiki.xilinx.com/How%20to%20build%20images%20through%20yocto but at the build process I get this error at btrfs-tools:

 

 

Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-64', 'arm-common', 'arm-64', 'common-linux', 'common-glibc', 'aarch64-linux', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8
|     [LD]     btrfs
|     [LD]     btrfs-map-logical
|     [LD]     btrfs-image
|     [LD]     btrfs-zero-log
|     [LD]     btrfs-find-root
|     [LD]     btrfstune
|     [LD]     btrfs-select-super
|     [LD]     btrfs-convert
|     [LD]     btrfs-corrupt-block
| cmds-check.o: In function `cmd_check':
| /usr/src/debug/btrfs-tools/4.12-r0/git/cmds-check.c:12948: undefined reference to `print_extent_state'
| /usr/src/debug/btrfs-tools/4.12-r0/git/cmds-check.c:12939: undefined reference to `qgroup_verify_all'
| /usr/src/debug/btrfs-tools/4.12-r0/git/cmds-check.c:12942: undefined reference to `report_qgroups'
| /usr/src/debug/btrfs-tools/4.12-r0/git/cmds-check.c:13188: undefined reference to `free_qgroup_counts'
| /usr/src/debug/btrfs-tools/4.12-r0/git/cmds-check.c:13136: undefined reference to `qgroup_verify_all'
| /usr/src/debug/btrfs-tools/4.12-r0/git/cmds-check.c:13142: undefined reference to `report_qgroups'
| /usr/src/debug/btrfs-tools/4.12-r0/git/cmds-check.c:13143: undefined reference to `repair_qgroups'
| collect2: error: ld returned 1 exit status
| Makefile:372: recipe for target 'btrfs' failed
| make: *** [btrfs] Error 1
| make: *** Waiting for unfinished jobs....

 

Have you seen this error, when trying to build: MACHINE=zcu106-zynqmp bitbake petalinux-image-minimal

 

 

Regards and thank you for your time.

https://developer.ridgerun.com/wiki/index.php?title=RidgeRun_Professional_Services
0 Kudos
1 Solution

Accepted Solutions
Observer carlos.aguero
Observer
655 Views
Registered: ‎02-03-2017

Re: Xilinx Yocto 2018.2 zcu106-zynqmp build issue

Jump to solution

Hi,

 

cleanall the btrfs-tools and rebuild, btrfs-tools building now without problems, thank you.

 

 

 

https://developer.ridgerun.com/wiki/index.php?title=RidgeRun_Professional_Services

View solution in original post

0 Kudos
3 Replies
Moderator
Moderator
658 Views
Registered: ‎04-24-2017

Re: Xilinx Yocto 2018.2 zcu106-zynqmp build issue

Jump to solution

Hi @carlos.aguero,

 

Can you post your local.conf configurations?

Thanks,
Sandeep
PetaLinux Yocto | Embedded SW Support

---------------------------------------------------------------------------
Don’t forget to Reply, Kudo, and Accept as Solution.
---------------------------------------------------------------------------
0 Kudos
Observer carlos.aguero
Observer
653 Views
Registered: ‎02-03-2017

Re: Xilinx Yocto 2018.2 zcu106-zynqmp build issue

Jump to solution

Hi @sandeepg

 

Sure this is my local.conf, removed comments in order to make the post smaller:

 

 

#------------ local.conf init ------------

 

MACHINE ??= "zcu106-zynqmp"

DL_DIR ?= "/opt/yocto/downloads"
SSTATE_DIR ?= "/opt/yocto/sstate"

DISTRO ?= "petalinux"

PACKAGE_CLASSES ?= "package_rpm"

EXTRA_IMAGE_FEATURES = "debug-tweaks"

USER_CLASSES ?= "buildstats image-mklibs"

PATCHRESOLVE = "noop"

BB_DISKMON_DIRS = "\
    STOPTASKS,${TMPDIR},1G,100K \
    STOPTASKS,${DL_DIR},1G,100K \
    STOPTASKS,${SSTATE_DIR},1G,100K \
    STOPTASKS,/tmp,100M,100K \
    ABORT,${TMPDIR},100M,1K \
    ABORT,${DL_DIR},100M,1K \
    ABORT,${SSTATE_DIR},100M,1K \
    ABORT,/tmp,10M,1K"

XILINX_VER_MAIN = "2018.2"
XILINX_SDK_TOOLCHAIN = "/opt/Xilinx/SDK/2018.2"

CONF_VERSION = "1"

 

 

#------------ local.conf end ------------

 

 

Regards.

https://developer.ridgerun.com/wiki/index.php?title=RidgeRun_Professional_Services
0 Kudos
Observer carlos.aguero
Observer
656 Views
Registered: ‎02-03-2017

Re: Xilinx Yocto 2018.2 zcu106-zynqmp build issue

Jump to solution

Hi,

 

cleanall the btrfs-tools and rebuild, btrfs-tools building now without problems, thank you.

 

 

 

https://developer.ridgerun.com/wiki/index.php?title=RidgeRun_Professional_Services

View solution in original post

0 Kudos