(Q) Rom Building Errors - General Questions and Answers

I am trying to build OmNIROM 4.4 for the HTC Pyramid/Sensation. Attempting to use sultan's kernel as source but getting errors.
When using 'brunch pyramid' command, it goes fine until it hangs when it reaches the kernel compiling.
The start of the errors are in here: http://pastebin.com/Wvu8bNag
Also, after I control-c it gets this error.
Traceback (most recent call last):
File "/home/jon126/android/omni/kernel/htc/sultan/scripts/gcc-wrapper.py", line 116, in <module>
status = run_gcc()
File "/home/jon126/android/omni/kernel/htc/sultan/scripts/gcc-wrapper.py", line 100, in run_gcc
for line in proc.stderr:
KeyboardInterrupt
make[3]: *** [arch/arm/mm/abort-ev7.o] Interrupt
make[2]: *** [arch/arm/mm] Interrupt
make[1]: *** [sub-make] Interrupt
make: *** [TARGET_KERNEL_BINARIES] Interrupt

And..
Also another error which occurred afterwards was:
Target buildinfo: /home/jon126/android/omni/out/target/product/pyramid/system/build.prop
host Java: dumpkey (/home/jon126/android/omni/out/host/common/obj/JAVA_LIBRARIES/dumpkey_intermediates/classes)
/bin/bash: -c: line 23: unexpected EOF while looking for matching `"'
/bin/bash: -c: line 25: syntax error: unexpected end of file
make: *** [/home/jon126/android/omni/out/target/product/pyramid/system/build.prop] Error 1
make: *** Waiting for unfinished jobs....
Please help.

bump

I m also getting the same issue for the file init.qcom.rc located in out/target/product/a6000/root i guess ur problem must be solved can u guide me through this
It says
Install: /home/adikhadase044/halogen/out/target/product/a6000/root/init.qcom.rc
/bin/bash -c: line 0: unexpected EOF while looking for matching '"
/bin/bash. -c: line 1: syntax error: unexpected end of file

Related

[Q] building cyanogenmod gingerbread

I am trying to build the kernel from source.
I followed the instructions from http://oldwiki.cyano...nel_from_source .
I did:
git clone git://github.com/CyanogenMod/cm-kernel.git
cd cm-kernel
git branch -a
git checkout supersonic-2.6.34
export PATH=$PATH:/home/zoi/android/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin
make ARCH=arm CROSS_COMPILE=/home/zoi/android/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- supersonic_defconfig
make -j4 ARCH=arm
and the zimage in the /arch/arm/boot folder is not created. The building process just stops :with error
2.c: In function 'msm_v4l2_video_dev_init':
drivers/media/video/msm/msm_v4l2.c:713: error: 'VID_TYPE_CAPTURE' undeclared (first use in this function)
drivers/media/video/msm/msm_v4l2.c:713: error: (Each undeclared identifier is reported only once
drivers/media/video/msm/msm_v4l2.c:713: error: for each function it appears in.)
make[4]: *** [drivers/media/video/msm/msm_v4l2.o] Error 1
make[3]: *** [drivers/media/video/msm] Error 2
make[2]: *** [drivers/media/video] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2
Am i doing something wrong?

[Q] rscpuintrinsics_neon_blur

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.

Cm12.1 build error

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:

[Completed] Help with Compiling Kernel (make mrproper and make recoveryimage errors)

So! I've tried searching forever but am unable to figure out these issues. (this is for Cyanogen 12.1)
This error comes up when make mrproper is ran:
Code:
"CONFIG_TRUSTONIC_TEE_SUPPORT = "
scripts/Makefile.clean:17: /home/ellie/android/system/kernel/alps/eMAX/drivers/misc/mediatek/cam_cal/src//BRCB032GWZ_3_eeprom/Makefile: No such file or directory
make[4]: *** No rule to make target `/home/ellie/android/system/kernel/alps/eMAX/drivers/misc/mediatek/cam_cal/src//BRCB032GWZ_3_eeprom/Makefile'. Stop.
make[3]: *** [drivers/misc/mediatek/cam_cal/src//BRCB032GWZ_3_eeprom] Error 2
make[2]: *** [drivers/misc/mediatek] Error 2
make[1]: *** [drivers/misc] Error 2
make: *** [_clean_drivers] Error 2
#### make failed to build some targets (1 seconds) ####
For when it states:
Code:
`/home/ellie/android/system/kernel/alps/eMAX/drivers/misc/mediatek/cam_cal/src//BRCB032GWZ_3_eeprom/Makefile
'. There should be mt6752 inbetween the two // like so:
Code:
`/home/ellie/android/system/kernel/alps/eMAX/drivers/misc/mediatek/cam_cal/src/[B]mt6752[/B]/BRCB032GWZ_3_eeprom/Makefile'.
And when make recoveryimage is ran:
Code:
make[1]: Entering directory `/home/ellie/android/system/kernel/alps/eMAX'
GEN /home/ellie/android/system/out/target/product/eMAX/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[4]: *** [silentoldconfig] Error 1
make[3]: *** [silentoldconfig] Error 2
make[2]: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/ellie/android/system/kernel/alps/eMAX'
make: *** [TARGET_KERNEL_BINARIES] Error 2
#### make failed to build some targets (03:06 (mm:ss)) ####
I am super stumped on what to do. I have ran "make menuconfig" many times, but cannot get the darn system to find the file! I have specified the config in the TARGET_KERNEL_CONFIG in the boardconfig.mk and there is 1 ".config" and my file that is specified by the TARGET... So, What can I do to get this to work?
Bump? For some more clear info.. I ran make menuconfig in the Kernel dir. And there is a .config in the root. Lunch is added correctly and source build/envsetup.sh is ran before this is all started.. So. I have no idea what to do..
Sent from my UMI eMAX using Tapatalk
J.Naw said:
So! I've tried searching forever but am unable to figure out these issues. (this is for Cyanogen 12.1)
This error comes up when make mrproper is ran:
Code:
"CONFIG_TRUSTONIC_TEE_SUPPORT = "
scripts/Makefile.clean:17: /home/ellie/android/system/kernel/alps/eMAX/drivers/misc/mediatek/cam_cal/src//BRCB032GWZ_3_eeprom/Makefile: No such file or directory
make[4]: *** No rule to make target `/home/ellie/android/system/kernel/alps/eMAX/drivers/misc/mediatek/cam_cal/src//BRCB032GWZ_3_eeprom/Makefile'. Stop.
make[3]: *** [drivers/misc/mediatek/cam_cal/src//BRCB032GWZ_3_eeprom] Error 2
make[2]: *** [drivers/misc/mediatek] Error 2
make[1]: *** [drivers/misc] Error 2
make: *** [_clean_drivers] Error 2
#### make failed to build some targets (1 seconds) ####
For when it states:
Code:
`/home/ellie/android/system/kernel/alps/eMAX/drivers/misc/mediatek/cam_cal/src//BRCB032GWZ_3_eeprom/Makefile
'. There should be mt6752 inbetween the two // like so:
Code:
`/home/ellie/android/system/kernel/alps/eMAX/drivers/misc/mediatek/cam_cal/src/[B]mt6752[/B]/BRCB032GWZ_3_eeprom/Makefile'.
And when make recoveryimage is ran:
Code:
make[1]: Entering directory `/home/ellie/android/system/kernel/alps/eMAX'
GEN /home/ellie/android/system/out/target/product/eMAX/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[4]: *** [silentoldconfig] Error 1
make[3]: *** [silentoldconfig] Error 2
make[2]: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/ellie/android/system/kernel/alps/eMAX'
make: *** [TARGET_KERNEL_BINARIES] Error 2
#### make failed to build some targets (03:06 (mm:ss)) ####
I am super stumped on what to do. I have ran "make menuconfig" many times, but cannot get the darn system to find the file! I have specified the config in the TARGET_KERNEL_CONFIG in the boardconfig.mk and there is 1 ".config" and my file that is specified by the TARGET... So, What can I do to get this to work?
Click to expand...
Click to collapse
Hello,
Thanks for using XDA Assist.
Try posting your query in Android Q&A,Help and Troubleshooting or in one of the noob friendly Q&A thread here->[Ask Any Question][Newbie Friendly] .Experts there may be able to help you!
Good Luck
___
v7
XDA Assist

Please Help... "rsCpuIntrinsics_neon_Blur.o"

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??

Categories

Resources