Havoc-OS / android_manifest

126 stars 107 forks source link

. #19

Closed JuampiCarosi closed 4 years ago

JuampiCarosi commented 4 years ago

I am trying to compile havoc 3.0 on mac os 10.13.6. Previously i got the error that darwin-x86 was not found in /prebuilts/go so I did git repo for aosp but now i am getting this error and idk what to do next

[ 2% 3/122] link /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/gotestrunner/obj/a.out FAILED: /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/gotestrunner/obj/a.out GOROOT='prebuilts/go/darwin-x86' prebuilts/go/darwin-x86/pkg/tool/darwin_amd64/link -o /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/gotestrunner/obj/a.out.tmp /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/gotestrunner/obj/gotestrunner.a && if cmp --quiet /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/gotestrunner/obj/a.out.tmp /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/gotestrunner/obj/a.out; then rm /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/gotestrunner/obj/a.out.tmp; else mv -f /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/gotestrunner/obj/a.out.tmp /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/gotestrunner/obj/a.out; fi runtime.main_main·f: function main is undeclared in the main package [ 3% 4/122] link /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/loadplugins/obj/a.out FAILED: /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/loadplugins/obj/a.out GOROOT='prebuilts/go/darwin-x86' prebuilts/go/darwin-x86/pkg/tool/darwin_amd64/link -o /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/loadplugins/obj/a.out.tmp /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/loadplugins/obj/loadplugins.a && if cmp --quiet /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/loadplugins/obj/a.out.tmp /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/loadplugins/obj/a.out; then rm /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/loadplugins/obj/a.out.tmp; else mv -f /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/loadplugins/obj/a.out.tmp /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/loadplugins/obj/a.out; fi runtime.main_main·f: function main is undeclared in the main package [ 4% 5/122] link /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/gotestmain/obj/a.out FAILED: /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/gotestmain/obj/a.out GOROOT='prebuilts/go/darwin-x86' prebuilts/go/darwin-x86/pkg/tool/darwin_amd64/link -o /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/gotestmain/obj/a.out.tmp /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/gotestmain/obj/gotestmain.a && if cmp --quiet /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/gotestmain/obj/a.out.tmp /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/gotestmain/obj/a.out; then rm /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/gotestmain/obj/a.out.tmp; else mv -f /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/gotestmain/obj/a.out.tmp /Volumes/android/WORKING_DIRECTORY/havoc/out/soong/.bootstrap/gotestmain/obj/a.out; fi runtime.main_main·f: function main is undeclared in the main package 11:34:53 soong bootstrap failed with: exit status 1

thank you in advance