zuuuuk 0 April 30, 2017 Posted April 30, 2017 · Report post Доброго времени суток. Я хочу собрать embended linux под powerpc-poky-linux. mpc8315e-rdb выполняю команда последовательно. как написано в quick start http://www.yoctoproject.org/docs/2.2.1/yoc...project-qs.html cd ~/poky source oe-init-build-env ../../ypBuild попадаю в директорию ypBuild и запускаю сборку bitbake core-image-minimal проект сконфигурирован Build Configuration: BB_VERSION = "1.32.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "powerpc-poky-linux" MACHINE = "mpc8315e-rdb" DISTRO = "poky" DISTRO_VERSION = "2.2.1" TUNE_FEATURES = "m32 fpu-hard ppce300c3" TARGET_FPU = "" meta meta-poky собираю под ubuntu 17 через 3 часа ошибка ERROR: oe_runmake failed .libs/compatibility-c++0x.o:(.got2+0x24): undefined reference to `__dso_handle' ../src/c++11/.libs/libc++11convenience.a(system_error.o):(.got2+0x24): undefined reference to `__dso_handle' ../src/c++98/.libs/libc++98convenience.a(mt_allocator.o):(.got2+0x14): undefined reference to `__dso_handle' ../src/c++98/.libs/libc++98convenience.a(c++locale.o):(.got2+0x58): undefined reference to `__dso_handle' ../src/c++11/.libs/libc++11convenience.a(condition_variable.o):(.got2+0xc): undefined reference to `__dso_handle' ../src/c++11/.libs/libc++11convenience.a(future.o):(.got2+0x24): more undefined references to `__dso_handle' follow collect2: error: ld returned 1 exit status Makefile:606: recipe for target 'libstdc++.la' failed make[3]: *** [libstdc++.la] Error 1 make[3]: Leaving directory '/media/sergeiy/WD/YOCTO/ypBuild/tmp/work/ppce300c3-poky-linux/gcc-runtime/6.2.0-r0/gcc-6.2.0/build.powerpc-poky-linux.powerpc-poky-linux/powerpc-poky-linux/libstdc++-v3/src' Makefile:638: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/media/sergeiy/WD/YOCTO/ypBuild/tmp/work/ppce300c3-poky-linux/gcc-runtime/6.2.0-r0/gcc-6.2.0/build.powerpc-poky-linux.powerpc-poky-linux/powerpc-poky-linux/libstdc++-v3/src' Makefile:507: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/media/sergeiy/WD/YOCTO/ypBuild/tmp/work/ppce300c3-poky-linux/gcc-runtime/6.2.0-r0/gcc-6.2.0/build.powerpc-poky-linux.powerpc-poky-linux/powerpc-poky-linux/libstdc++-v3' Makefile:414: recipe for target 'all' failed make: *** [all] Error 2 WARNING: exit code 1 from a shell command. ERROR: Function failed: do_compile (log file is located at /media/sergeiy/WD/YOCTO/ypBuild/tmp/work/ppce300c3-poky-linux/gcc-runtime/6.2.0-r0/temp/log.do_compile.745) я не специалист в yocto project. И собираю в качестве эксперимента. Подскажите, как можно победить эту ошибку? что не так со сборкой? Quote Share this post Link to post Share on other sites More sharing options...
cpl 0 May 2, 2017 Posted May 2, 2017 · Report post 1. Перед тем как запустить сборку все дополнительные пакеты установили ? 2. Используемая версия YOCTO совместима с версией линукса на ПК ? Quote Share this post Link to post Share on other sites More sharing options...
psL 0 May 2, 2017 Posted May 2, 2017 · Report post g++ в системе не установлен Quote Share this post Link to post Share on other sites More sharing options...
zuuuuk 0 May 3, 2017 Posted May 3, 2017 · Report post g++ в системе не установлен установлен. все пакеты тоже установлены. только с версионностью есть предупреждения . Quote Share this post Link to post Share on other sites More sharing options...
MIkler 0 May 17, 2017 Posted May 17, 2017 · Report post Не знаю актуально ли вам. Did you have multilib installed!? Как говорят в одном из тредов по похожей проблеме. Quote Share this post Link to post Share on other sites More sharing options...