PAC-ROM logo
  • ¡Welcome to the PAC-ROM Forum!
  • Don't forget to follow us on Google+, Facebook, or Twitter!
  • Hi , Your primary usergroup is: Guests
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Building Error
#1
I've tried following all of the instructions posted on GitHub and XDA, but when I try to compile from source I get the following error after about 80 minutes:

Code:
target thumb C++: content_content_common_gyp <= external/chromium_org/content/co                                                                                                    mmon/android/surface_texture_peer.cc
target thumb C++: content_content_common_gyp <= external/chromium_org/content/co                                                                                                    mmon/android/trace_event_binding.cc
In file included from external/chromium_org/content/common/android/hash_set.cc:5                                                                                                    :0:
/home/mk/android/out/target/product/hammerhead/obj/GYP/shared_intermediates/cont                                                                                                    ent/jni/HashSet_jni.h:24:20: error: expected initializer before '<' token
/home/mk/android/out/target/product/hammerhead/obj/GYP/shared_intermediates/cont                                                                                                    ent/jni/HashSet_jni.h:26:17: error: expected initializer before '<' token
/home/mk/android/out/target/product/hammerhead/obj/GYP/shared_intermediates/cont                                                                                                    ent/jni/HashSet_jni.h:29:22: error: expected '{' before '<' token
/home/mk/android/out/target/product/hammerhead/obj/GYP/shared_intermediates/cont                                                                                                    ent/jni/HashSet_jni.h:29:22: error: expected unqualified-id before '<' token
external/chromium_org/content/common/android/hash_set.cc:30:1: error: expected '                                                                                                    }' at end of input
target thumb C++: content_content_common_gyp <= external/chromium_org/content/co                                                                                                    mmon/browser_plugin/browser_plugin_constants.cc
cc1plus: all warnings being treated as errors
make: *** [/home/mk/android/out/target/product/hammerhead/obj/STATIC_LIBRARIES/c                                                                                                    ontent_content_common_gyp_intermediates/content/common/android/hash_set.o] Error                                                                                                     1
make: *** Waiting for unfinished jobs....

/home/mk/android/out/target/product/hammerhead/pac_hammerhead-ota-eng.mk.zip doe                                                                                                    sn't exist!

Any ideas?
 

 
 
Reply
#2
(02-19-2014, 12:09 AM)moffa Wrote: I've tried following all of the instructions posted on GitHub and XDA, but when I try to compile from source I get the following error after about 80 minutes:

Any ideas?
 

 

Looks like your system is running out of resources.... Do you have at least 8GB ram? also make sure that you are using oracle jdk and not open jdk


Sent from my ST18i using Tapatalk
Device Honami | ROM PAC-5.1 | Kernel M5
Device Urushi | ROM PAC-5.0 | Kernel LegacyXperia | Retired
 
Reply
#3
I'm running through VirtualBox, the VM has 11 GB of RAM and I'm using Java:

Code:
mk@ubuntu:~/android$ java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

Could it be Java 1.7 causing issues?
 
Reply
#4
Java 1.6 is preferred

Sent from my ST18i using Tapatalk
Device Honami | ROM PAC-5.1 | Kernel M5
Device Urushi | ROM PAC-5.0 | Kernel LegacyXperia | Retired
 
Reply
#5
Thanks that was the issue.

Sent from my Nexus 5 using Tapatalk
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)