中文字幕理论片,69视频免费在线观看,亚洲成人app,国产1级毛片,刘涛最大尺度戏视频,欧美亚洲美女视频,2021韩国美女仙女屋vip视频

打開APP
userphoto
未登錄

開通VIP,暢享免費(fèi)電子書等14項超值服

開通VIP
ubuntu 編譯 Android 出現(xiàn)的若干錯誤及解決方法(轉(zhuǎn))

剛下好 android 源碼后馬上編譯會發(fā)現(xiàn)有各種各樣的錯誤,原因是有些依賴包沒有裝。

為了避免出現(xiàn)以下我遇到的錯誤,請先安裝 jdk1.5 ,必須是 jdk1.5,不然肯定編譯不過的。

如果用命令裝不上可以考慮用:新立得軟件包管理器搜索安裝

然后,在檢查以下有沒有安裝以下依賴包:

sudo apt-get install bison libc6-dev-amd64 g++-multilib zlib1g-dev lib64z1-dev flex libncurses5-dev libx11-dev gperf

下面是我遇到的錯誤及解決方法:

/bin/bash: bison:找不到命令

Checking build tools versions...

************************************************************

You are attempting to build with the incorrect version

of java.

Your version is: /bin/bash: java:找不到命令.

The correct version is: 1.6.

Please follow the machine setup instructions at

http://source.android.com/source/download.html

************************************************************

build/core/main.mk:114: *** stop。 停止。

解決方法:

sudo apt-get install bison

----------------------------------------------------------------------

Install: out/host/linux-x86/framework/droiddoc.jar

target Generated: libclearsilver-jni <= out/host/common/obj/JAVA_LIBRARIES/clearsilver_intermediates/javalib.jar

host C: libclearsilver-jni <= external/clearsilver/java-jni/j_neo_util.c

In file included from /usr/include/features.h:378,

from /usr/include/string.h:26,

from external/clearsilver/java-jni/j_neo_util.c:1:

/usr/include/gnu/stubs.h:9:27: error: gnu/stubs-64.h: 沒有那個文件或目錄

make: *** [out/host/linux-x86/obj/SHARED_LIBRARIES/libclearsilver- jni_intermediates/j_neo_util.o] 錯誤 1

解決方法:

sudo apt-get install libc6-dev-amd64

----------------------------------------------------------------------

http://www.poemcode.net/2010/07/android-stubs-64/

host SharedLib: libneo_util (out/host/linux-x86/obj/lib/libneo_util.so)

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

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

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

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

/usr/bin/ld: cannot find -lstdc++

collect2: ld returned 1 exit status

make: *** [out/host/linux-x86/obj/lib/libneo_util.so] 錯誤 1

解決方法:

sudo apt-get install g++-multilib

----------------------------------------------------------------------

external/clearsilver/cgi/cgi.c:22:18: error: zlib.h: 沒有那個文件或目錄

external/clearsilver/cgi/cgi.c: In function 'cgi_compress’:

external/clearsilver/cgi/cgi.c:885: error: 'z_stream’ undeclared (first use in this function)

external/clearsilver/cgi/cgi.c:885: error: (Each undeclared identifier is reported only once

external/clearsilver/cgi/cgi.c:885: error: for each function it appears in.)

external/clearsilver/cgi/cgi.c:885: error: expected ';’ before 'stream’

external/clearsilver/cgi/cgi.c:888: error: 'stream’ undeclared (first use in this function)

external/clearsilver/cgi/cgi.c:888: error: 'Bytef’ undeclared (first use in this function)

external/clearsilver/cgi/cgi.c:888: error: expected expression before ')’ token

external/clearsilver/cgi/cgi.c:889: error: 'uInt’ undeclared (first use in this function)

external/clearsilver/cgi/cgi.c:889: error: expected ';’ before 'str’

external/clearsilver/cgi/cgi.c:890: error: expected expression before ')’ token

external/clearsilver/cgi/cgi.c:892: error: 'uLong’ undeclared (first use in this function)

external/clearsilver/cgi/cgi.c:892: error: expected ')’ before 'stream’

external/clearsilver/cgi/cgi.c:895: error: 'alloc_func’ undeclared (first use in this function)

external/clearsilver/cgi/cgi.c:895: error: expected ';’ before numeric constant

external/clearsilver/cgi/cgi.c:896: error: 'free_func’ undeclared (first use in this function)

external/clearsilver/cgi/cgi.c:896: error: expected ';’ before numeric constant

external/clearsilver/cgi/cgi.c:897: error: 'voidpf’ undeclared (first use in this function)

external/clearsilver/cgi/cgi.c:897: error: expected ';’ before numeric constant

external/clearsilver/cgi/cgi.c:900: error: 'Z_DEFAULT_COMPRESSION’ undeclared (first use in this function)

external/clearsilver/cgi/cgi.c:900: error: 'Z_DEFLATED’ undeclared (first use in this function)

external/clearsilver/cgi/cgi.c:900: error: 'MAX_WBITS’ undeclared (first use in this function)

