Jump to content

    
Sign in to follow this  
zuuuuk

сборка YOCTO project powerpc-poky-linux

Recommended Posts

Доброго времени суток.

 

Я хочу собрать 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. И собираю в качестве эксперимента.

 

Подскажите, как можно победить эту ошибку?

что не так со сборкой?

Share this post


Link to post
Share on other sites

1. Перед тем как запустить сборку все дополнительные пакеты установили ?

2. Используемая версия YOCTO совместима с версией линукса на ПК ?

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this