host C++: libart-compiler <= art/compiler/compiled_method.cc
libcore/luni/src/main/native/Register.cpp:36: error: undefined reference to 'register_android_system_OsConstants(_JNIEnv*)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/home/relocate/cm12.1/out/host/linux-x86/obj32/lib/libjavacore.so] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/home/relocate/cm12.1'
#### make failed to build some targets (48:23 (mm:ss)) ####
i keep geting this error , can someone help me out with it please?
Thanks in advance
rpdroky said:
host C++: libart-compiler <= art/compiler/compiled_method.cc
libcore/luni/src/main/native/Register.cpp:36: error: undefined reference to 'register_android_system_OsConstants(_JNIEnv*)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/home/relocate/cm12.1/out/host/linux-x86/obj32/lib/libjavacore.so] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/home/relocate/cm12.1'
#### make failed to build some targets (48:23 (mm:ss)) ####
i keep geting this error , can someone help me out with it please?
Thanks in advance
Click to expand...
Click to collapse
Not sure, but see if this post helps... http://forum.xda-developers.com/showpost.php?p=58073796&postcount=5
kozmo21 said:
Not sure, but see if this post helps... http://forum.xda-developers.com/showpost.php?p=58073796&postcount=5
Click to expand...
Click to collapse
Thanks for the tip sir , i did manage to build it , the second problem was i didn't add enough memory to the virtual machine
Cheers :highfive:
i want to change the default governor , can someone point me to the files i need to change? Thanks in advance :fingers-crossed:
Related
Hello. When i try compile my kernel i got some errors
i'm on ubuntu 10.04, 10.10, 11.04, 11.10.
I'm using theese commands:
Code:
make ARCH=arm iconiaa500_defconfig
with no problems it says 'configuration written to .config' then i cant find that file.
whet i try to compile it with this command
Code:
make ARCH=arm CROSS_COMPILE=/home/myhomedir./A500-kernel/toolchains/arm-2009q3/bin/arm-none-eabi- -j3
then at the end i get something like:
Code:
drivers/usb/host/ehci-hub.c:130: warning: 'ehci_adjust_port_wakeup_flags' defined but not used
drivers/usb/host/ehci-lpm.c:20: warning: 'ehci_lpm_set_da' defined but not used
drivers/usb/host/ehci-lpm.c:40: warning: 'ehci_lpm_check' defined but not used
net/mac80211/tx.c: In function 'ieee80211_subif_start_xmit':
net/mac80211/tx.c:1753: warning: unused variable 'mppath'
arch/arm/boot/compressed/piggy.lzo.S: Assembler messages:
arch/arm/boot/compressed/piggy.lzo.S:4: Error: file not found: arch/arm/boot/compressed/piggy.lzo
make[2]: *** [arch/arm/boot/compressed/piggy.lzo.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make: *** [zImage] Error 2
make: *** Waiting for unfinished jobs....
anyone knows whats problem? thanks for spending some time. Sorry for bad english.
I was try many guides include nethams and sp3dev's
HTML:
http://forum.xda-developers.com/showthread.php?t=1158260&page=24
HTML:
http://forum.xda-developers.com/showthread.php?t=1158260&page=9
I'm using astarasikov-iconia-gnu-kernel source.
Sorry for bad English.
I get random errors here and there at times when compiling CyanogenMod 11, like
external/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp: In member function 'void llvm::SDep::setLatency(unsigned int)':
external/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp:276:49: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://source.android.com/source/report-bugs.html> for instructions.
make: *** [/home/suyash/cm11/out/target/product/m7ul/obj/STATIC_LIBRARIES/libLLVMCodeGen_intermediates/ScheduleDAGInstrs.o] Error 1
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
/home/suyash/cm11/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/include/c++/4.6.x-google/bits/locale_facets.tcc:324:1: error: '$' was not declared in this scope
/home/suyash/cm11/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/include/c++/4.6.x-google/bits/locale_facets.tcc:324:9: error: expected ';' before '{' token
make: *** [/home/suyash/cm11/out/host/linux-x86/obj/STATIC_LIBRARIES/libclangCodeGen_intermediates/CGCleanup.o] Error 1
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
This is acceptable
then I get this error:
The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.
make[2]: *** [modules] Error 1
make[1]: *** [sub-make] Error 2
Click to expand...
Click to collapse
I can't find a way to fix this.
Ubuntu 13.10 x64
Building for HTC One m7ul
CyanogenMod 11
OpenJDK 1.6
I fetched all the required repos btw. Can anyone help in fixing the issues?
Hello everyone,
I´m trying compile form PA4+ repos. I follow the step in this guide (http://forum.xda-developers.com/moto-g/development/4-4-4-nightlies-paranoid-4-4-motorola-t2792041)
But no matter what I do always get the following error:
Code:
host Executable: clang (/home/levis/paranoid/out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang)
CC drivers/cpufreq/cpufreq_interactive.o
CC drivers/cpufreq/freq_table.o
../../../../../../kernel/motorola/msm8226/drivers/cpufreq/cpufreq_interactive.c: In function 'show_target_loads':
../../../../../../kernel/motorola/msm8226/drivers/cpufreq/cpufreq_interactive.c:813:6: warning: operation on 'ret' may be undefined [-Wsequence-point]
error, forbidden warning: cpufreq_interactive.c:813
make[4]: *** [drivers/cpufreq/cpufreq_interactive.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [drivers/cpufreq] Error 2
make[2]: *** [drivers] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/levis/paranoid/kernel/motorola/msm8226'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
Total time elapsed: 32 minutes (1937.343507123 seconds)
file does not exist or wrong directory located
Please Could you point me in the right direction.
- Solution 1
Delete the all folder (Yeah .. that's a shame ..) and resync again.
- Solution 2
Check if all the depency software is correctly installed.
- Solution 3
Use a prebuilt kernel
Code:
cd /yourpathtothesources/kernel/motorola/msm8226
make -j4 O=out
cp -R /yourpathtothesources/kernel/motorola/msm8226/out/* /yourpathtothesources/out/target/product/falcon/obj/KERNEL_OBJ
cp /yourpathtothesources/kernel/motorola/msm8226/out/arch/arm/boot/zImage /yourpathtothesources/out/target/product/falcon/kernel
Hope that's help.
Try first solution first !
thank you very much for your quick response. I will prove what you said and will post the results
Thanks +h2o64 , Whith the Solution 1, was perfect. Now I have installed and working my own compiled version.
levis_ap said:
Thanks +h2o64 , Whith the Solution 1, was perfect. Now I have installed and working my own compiled version.
Click to expand...
Click to collapse
Congrats! There is a new Linaro build toolchain! Personally I clean my entire build directory today
Sent from my Moto G using XDA Free mobile app
hi to everyone. i had always this error when compiling for my n7000. i ve tried a lot of source
cyanogen, liquid, omni and same. is anyone have idea about below ?
frameworks/rs/cpu_ref/rsCpuIntrinsics_neon_Blur.S: Assembler messages:
frameworks/rs/cpu_ref/rsCpuIntrinsics_neon_Blur.S:1429: Error: unexpected end of file in irp or irpc
clang: error: assembler command failed with exit code 1 (use -v to see invocation)
build/core/binary.mk:749: recipe for target '/home/*/omni/out/target/product/n7000/obj/SHARED_LIBRARIES/libRSCpuRef_intermediates/rsCpuIntrinsics_neon_Blur.o' failed
make: *** [/home/*/omni/out/target/product/n7000/obj/SHARED_LIBRARIES/libRSCpuRef_intermediates/rsCpuIntrinsics_neon_Blur.o] Error 1
make: *** Bitmemiş işler için bekliyor....
freedmm said:
hi to everyone. i had always this error when compiling for my n7000. i ve tried a lot of source
cyanogen, liquid, omni and same. is anyone have idea about below ?
frameworks/rs/cpu_ref/rsCpuIntrinsics_neon_Blur.S: Assembler messages:
frameworks/rs/cpu_ref/rsCpuIntrinsics_neon_Blur.S:1429: Error: unexpected end of file in irp or irpc
clang: error: assembler command failed with exit code 1 (use -v to see invocation)
build/core/binary.mk:749: recipe for target '/home/*/omni/out/target/product/n7000/obj/SHARED_LIBRARIES/libRSCpuRef_intermediates/rsCpuIntrinsics_neon_Blur.o' failed
make: *** [/home/*/omni/out/target/product/n7000/obj/SHARED_LIBRARIES/libRSCpuRef_intermediates/rsCpuIntrinsics_neon_Blur.o] Error 1
make: *** Bitmemiş işler için bekliyor....
Click to expand...
Click to collapse
Switch system language to english.Then start clean build.
Hi My Brothers...
I try build CM13.0. But all time error...
frameworks/rs/cpu_ref/rsCpuIntrinsics_neon_Blur.S: Assembler messages:
frameworks/rs/cpu_ref/rsCpuIntrinsics_neon_Blur.S:1503: Error: unexpected end of file in irp or irpc
/tmp/rsCpuIntrinsics_neon_Blur-e31cd5.s: Error: local label `"1" (instance number 2 of a fb label)' is not defined
clang: error: assembler command failed with exit code 1 (use -v to see invocation)
build/core/binary.mk:881: recipe for target '/home/mustachedocto/Cyanogenmod/out/target/product/hammerhead/obj/SHARED_LIBRARIES/libRSCpuRef_intermediates/rsCpuIntrinsics_neon_Blur.o' failed
make: *** [/home/mustachedocto/Cyanogenmod/out/target/product/hammerhead/obj/SHARED_LIBRARIES/libRSCpuRef_intermediates/rsCpuIntrinsics_neon_Blur.o] Error 1
make: *** Waiting for unfinished jobs....
target thumb C++: libRSCpuRef <= frameworks/rs/cpu_ref/rsCpuRuntimeMath.cpp
make: *** wait: No child processes. Stop.
#### make failed to build some targets (25:24 (mm:ss)) ####
Please help my m8 How to fix??