<div dir="ltr"><div><div>I enabled "foc_imx53" option in "create_builddir" and afte "make" the output as follows were generated:<br></div><div><br><br clear="all">Skip target test/gpio_drv because it requires omap4<br>Skip target test/python because it requires x86<br>Skip target test/rm_nested because it requires experimental<br>Skip target test/timer_accuracy because it requires linux<br>Skip target test/vmm_utils because it requires nova<br>Skip target test/xev_track because it requires host x11 xtest xdamage<br>var/libdeps:2243: warning: overriding commands for target `vmlinux.prg'<br>var/libdeps:2199: warning: ignoring old commands for target `vmlinux.prg'<br>var/libdeps:4785: warning: overriding commands for target `.prg'<br>var/libdeps:2307: warning: ignoring old commands for target `.prg'<br>All build tools checked ok.<br>Creating build directory "/sda1/home/tteikhua/Downloads/genode-14.11/tool/build_foc_imx53/l4/"...<br>  HOSTCC  scripts/basic/fixdep<br>  HOSTCC  scripts/kconfig/conf.o<br>  SHIPPED scripts/kconfig/zconf.tab.c<br>  SHIPPED scripts/kconfig/zconf.lex.c<br>  SHIPPED scripts/kconfig/zconf.hash.c<br>  HOSTCC  scripts/kconfig/zconf.tab.o<br>  HOSTLD  scripts/kconfig/conf<br>scripts/kconfig/conf --oldconfig /sda1/home/tteikhua/Downloads/genode-14.11/tool/build_foc_imx53/l4/Kconfig.generated<br>#<br># configuration written to .kconfig<br>#<br>scripts/kconfig/conf --silentoldconfig /sda1/home/tteikhua/Downloads/genode-14.11/tool/build_foc_imx53/l4/Kconfig.generated<br>All build tools checked ok.<br>gcc -fPIC -Wall -pedantic -g -m64 -c /sda1/home/tteikhua/Downloads/genode-14.11/contrib/foc-3456a52b6603b16c9f157c9b3e2045e0984028c0/src/kernel/foc/l4/tool/gendep/deptrack.c -o /sda1/home/tteikhua/Downloads/genode-14.11/tool/build_foc_imx53/l4/tool/gendep/deptrack.64.o<br>gcc -fPIC -Wall -pedantic -g -m64 -c /sda1/home/tteikhua/Downloads/genode-14.11/contrib/foc-3456a52b6603b16c9f157c9b3e2045e0984028c0/src/kernel/foc/l4/tool/gendep/syscall.c -o /sda1/home/tteikhua/Downloads/genode-14.11/tool/build_foc_imx53/l4/tool/gendep/syscall.64.o<br>mkdir -p /sda1/home/tteikhua/Downloads/genode-14.11/tool/build_foc_imx53/l4/tool/gendep/64<br>gcc -m64 -shared -Wl,--no-as-needed -Wl,-soname,/sda1/home/tteikhua/Downloads/genode-14.11/tool/build_foc_imx53/l4/tool/gendep/64/libgendep.so -ldl -o /sda1/home/tteikhua/Downloads/genode-14.11/tool/build_foc_imx53/l4/tool/gendep/64/libgendep.so /sda1/home/tteikhua/Downloads/genode-14.11/tool/build_foc_imx53/l4/tool/gendep/deptrack.64.o /sda1/home/tteikhua/Downloads/genode-14.11/tool/build_foc_imx53/l4/tool/gendep/syscall.64.o<br>ERROR: ld.so: object 'libgendep.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.<br>ERROR: ld.so: object 'libgendep.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.<br>ERROR: ld.so: object 'libgendep.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.<br>make[8]: *** [Makeconf.bid.local-internal-names] Error 1<br>make[7]: *** [Makeconf.bid.local-helper] Error 2<br>make[6]: *** [DROPSCONF_CONFIG_MK_POST_HOOK] Error 1<br>make[5]: *** [/sda1/home/tteikhua/Downloads/genode-14.11/tool/build_foc_imx53/l4/.config.all] Error 2<br>make[4]: *** [oldconfig] Error 2<br>make[3]: *** [all] Error 2<br>make[2]: *** [/sda1/home/tteikhua/Downloads/genode-14.11/tool/build_foc_imx53/l4/.kconfig] Error 2<br>make[1]: *** [platform.lib] Error 2<br>make: *** [gen_deps_and_build_targets] Error 2<br><br><br></div>And somewhere under the tool directory is found the libgendep.so file:<br><br>/home/tteikhua/Downloads/genode-14.11>find .|grep gendep<br><br>./tool/build_foc_imx53/l4/tool/gendep<br>./tool/build_foc_imx53/l4/tool/gendep/64<br>./tool/build_foc_imx53/l4/tool/gendep/64/libgendep.so<br>./tool/build_foc_imx53/l4/tool/gendep/Makefile<br>./tool/build_foc_imx53/l4/tool/gendep/syscall.64.o<br>./tool/build_foc_imx53/l4/tool/gendep/deptrack.64.o<br><br><br></div>What is the cause of the error, and how to resolve it?<br><div><div><br><br>-- <br><div class="gmail_signature">Regards,<br>Peter Teoh</div>
</div></div></div>