ken 发表于 2016-2-26 21:37:36

请教RK3288 Android 5.1 编译问题

我按照http://wiki.t-firefly.com/index.php/Firefly-RK3288/Build_android_lollipop#.E4.B8.8B.E8.BD.BD_Android_SDK 的提示下载了android 5.1的git 源代码,并且在一台ubuntu15.10的64bit机器上进行编译:
. build.sh
make -j8

碰到2个问题,一个是java doc的,一个是 external/chromium_org 编译不过,第一个问题我用work around通过了,可是第二个问题不知道有没有人也遇到过,如何解决?
编译出错的日志如下:

external/chromium_org/third_party/WebKit/Source/web/WebRange.cpp:95: error: undefined reference to 'blink::Range::text() const'
external/chromium_org/third_party/WebKit/Source/web/WebViewImpl.cpp:2123: error: undefined reference to 'blink::Position::Position(WTF::PassRefPtr<blink::Node>, int, blink::Position::AnchorType)'
external/chromium_org/third_party/WebKit/Source/web/WebViewImpl.cpp:2534: error: undefined reference to 'blink::Position::primaryDirection() const'
external/chromium_org/third_party/WebKit/Source/web/WebViewImpl.cpp:2535: error: undefined reference to 'blink::Position::primaryDirection() const'
external/chromium_org/third_party/WebKit/Source/web/WebViewImpl.cpp:2289: error: undefined reference to 'blink::rangeOfContents(blink::Node*)'
external/chromium_org/third_party/WebKit/Source/web/WebViewImpl.cpp:3736: error: undefined reference to 'blink::Range::create(blink::Document&, blink::Position const&, blink::Position const&)'
external/chromium_org/third_party/WebKit/Source/web/WebViewImpl.cpp:2450: error: undefined reference to 'blink::Range::create(blink::Document&, blink::Node*, int, blink::Node*, int)'
external/chromium_org/third_party/WebKit/Source/web/WebViewImpl.cpp:2453: error: undefined reference to 'blink::Range::create(blink::Document&, blink::Node*, int, blink::Node*, int)'
external/chromium_org/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp:171: error: undefined reference to 'blink::Range::cloneRange() const'
external/chromium_org/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp:172: error: undefined reference to 'blink::Range::setStart(WTF::PassRefPtr<blink::Node>, int, blink::ExceptionState&)'
external/chromium_org/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp:173: error: undefined reference to 'blink::Range::setEnd(WTF::PassRefPtr<blink::Node>, int, blink::ExceptionState&)'
external/chromium_org/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp:175: error: undefined reference to 'blink::Range::text() const'
external/chromium_org/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp:175: error: undefined reference to 'blink::Range::text() const'
external/chromium_org/third_party/WebKit/Source/core/dom/Position.h:284: error: undefined reference to 'blink::Position::Position(WTF::PassRefPtr<blink::Node>, int, blink::Position::AnchorType)'
external/chromium_org/third_party/WebKit/Source/core/dom/Position.h:285: error: undefined reference to 'blink::Position::Position(WTF::PassRefPtr<blink::Node>, blink::Position::AnchorType)'
external/chromium_org/third_party/WebKit/Source/web/TextFinder.cpp:172: error: undefined reference to 'blink::Range::boundingBox() const'
external/chromium_org/third_party/WebKit/Source/web/TextFinder.cpp:445: error: undefined reference to 'blink::Range::boundaryPointsValid() const'
external/chromium_org/third_party/WebKit/Source/web/TextFinder.cpp:550: error: undefined reference to 'blink::Range::boundaryPointsValid() const'
external/chromium_org/third_party/WebKit/Source/web/TextFinder.cpp:556: error: undefined reference to 'blink::areRangesEqual(blink::Range const*, blink::Range const*)'
external/chromium_org/third_party/WebKit/Source/web/TextFinder.cpp:580: e

ken 发表于 2016-2-27 09:10:28

切换回 ubuntu 14.04 这些问题都没了,还是ubuntu15.10的问题。

牛头 发表于 2016-2-27 09:44:52

开发环境最好不要去改变,稳定可靠才是最终的目标,不用跟时毛。

ken 发表于 2016-2-27 15:17:50

牛头 发表于 2016-2-27 09:44
开发环境最好不要去改变,稳定可靠才是最终的目标,不用跟时毛。

哎,我有安装操作系统洁癖。。。每次安装完就像女人逛街买了新衣服。。。一周一般安装2~3次。。。

bzhao 发表于 2016-2-29 00:12:17

http://www.linuxidc.com/Linux/2016-01/127287.htm

oldwang 发表于 2018-7-12 18:30:44

请问楼主 java doc的问题是怎么解决的

wx_Alen_VVU76 发表于 2022-6-17 21:12:20

ken 发表于 2016-2-27 09:10
切换回 ubuntu 14.04 这些问题都没了,还是ubuntu15.10的问题。

你好,我按照firefly官方的配置,用了Ubunt14.04还是出现了上述问题。很奇怪啊
页: [1]
查看完整版本: 请教RK3288 Android 5.1 编译问题