Firefly Open Source Community

Title: Trying to compile android 6.0 image file [Print This Page]

Author: cmi    Time: 6/18/2017 13:43
Title: Trying to compile android 6.0 image file
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?


Author: isle    Time: 6/19/2017 10:07
did you  get the latest source code?
Author: cmi    Time: 6/21/2017 03:18
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.




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1