Code:
hardware/qcom/media-caf/mm-video/vidc/vdec/inc/frameparser.h: In constructor 'frame_parse::frame_parse()':
hardware/qcom/media-caf/mm-video/vidc/vdec/inc/frameparser.h:94:17: warning: 'frame_parse::bytes_tobeparsed' will be initialized after [-Wreorder]
hardware/qcom/media-caf/mm-video/vidc/vdec/inc/frameparser.h:67:14: warning: 'H264_Utils* frame_parse::mutils' [-Wreorder]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/frameparser.cpp:76:1: warning: when initialized here [-Wreorder]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/frameparser.cpp: In member function 'int frame_parse::parse_sc_frame(OMX_BUFFERHEADERTYPE*, OMX_BUFFERHEADERTYPE*, OMX_U32*)':
hardware/qcom/media-caf/mm-video/vidc/vdec/src/frameparser.cpp:215:16: warning: enumeration value 'A5' not handled in switch [-Wswitch]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/frameparser.cpp:365:14: warning: enumeration value 'A4' not handled in switch [-Wswitch]
hardware/qcom/media-caf/mm-video/vidc/vdec/src/frameparser.cpp:365:14: warning: enumeration value 'A5' not handled in switch [-Wswitch]
hardware/qcom/media-caf/mm-video/vidc/vdec/test/omx_vdec_test.cpp:56:0: warning: "LOG_TAG" redefined [enabled by default]
In file included from system/core/include/cutils/log.h:1:0,
from system/core/include/utils/Vector.h:24,
from frameworks/native/include/binder/IBinder.h:23,
from frameworks/native/include/binder/Binder.h:20,
from frameworks/native/include/binder/IInterface.h:21,
from frameworks/native/include/binder/IMemory.h:26,
from frameworks/native/include/binder/MemoryHeapBase.h:23,
from hardware/qcom/media-caf/mm-video/vidc/vdec/test/omx_vdec_test.cpp:51:
system/core/include/log/log.h:68:0: note: this is the location of the previous definition
hardware/qcom/media-caf/mm-video/vidc/vdec/test/omx_vdec_test.cpp:84:27: fatal error: linux/msm_mdp.h: No such file or directory
compilation terminated.
target thumb C++: libOmxVdec <= hardware/qcom/media-caf/mm-video/vidc/vdec/src/mp4_utils.cpp
make: *** [/home/zeroblade1984/Android/omni/out/target/product/m7ul/obj/EXECUTABLES/mm-vdec-omx-test_intermediates/test/omx_vdec_test.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from hardware/qcom/media-caf/mm-video/vidc/vdec/src/h264_utils.cpp:49:0:
hardware/qcom/media-caf/mm-video/vidc/common/inc/extra_data_handler.h:37:31: fatal error: linux/msm_vidc_dec.h: No such file or directory
compilation terminated.
make: *** [/home/zeroblade1984/Android/omni/out/target/product/m7ul/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/src/h264_utils.o] Error 1
In file included from hardware/qcom/media-caf/mm-video/vidc/vdec/src/mp4_utils.cpp:29:0:
hardware/qcom/media-caf/mm-video/vidc/vdec/inc/omx_vdec.h:53:27: fatal error: linux/msm_ion.h: No such file or directory
compilation terminated.
make: *** [/home/zeroblade1984/Android/omni/out/target/product/m7ul/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/src/mp4_utils.o] Error 1
real 6m45.287s
user 13m46.486s
sys 4m52.261s
i have been wretched all day building Omni for M7 and i am plagued by the errors above..been googling around to see if there's a way but to no futile response..hope some can help with this..just repo sync'd everything before i built
I'm really confused, that looks like a mismatch between the kernel and media-caf (indicating the kernel needs updating), but...
m7ul is successfully building? http://dl.omnirom.org/m7ul/
Did you perhaps accidentally sync a kernel, device, or media-caf tree from CM????
Entropy512 said:
I'm really confused, that looks like a mismatch between the kernel and media-caf (indicating the kernel needs updating), but...
m7ul is successfully building? http://dl.omnirom.org/m7ul/
Did you perhaps accidentally sync a kernel, device, or media-caf tree from CM????
Click to expand...
Click to collapse
i had it building..yes seems you are right..i accidentlly synced CM kernel..lolz..i have one question though..how to i remove the advanced settings package??as i have cleaned the kernel source and updated a few stuff..also updated some blobs and from my testing point everything is working..except that off course the Advanced settings is left out gray since i removed most of the stuff and left the kernel stockish..
kairi_zeroblade said:
i accidentlly synced CM kernel..lolz.
Click to expand...
Click to collapse
How dafuq can you "accidentally" sync a wrong kernel? smh
chasmodo said:
How dafuq can you "accidentally" sync a wrong kernel? smh
Click to expand...
Click to collapse
i alread had the manifests setup before and YES i did some experimenting on my own..good thing Entropy reminded me of that mistake.. :silly:
Related
Hello. When i try compile my kernel i got some errors
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.
Tautvaldas said:
Hello. When i try compile my kernel i got some errors
Sorry for bad English.
Click to expand...
Click to collapse
You may want to post this in the main Android Dev thread.
where? Questions and Answers? maybe.
Never mind, thanks, no need it anymore, I've got it, fixed all problems and found solutions. thanks.
One more question. If i set initrd files location in kernel config, can i unpack initramfs.cpio from my compiled kernel zImage after compile it. I tryed unpack .config file from zImage, it works fine, but i want unpack initramfs if it possible?
Ok guys lets all post our build errors here for a more organized help and support. And so that we can help each other out
Sent from my Gnome Shelled Mako
Good idea , hope someone will know this one.
Export includes file: hardware/libhardware_legacy/audio/Android.mk -- /home/elio/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/audio_policy.default_intermediates/export_includes
Export includes file: hardware/qcom/display/libgenlock/Android.mk -- /home/elio/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libgenlock_intermediates/export_includes
Export includes file: device/lge/mako/camera/mm-camera-interface/Android.mk -- /home/elio/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libmmcamera_interface2_intermediates/export_includes
make: *** No rule to make target `/home/elio/android/omni/out/target/product/mako/obj/KERNEL_OBJ/usr', needed by `/home/elio/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libgenlock_intermediates/genlock.o'. Stop.
make: *** Waiting for unfinished jobs....
Import includes file: /home/elio/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libmmcamera_interface2_intermediates/import_includes
Click to expand...
Click to collapse
i have been trying to build for mako and i get stuck at this error.
i'm ubuntu 12.04 64bit.
Looks like a kernel error.
Add this lines to your local_manifest
Code:
<project name="omnirom/android_device_lge_mako" path="device/lge/mako" remote="github" revision="android-4.3" />
<project name="omnirom/android_kernel_lge_mako" path="kernel/lge/mako" remote="github" revision="android-4.3" />
then
Code:
repo sync -j4 && make clean && . build/envsetup.sh && time brunch mako
fix for most errors
Gnome said:
Ok guys lets all post our build errors here for a more organized help and support. And so that we can help each other out
Sent from my Gnome Shelled Mako
Click to expand...
Click to collapse
I am just starting out on building Roms but for almost any error even if you can't fix it just delete your folder/directory with the source and reinitialize repo in a new directory
Sent from my lg optimus f6 which boot loader can't be unlocked I'm never getting a new lg phone
help
alright ive been trying to port kitkat to my f6 for a week or so and i just hit this error and yes i have included msmb_camera.h in my PATH and put it in a few dirs named media also in my usr/bin and /bin and /sbin can anyone find how to fix it here it is
Code:
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_channel.c:40:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_stream.c:44:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera.c:42:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_interface.c:40:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_channel.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_stream.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_interface.o] Error 1
UPADTE
alright i solved this by puting msmb_camera.h in hardware/qcom/msm8x74/kernel-headers/media
please hit that thanks button if i helped
codingninja62001 said:
alright ive been trying to port kitkat to my f6 for a week or so and i just hit this error and yes i have included msmb_camera.h in my PATH and put it in a few dirs named media also in my usr/bin and /bin and /sbin can anyone find how to fix it here it is
Code:
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_channel.c:40:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_stream.c:44:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera.c:42:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_interface.c:40:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_channel.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_stream.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_interface.o] Error 1
UPADTE
alright i solved this by puting msmb_camera.h in hardware/qcom/msm8x74/kernel-headers/media
please hit that thanks button if i helped
Click to expand...
Click to collapse
Most likely Omni does not have any non-Nexus devices that compile the camera HAL from source, and as a result does not yet pull in kernel headers for the camera HAL.
https://github.com/omnirom/android_...mmit/6736097aeaed860eefdf90ebbb145cc310b564b4 can give you a rough idea of how to convert something set to use prebuilt kernel headers to one that uses headers from the kernel being built.
What's an f6???
Entropy512 said:
Most likely Omni does not have any non-Nexus devices that compile the camera HAL from source, and as a result does not yet pull in kernel headers for the camera HAL.
https://github.com/omnirom/android_...mmit/6736097aeaed860eefdf90ebbb145cc310b564b4 can give you a rough idea of how to convert something set to use prebuilt kernel headers to one that uses headers from the kernel being built.
What's an f6???
Click to expand...
Click to collapse
okey it isn't omni its cyanogenmod and f6 as LG optimus f6 a budget phone that ive working on a port for and can you explain in a little more detail and my KERNEL_OBJ/usr is empty so no source there
---------- Post added at 05:13 PM ---------- Previous post was at 04:35 PM ----------
Entropy512 said:
Most likely Omni does not have any non-Nexus devices that compile the camera HAL from source, and as a result does not yet pull in kernel headers for the camera HAL.
https://github.com/omnirom/android_...mmit/6736097aeaed860eefdf90ebbb145cc310b564b4 can give you a rough idea of how to convert something set to use prebuilt kernel headers to one that uses headers from the kernel being built.
What's an f6???
Click to expand...
Click to collapse
Hey can you help me with this new error i had fixed that one yesterday not much detail it spits out do you know how to declare GRALLOC_USAGE_PRIVATE_INTERNAL_ONLY or fix this
Code:
frameworks/native/libs/gui/Surface.cpp: In member function 'virtual android::status_t android::Surface::lock(ANativeWindow_Buffer*, ARect*)':
frameworks/native/libs/gui/Surface.cpp:818:29: error: 'GRALLOC_USAGE_PRIVATE_INTERNAL_ONLY' was not declared in this scope
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libgui_intermediates/Surface.o] Error 1
make: *** Waiting for unfinished jobs....
Please help me
build/core/base_rules.mk:316: warning: overriding commands for target `/home/govind/n/out/target/product/Z00L/system/xbin/wget' ./external/busybox/Android.mk:171: warning: ignoring old commands for target `/home/govind/n/out/target/product/Z00L/system/xbin/wget' vendor/cm/build/tasks/kernel.mk:285: warning: overriding commands for target `/home/govind/n/out/target/product/Z00L/obj/KERNEL_OBJ/.config' build/core/tasks/kernel.mk:209: warning: ignoring old commands for target `/home/govind/n/out/target/product/Z00L/obj/KERNEL_OBJ/.config' vendor/cm/build/tasks/kernel.mk:299: warning: overriding commands for target `TARGET_KERNEL_BINARIES' build/core/tasks/kernel.mk:220: warning: ignoring old commands for target `TARGET_KERNEL_BINARIES' vendor/cm/build/tasks/kernel.mk:348: warning: overriding commands for target `kerneltags' build/core/tasks/kernel.mk:252: warning: ignoring old commands for target `kerneltags' vendor/cm/build/tasks/kernel.mk:353: warning: overriding commands for target `kernelconfig' build/core/tasks/kernel.mk:255: warning: ignoring old commands for target `kernelconfig' vendor/cm/build/tasks/kernel.mk:372: warning: overriding commands for target `/home/govind/n/out/target/product/Z00L/kernel' build/core/tasks/kernel.mk:269: warning: ignoring old commands for target `/home/govind/n/out/target/product/Z00L/kernel' Starting build with ninja ninja: Entering directory `.' ninja: error: '/home/govind/n/out/target/product/Z00L/obj/SHARED_LIBRARIES/libqmiservices_intermediates/export_includes', needed by '/home/govind/n/out/target/product/Z00L/obj/EXECUTABLES/wcnss_service_intermediates/import_includes', missing and no known rule to make it make: *** [ninja_wrapper] Error 1 #### make failed to build some targets (25 seconds) #### Build step 'Execute shell' marked build as failure FTP: Current build result is [FAILURE], not going to run. Finished: FAILURE
https://hastebin.com/qixotiyuqo.sql plz help me in sorting out this error
So I am building Omni Rom for my device which is not currently supported by Omni. I have declared the kernel, device in the local manifest. I am getting the below error:
No private recovery resources for TARGET_DEVICE d2att
build/core/tasks/kernel.mk:65: ***************************************************************
build/core/tasks/kernel.mk:66: * Using prebuilt kernel binary instead of source *
build/core/tasks/kernel.mk:67: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED
http://hastebin.com/yapimovido.md
Putting the kernel repo in local_manifest.xml is not enough. You have to add the path to the kernel local source and its target defconfig to your device's BoardConfig.mk.
For example, see n7100 BoardConfig.mk here: https://github.com/omnirom/android_device_samsung_n7100/blob/android-4.4/BoardConfig.mk
Lines 30-32.
chasmodo said:
Putting the kernel repo in local_manifest.xml is not enough. You have to add the path to the kernel local source and its target defconfig to your device's BoardConfig.mk.
For example, see n7100 BoardConfig.mk here: https://github.com/omnirom/android_device_samsung_n7100/blob/android-4.4/BoardConfig.mk
Lines 30-32.
Click to expand...
Click to collapse
I fixed that by changing the reference of the d2 kernel in the d2-common folder.
Now I am getting the following error:
http://hastebin.com/cehadiwika.vhdl
matrixzone said:
I fixed that by changing the reference of the d2 kernel in the d2-common folder.
Now I am getting the following error:
http://hastebin.com/cehadiwika.vhdl
Click to expand...
Click to collapse
Go to device/samsung/d2-common/overlay/frameworks/base/core/res/res/values/config.xml and comment out the three lines containing
config_forceDisableHardwareKeyboard
config_panelAutoBrightnessValue
config_enableTorch
like this
<!-- <bool name="config_forceDisableHardwareKeyboard">true/false/whatever</bool> -->
chasmodo said:
Go to device/samsung/d2-common/overlay/frameworks/base/core/res/res/values/config.xml and comment out the three lines containing
config_forceDisableHardwareKeyboard
config_panelAutoBrightnessValue
config_enableTorch
like this
<!-- <bool name="config_forceDisableHardwareKeyboard">true/false/whatever</bool> -->
Click to expand...
Click to collapse
Thanks for your response but I have deleted the overlay folder. Will that work?
matrixzone said:
Thanks for your response but I have deleted the overlay folder. Will that work?
Click to expand...
Click to collapse
No, it won't. Even if you pull off a build with no errors, many of the device specific settings will be lost.
rm -rf /device folder, resync and solve the overlay error in the proper fashion.
chasmodo said:
No, it won't. Even if you pull off a build with no errors, many of the device specific settings will be lost.
rm -rf /device folder, resync and solve the overlay error in the proper fashion.
Click to expand...
Click to collapse
That fixed the issue. Thanks.
Now new error:
----- Making recovery image ------
error: could not load kernel '/home/kunal/android/omni/kernel/samsung/d2att'
make: *** [/home/kunal/android/omni/out/target/product/d2att/recovery.img] Error 1
I have defined the correct location of the kernel, but still getting the above error
Getting this error:
hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:3227:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:3248:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:3260:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:3270:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make: *** [/home/kunal/android/omni/out/target/product/d2att/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/src/video_encoder_device.o] Error 1
Manage to nail all error, now stuck in the below:
hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1615:3: error: 'struct venc_entropycfg' has no member named 'longentropysel'
Code:
build/core/Makefile:70: warning: overriding commands for target `/home/karishnu/android/omni/out/target/product/mako/system/vendor/etc/audio_effects.conf'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/karishnu/android/omni/out/target/product/mako/system/vendor/etc/audio_effects.conf'
No private recovery resources for TARGET_DEVICE mako
host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c
prebuilts/tools/gcc-sdk/gcc: line 40: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/i686-linux-gcc: No such file or directory
make: *** [/home/karishnu/android/omni/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg.o] Error 127
real 2m5.615s
user 0m54.109s
sys 0m20.064s
while building for mako I get this error. I resynced the repo many times. Have no clue why i get this error. Using ubuntu 13.10 for building. i have also tried
Code:
breakfast mako
That is no error but a warning
Sent from my N1 using Tapatalk
maxwen said:
That is no error but a warning
Sent from my N1 using Tapatalk
Click to expand...
Click to collapse
I mean the no such file or directory error. anyway the build process stops after giving that error.
So I'm just trying to build CM14(I'm well aware it's basically stock android at this point), and I'm getting quite far in the build process, but getting some errors. I was hoping someone a little more experienced might be able to give me some insight on what the issue is.
Here's the most recent bit from the console:
Code:
/home/kronflux/android/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/kronflux/android/out/target/product/angler/obj/ETC/sepolicy.recovery_intermediates/policy_recovery.conf
host Java: dumpkey (/home/kronflux/android/out/host/common/obj/JAVA_LIBRARIES/dumpkey_intermediates/classes)
device/huawei/angler/sepolicy/file.te:30:ERROR 'duplicate declaration of type/attribute' at token ';' on line 21108:
type sysfs_thermal, sysfs_type, fs_type;
type sysfs_surfaceflinger, fs_type, sysfs_type;
checkpolicy: error(s) encountered while parsing configuration
system/sepolicy/Android.mk:140: recipe for target '/home/kronflux/android/out/target/product/angler/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery' failed
make: *** [/home/kronflux/android/out/target/product/angler/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery] Error 1
make: *** Waiting for unfinished jobs....
target Export Resources: framework-res (/home/kronflux/android/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk)
nothing matches overlay file default_wallpaper.png, for flavor hdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xhdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xxhdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xxxhdpi-v4
frameworks/base/core/res/res/values/cm_symbols.xml:21: warning: <private-symbols> is deprecated. Use the command line flag --private-symbols instead.
frameworks/base/core/res/res/values/cm_symbols.xml:21: warning: private symbol package already specified. Ignoring...
warning: string 'allow_button' has no default translation.
warning: string 'deny_button' has no default translation.
warning: string 'gsm_alphabet_default_charset' has no default translation.
warning: string 'other_permissions' has no default translation.
warning: string 'permission_title' has no default translation.
res/drawable-nodpi-v4/default_wallpaper.png:0: error: Resource entry default_wallpaper is already defined.
res/drawable-nodpi-v4/default_wallpaper.jpg:0: Originally defined here.
device/huawei/angler/overlay/frameworks/base/core/res/res/values/config.xml:29: error: Resource at config_orientationSensorType appears in overlay but not in the base package; use <add-resource> to add.
build/core/package_internal.mk:389: recipe for target '/home/kronflux/android/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk' failed
make: *** [/home/kronflux/android/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
make: *** Deleting file '/home/kronflux/android/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
make: Leaving directory '/home/kronflux/android'
#### make failed to build some targets (04:00:18 (hh:mm:ss)) ####
kronflux said:
So I'm just trying to build CM14(I'm well aware it's basically stock android at this point), and I'm getting quite far in the build process, but getting some errors. I was hoping someone a little more experienced might be able to give me some insight on what the issue is.
Here's the most recent bit from the console:
Code:
/home/kronflux/android/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/kronflux/android/out/target/product/angler/obj/ETC/sepolicy.recovery_intermediates/policy_recovery.conf
host Java: dumpkey (/home/kronflux/android/out/host/common/obj/JAVA_LIBRARIES/dumpkey_intermediates/classes)
device/huawei/angler/sepolicy/file.te:30:ERROR 'duplicate declaration of type/attribute' at token ';' on line 21108:
type sysfs_thermal, sysfs_type, fs_type;
type sysfs_surfaceflinger, fs_type, sysfs_type;
checkpolicy: error(s) encountered while parsing configuration
system/sepolicy/Android.mk:140: recipe for target '/home/kronflux/android/out/target/product/angler/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery' failed
make: *** [/home/kronflux/android/out/target/product/angler/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery] Error 1
make: *** Waiting for unfinished jobs....
target Export Resources: framework-res (/home/kronflux/android/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk)
nothing matches overlay file default_wallpaper.png, for flavor hdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xhdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xxhdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xxxhdpi-v4
frameworks/base/core/res/res/values/cm_symbols.xml:21: warning: <private-symbols> is deprecated. Use the command line flag --private-symbols instead.
frameworks/base/core/res/res/values/cm_symbols.xml:21: warning: private symbol package already specified. Ignoring...
warning: string 'allow_button' has no default translation.
warning: string 'deny_button' has no default translation.
warning: string 'gsm_alphabet_default_charset' has no default translation.
warning: string 'other_permissions' has no default translation.
warning: string 'permission_title' has no default translation.
res/drawable-nodpi-v4/default_wallpaper.png:0: error: Resource entry default_wallpaper is already defined.
res/drawable-nodpi-v4/default_wallpaper.jpg:0: Originally defined here.
device/huawei/angler/overlay/frameworks/base/core/res/res/values/config.xml:29: error: Resource at config_orientationSensorType appears in overlay but not in the base package; use <add-resource> to add.
build/core/package_internal.mk:389: recipe for target '/home/kronflux/android/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk' failed
make: *** [/home/kronflux/android/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
make: *** Deleting file '/home/kronflux/android/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
make: Leaving directory '/home/kronflux/android'
#### make failed to build some targets (04:00:18 (hh:mm:ss)) ####
Click to expand...
Click to collapse
you need to go to overlay/frameworks/base/core/res/res/values/config.xml at you device tree and find "config_orientationSensorType", delete it or change it as comment with <!-- -->
Also you will find major probs at sepolicies when building
leskal said:
you need to go to overlay/frameworks/base/core/res/res/values/config.xml at you device tree and find "config_orientationSensorType", delete it or change it as comment with <!-- -->
Also you will find major probs at sepolicies when building
Click to expand...
Click to collapse
I ended up getting it to build last night with various errors and poking around to fix it.
Unfortunately it wouldn't boot, so who knows what else needs to be done. I guess I'll just have to wait for the pros to get it up and running, and stick with AOSP for now.
Thanks for the reply though.