external/clearsilver/cgi/cgi.c:900: error: 'Z_DEFAULT_STRATEGY’ undeclared (first use in this function)

external/clearsilver/cgi/cgi.c:901: error: 'Z_OK’ undeclared (first use in this function)

external/clearsilver/cgi/cgi.c:904: error: 'Z_FINISH’ undeclared (first use in this function)

external/clearsilver/cgi/cgi.c:905: error: 'Z_STREAM_END’ undeclared (first use in this function)

external/clearsilver/cgi/cgi.c: In function 'cgi_output’:

external/clearsilver/cgi/cgi.c:1200: error: 'Z_NULL’ undeclared (first use in this function)

external/clearsilver/cgi/cgi.c:1201: error: expected ')’ before 'Bytef’

external/clearsilver/cgi/cgi.c:1201: warning: cast from pointer to integer of different size

external/clearsilver/cgi/cgi.c:1218: error: 'Z_DEFLATED’ undeclared (first use in this function)

make: *** [out/host/linux-x86/obj/SHARED_LIBRARIES/libneo_cgi_intermediates/cgi.o] 錯誤 1

解決方法:

sudo apt-get install zlib1g-dev

----------------------------------------------------------------------

host SharedLib: libneo_cgi (out/host/linux-x86/obj/lib/libneo_cgi.so)

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

/usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-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

collect2: ld returned 1 exit status

make: *** [out/host/linux-x86/obj/lib/libneo_cgi.so] 錯誤 1

解決方法:

sudo apt-get install lib64z1-dev

----------------------------------------------------------------------

out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp: In function 'int yyparse()’:

out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp:1827: warning: deprecated conversion from string constant to 'char*’

out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp:1970: warning: deprecated conversion from string constant to 'char*’

Lex: aidl <= frameworks/base/tools/aidl/aidl_language_l.l

/bin/bash: flex:找不到命令

make: *** [out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates /aidl_language_l.cpp] 錯誤 127

解決方法:

sudo apt-get install flex

----------------------------------------------------------------------

Docs droiddoc: out/target/common/docs/api-stubs

Could not load 'clearsilver-jni'

java.library.path = out/host/linux-x86/lib

make: *** [out/target/common/docs/api-stubs-timestamp] 錯誤 45

解決方法:

安裝 jdk1.5

----------------------------------------------------------------------

host Executable: adb (out/host/linux-x86/obj/EXECUTABLES/adb_intermediates/adb)

/usr/bin/ld: cannot find -lncurses

collect2: ld returned 1 exit status

make: *** [out/host/linux-x86/obj/EXECUTABLES/adb_intermediates/adb] 錯誤 1

解決方法:

sudo apt-get install libncurses5-dev

----------------------------------------------------------------------

host C: emulator <= external/qemu/android/main.c

In file included from external/qemu/android/main.c:30:

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: 沒有那個文件或目錄

In file included from external/qemu/android/main.c:30:

prebuilt/linux-x86/sdl/include/SDL/SDL_syswm.h:73: error: expected specifier-qualifier-list before 'XEvent’

prebuilt/linux-x86/sdl/include/SDL/SDL_syswm.h:86: error: expected specifier-qualifier-list before 'Display’

external/qemu/android/main.c: In function 'main’:

external/qemu/android/main.c:1281: warning: implicit declaration of function 'audio_check_backend_name’

make: *** [out/host/linux-x86/obj/EXECUTABLES/emulator_intermediates/android /main.o] 錯誤 1

解決方法:

sudo apt-get install libx11-dev

----------------------------------------------------------------------

Generating CSSPropertyNames.h <= CSSPropertyNames.in

sh: gperf: not found

calling gperf failed: 32512 at ./makeprop.pl line 96.

make: *** [out/target/product/generic/obj/STATIC_LIBRARIES /libwebcore_intermediates/WebCore/css/CSSPropertyNames.h] 錯誤 25

make: *** 正在刪除文件“out/target/product/generic/obj/STATIC_LIBRARIES /libwebcore_intermediates/WebCore/css/CSSPropertyNames.h”

解決方法:

sudo apt-get install gper

轉(zhuǎn)載地址:http://yangguangfu.iteye.com/blog/1001605

make: *** [out/host/linux-x86/obj/EXECUTABLES/adb_intermediates/adb]

$sudo apt-get install libncurses5-dev

本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點(diǎn)擊舉報。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
ubuntu11.10 64bit 環(huán)境android編譯錯誤
android4.0源碼編譯過程中中各種錯誤解決
解決編譯android2.2源碼時出錯的問題
[z]ubuntu 11.10(32位系統(tǒng))下編譯android源碼
ubuntu 12.04 x64編譯 Android4.4遇到的問題
Android源碼編譯make的錯誤處理
更多類似文章 >>
生活服務(wù)
熱點(diǎn)新聞
分享 收藏 導(dǎo)長圖 關(guān)注 下載文章
綁定賬號成功
后續(xù)可登錄賬號暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服