移植 ubuntu touch:分段错误(核心转储)

移植 ubuntu touch:分段错误(核心转储)

我两周前问过这个问题,但还没有得到答案。这个问题仍然存在。我关注指南构建我自己的 ubuntu touch 固件并坚持为 Nexus 4 构建你的第一个 Ubuntu 映像并且不知道如何修复它。

我执行了所有前面的步骤,没有任何错误。为了检查,我第二次执行了。

首先我尝试安装 phablet-tools 输入sudo apt-get 安装平板手机工具

Reading package lists... Done
Building dependency tree
Reading state information... Done
phablet-tools is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

看起来一切都很好。好的,接下来我尝试安装构建输入所需的其他软件包:

sudo apt-get install git gnupg flex bison gperf build-essential \
  zip bzr curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
  libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
  libgl1-mesa-dev g++-multilib mingw32 tofrodos \
  python-markdown libxml2-utils xsltproc zlib1g-dev:i386 schedtool \
  g++-4.8-multilib

结果:

Reading package lists... Done
Building dependency tree
Reading state information... Done
bison is already the newest version.
build-essential is already the newest version.
flex is already the newest version.
g++-multilib is already the newest version.
gperf is already the newest version.
python-markdown is already the newest version.
tofrodos is already the newest version.
xsltproc is already the newest version.
zip is already the newest version.
mingw32 is already the newest version.
schedtool is already the newest version.
libncurses5-dev:i386 is already the newest version.
libreadline6-dev:i386 is already the newest version.
libx11-dev:i386 is already the newest version.
zlib1g-dev:i386 is already the newest version.
bzr is already the newest version.
curl is already the newest version.
g++-4.8-multilib is already the newest version.
git is already the newest version.
gnupg is already the newest version.
libc6-dev is already the newest version.
libgl1-mesa-dev is already the newest version.
libxml2-utils is already the newest version.
x11proto-core-dev is already the newest version.
libgl1-mesa-glx:i386 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

下一步同步存储库phablet-dev-bootstrap 平板手机.结果如下:

INFO:phablet-dev-bootstrap:Changing to workdir /phablet/phablet
INFO:phablet-dev-bootstrap:Initializing repository

... A new repo command ( 1.22) is available.
... You should upgrade soon:

    cp /phablet/.repo/repo/repo /usr/bin/repo


Your identity is: user <mail>
If you want to change this, please re-run 'repo init' with --config-name

repo has been initialized in /phablet
If this is not the directory in which you want to initialize repo, please run:
   rm -r /phablet/.repo
and try again.

... A new repo command ( 1.22) is available.
... You should upgrade soon:

    cp /phablet/.repo/repo/repo /usr/bin/repo

Fetching project aosp/platform/frameworks/av
Fetching projects:   0% (1/136)  Fetching project aosp/device/asus/flo
Fetching projects:   1% (2/136)  Fetching project aosp/platform/frameworks/base
...
Fetching projects:  99% (135/136)  Fetching project aosp/platform/external/libvpx
Fetching projects: 100% (136/136), done.
Syncing work tree: 100% (135/135), done.

所以,我准备好建造了。1 (.build/envsetup.sh):

including device/asus/deb/vendorsetup.sh
including device/asus/flo/vendorsetup.sh
including device/asus/grouper/vendorsetup.sh
including device/asus/tilapia/vendorsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/x86/vendorsetup.sh
including device/lge/hammerhead/vendorsetup.sh
including device/lge/mako/vendorsetup.sh
including device/samsung/manta/vendorsetup.sh
including sdk/bash_completion/adb.bash

2 (午餐):

You're building on Linux

Lunch menu... pick a combo:
     1. aosp_arm-eng
     2. aosp_x86-eng
     3. aosp_mips-eng
     4. vbox_x86-eng
     5. aosp_deb-userdebug
     6. aosp_flo-userdebug
     7. aosp_grouper-userdebug
     8. aosp_tilapia-userdebug
     9. mini_armv7a_neon-userdebug
     10. mini_x86-userdebug
     11. aosp_hammerhead-userdebug
     12. aosp_mako-userdebug
     13. aosp_manta-userdebug

Which would you like? [aosp_arm-eng] 12
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
TARGET_PRODUCT=aosp_mako
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.4.0+-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=KOT49H
OUT_DIR=/phablet/out
============================================

3 (制作)。你还记得吗,在此步骤之前,我完成了所有步骤,没有任何错误或警告!最后我得到了段错误:

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
TARGET_PRODUCT=aosp_mako
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.4.0+-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=KOT49H
OUT_DIR=/phablet/out
============================================
Checking build tools versions...
including abi/cpp/Android.mk ...
including bionic/Android.mk ...
...
including frameworks/av/media/libnbaio/Android.mk ...
including frameworks/av/media/libstagefright/Android.mk ...
Segmentation fault (core dumped)

如何修复?没人能帮助我吗?

相关内容