Android教程網
  1. 首頁
  2. Android 技術
  3. Android 手機
  4. Android 系統教程
  5. Android 游戲
 Android教程網 >> Android技術 >> Android開發 >> 高級開發 >> Android 內核編繹錯誤解決方案

Android 內核編繹錯誤解決方案

編輯:高級開發

 錯誤1:

  /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory

  解決:

  sudo apt-get install libc6-dev-i386

  錯誤2:

  host Executable: acp (out/host/Linux -x86/obj/EXECUTABLES/acp_intermediates/acp)

  /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-Linux-gnu/4.4.3/libstdc++.so when searching for -lstdc++

  /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-Linux-gnu/4.4.3/libstdc++.a when searching for -lstdc++

  /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-Linux-gnu/4.4.3/libstdc++.so when searching for -lstdc++

  /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-Linux-gnu/4.4.3/libstdc++.a when searching for -lstdc++

  解決:

  sudo apt-get install g++-multilib

  錯誤3:

  /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-Linux-gnu/4.4.3/../../../libz.so when searching for -lz

  /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-Linux-gnu/4.4.3/../../../libz.a when searching for -lz

  /usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz

  /usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz

  /usr/bin/ld: cannot find -lz

  解決:

  sudo apt-get install lib32z1-dev

  錯誤4:

  /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-Linux-gnu/4.4.3/../../../libncurses.so when searching for -lncurses

  /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-Linux-gnu/4.4.3/../../../libncurses.a when searching for -lncurses

  /usr/bin/ld: skipping incompatible /usr/lib/libncurses.so when searching for -lncurses

  /usr/bin/ld: skipping incompatible /usr/lib/libncurses.a when searching for -lncurses

  /usr/bin/ld: cannot find -lncurses

  解決:

  sudo apt-get install lib32ncurses5-dev

  錯誤5:

  In file included from external/qemu/android /skin/window.c:19:

  prebuilt/Linux-x86/sdl/include/SDL/SDL_syswm.h:55:22: error: X11/Xlib.h: 沒有那個文件或目錄

  prebuilt/Linux-x86/sdl/include/SDL/SDL_syswm.h:56:23: error: X11/Xatom.h: 沒有那個文件或目錄

  解決:

  sudo apt-get install libx11-dev

  1. 上一頁:
  2. 下一頁:
熱門文章
閱讀排行版
Copyright © Android教程網 All Rights Reserved