Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Trying to compile android 6.0 image file

77

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
77

Trying to compile android 6.0 image file

Posted at 6/18/2017 13:43:24      View:2800 | Replies:2        Print      Only Author   [Copy Link] 1#
Following this guide: http://wiki.t-firefly.com/index. ... 99/Build_android/en

when i run
  1. <pre>cd ~/proj/firefly-rk3399/
  2. ./FFTools/make.sh -j8</pre>
Copy the code
it gives me the following error and does not complete:

  1. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  2. build/core/host_shared_library_internal.mk:51: recipe for target 'out/host/linux-x86/obj32/lib/libart.so' failed
  3. make: *** [out/host/linux-x86/obj32/lib/libart.so] Error 1
Copy the code
More of the output from compiler:
https://pastebin.com/GV25kPu2

As far as i can tell I am missing this libart.so file, however I have not made any changes since downloading the source code.

how do i fix this error?

Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 6/19/2017 10:07:40        Only Author  2#
did you  get the latest source code?
Reply

Use props Report

77

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
77
Posted at 6/21/2017 03:18:44        Only Author  3#
yes i have the latest source code,  I didn't establish the build environment correctly i must have missed a sudo somewhere and didn't notice it.

after going through https://source.android.com/source/initializing again it compiled correctly.
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list