Imx6ulevk Resinos 2.12.5 - Balena


#1

Hi,

I am trying to build Resinos 2.12.5 for the NXP/Freescale imx6ul evaluation kit.
Using the raspberry pi repo as a reference using the Yocto Rocko branch.

Until now I have 2 issues.

1.) Kernel does not build due to: CONFIG_CFG80211=m in the config file. It builds when it was set to
CONFIG_CFG80211=y

2.) The biggest issue so far is to build Balena. It complains about:

“| /tmp/go-build/net/_obj/cgo-gcc-prolog:45: warning: Using ‘getaddrinfo’ in statically linked applications requires at runtime the shared libraries from the glibc version used for linking”

Someone else encountered this issue?
I just followed the instructions from the documentation page.
also tried to build it using: bitbake -c devshell balena, followed by ‘make all’ in the import folder of the source, but does not work.

| DEBUG: Executing shell function do_compile
| # WARNING! I don’t seem to be running in a Docker container.
| # The result of this command might be an incorrect build, and will not be
| # officially supported.
| #
| # Try this instead: make all
| #
|
| bundles/17.06.0-dev already exists. Removing.
|
| —> Making bundle: dynbinary-balena (in bundles/17.06.0-dev/dynbinary-balena)
| Building: bundles/17.06.0-dev/dynbinary-balena/balena-17.06.0-dev
| Created binary: bundles/17.06.0-dev/dynbinary-balena/balena-17.06.0-dev
|
| # github.com/docker/docker/cmd/mobynit
| /home/user/Projects/resinos/resin-imx6ulevk/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/balena/17.06.0-dev+git73136d1985f28a34705f537e90636cf208734048-r0/recipe-sysroot-native/usr/lib/arm-poky-linux-gnueabi/go/pkg/tool/linux_amd64/link: running arm-poky-linux-gnueabi-gcc failed: exit status 1
| /home/user/Projects/resinos/resin-imx6ulevk/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/balena/17.06.0-dev+git73136d1985f28a34705f537e90636cf208734048-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/…/…/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/7.3.0/ld: cannot find rcrt1.o: No such file or directory
| /tmp/go-link-486325883/000003.o: In function `_cgo_b0c710f30cfd_C2func_getaddrinfo’:
| /tmp/go-build/net/_obj/cgo-gcc-prolog:45: warning: Using ‘getaddrinfo’ in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
| collect2: error: ld returned 1 exit status