when i build it throws me the following and stops ...
/home/creator/cm11/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/creator/cm11/out/target/product/i927/obj/ETC/sepolicy_intermediates/policy.conf
device/samsung/i927/selinux/device.te":3:ERROR 'duplicate declaration of type/attribute' at token ';' on line 7490:
type nv_device, dev_type, mlstrustedobject;
type tegra_device, dev_type, mlstrustedobject;
checkpolicy: error(s) encountered while parsing configuration
make: *** [/home/creator/cm11/out/target/product/i927/obj/ETC/sepolicy_intermediates/sepolicy] Error 1
please any help appreciated...thank you...
Hi All,
I'm compiling cyanogenmod 13.0 for Redmi 1s and stuck at following errors.
Code:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/classes.jar
target Java: qcmediaplayer (/home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes)
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar
Check package name for /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/voip-common_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/classes.jar
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar: unknown package name of class file org/codeaurora/camera/ExtendedFace.class
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar: unknown package name of class file org/codeaurora/ims/qtiims/IQtiImsInterface$Stub$Proxy.class
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar: unknown package name of class file com/qualcomm/qcmedia/QCMediaPlayer$OnMPDAttributeListener.class
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/classes.jar: unknown package name of class file com/quicinc/tcmiface/DpmTcmIface.class
make: *** [/home/sysadmin/Rahul/cm13.0/out/target/common/obj/PACKAGING/boot-jars-package-check_intermediates/stamp] Error 1
#### make failed to build some targets (08:30 (mm:ss)) ####
Can anyone help me to solve this errors?
Rahul Dhobi said:
Hi All,
I'm compiling cyanogenmod 13.0 for Redmi 1s and stuck at following errors.
Code:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/classes.jar
target Java: qcmediaplayer (/home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes)
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar
Check package name for /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/voip-common_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/classes.jar
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar: unknown package name of class file org/codeaurora/camera/ExtendedFace.class
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar: unknown package name of class file org/codeaurora/ims/qtiims/IQtiImsInterface$Stub$Proxy.class
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar: unknown package name of class file com/qualcomm/qcmedia/QCMediaPlayer$OnMPDAttributeListener.class
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/classes.jar: unknown package name of class file com/quicinc/tcmiface/DpmTcmIface.class
make: *** [/home/sysadmin/Rahul/cm13.0/out/target/common/obj/PACKAGING/boot-jars-package-check_intermediates/stamp] Error 1
#### make failed to build some targets (08:30 (mm:ss)) ####
Can anyone help me to solve this errors?
Click to expand...
Click to collapse
can you post complete log please.
although it seems like a upstream error, but yea a full log would be great
onano said:
can you post complete log please.
although it seems like a upstream error, but yea a full log would be great
Click to expand...
Click to collapse
Thanks for reply, please find attached log file.
Rahul Dhobi said:
Thanks for reply, please find attached log file.
Click to expand...
Click to collapse
why you're Using prebuilt kernel binary instead of source ?
and please post your local_manifest too
onano said:
why you're Using prebuilt kernel binary instead of source ?
and please post your local_manifest too
Click to expand...
Click to collapse
I'm using compressed source code from http://forum.xda-developers.com/android/software/sources-android-sources-highly-t3231109.
this source don't have .repo directory also I have again compiled with kernel source, please verify logs and steps I'm doing
Thanks.
Have you added Android-SDK to your path?
unknown package name of class file com/quicinc/tcmiface/DpmTcmIface.class
Rahul Dhobi said:
I'm using compressed source code from http://forum.xda-developers.com/android/software/sources-android-sources-highly-t3231109.
this source don't have .repo directory also I have again compiled with kernel source, please verify logs and steps I'm doing
Thanks.
Click to expand...
Click to collapse
Hi,
I am also getting same error.
Is the problem solved?
How to solve this error : unknown package name of class file com/quicinc/tcmiface/DpmTcmIface.class
SilverPearl said:
Hi,
I am also getting same error.
Is the problem solved?
How to solve this error : unknown package name of class file com/quicinc/tcmiface/DpmTcmIface.class
Click to expand...
Click to collapse
Same error here. Please help us
Aah found the soln. You need to revert some commits where you are getting the error.
Like, i had an error for apache-http. So i had to revert this:
https://github.com/HalogenOS/androi...mmit/7463c06adcd51d891fc294b90350562f9697ffe8
Noob part: Just revert commits with commit message " off the boot classpath" or something
Would help someone i guess
@SilverPearl @Rahul Dhobi
regalstreak said:
aah found the soln. You need to revert some commits where you are getting the error.
Like, i had an error for apache-http. So i had to revert this:
https://github.com/halogenos/androi...mmit/7463c06adcd51d891fc294b90350562f9697ffe8
noob part: Just revert commits with commit message " off the boot classpath" or something
would help someone i guess
@silverpearl @rahul dhobi
Click to expand...
Click to collapse
good job man helping ppl out
regalstreak said:
Aah found the soln. You need to revert some commits where you are getting the error.
Like, i had an error for apache-http. So i had to revert this:
https://github.com/HalogenOS/androi...mmit/7463c06adcd51d891fc294b90350562f9697ffe8
Noob part: Just revert commits with commit message " off the boot classpath" or something
Would help someone i guess
@SilverPearl @Rahul Dhobi
Click to expand...
Click to collapse
@regalstreak I am facing something similar. Could you help me out?
Exact error:
Code:
Error: /home/yeshwanthvshenoy/du/out/target/common/obj/JAVA_LIBRARIES/telephony-ext_intermediates/classes.jar: unknown package name of class file org/codeaurora/internal/IDepersoResCallback$Stub.class
Full log: http://pastebin.com/ixfVAV7i
Any idea?
yeshwanthvshenoy said:
@regalstreak I am facing something similar. Could you help me out?
Exact error:
Code:
Error: /home/yeshwanthvshenoy/du/out/target/common/obj/JAVA_LIBRARIES/telephony-ext_intermediates/classes.jar: unknown package name of class file org/codeaurora/internal/IDepersoResCallback$Stub.class
Full log: http://pastebin.com/ixfVAV7i
Any idea?
Click to expand...
Click to collapse
I assume that you've solved this. I was off xda. Sorry.
regalstreak said:
I assume that you've solved this. I was off xda. Sorry.
Click to expand...
Click to collapse
Hi. I'm having this error https://hastebin.com/udofahacok.scala some time ago when building AOSiP and AOSP Extended. Can you help me solve it? I have a trying time and I have not been able to. Sorry for my english
Don't know if this is the right place to post this. But I'm trying to build cm12.1 for my tmobile note 4. I'm using a imac running os x 10.11 (el capitan). I'm getting the following error about the macosx-version-min. Has anyone seen this? I've got updates that include 10.10 and 10.11 version is the build/core/combo/HOST_darwin_x86*.mk files. I've also add 10.10 and 10.11 to mac_sdk_versions_supported in build/core/combo/mac_version.mk. Not sure where else to look.
$brunch trltetmo
....
host C: libmincrypt_32 <= system/core/libmincrypt/p256_ec.c
<built-in>:0: error: Unknown value ‘10.11’ of -mmacosx-version-min
<built-in>:0: error: Unknown value ‘10.11’ of -mmacosx-version-min<built-in>:0: error: Unknown value ‘10.11’ of -mmacosx-version-min
<built-in>:0: error: Unknown value ‘10.11’ of -mmacosx-version-min
make: *** [/Volumes/androidtouro/cm121/out/host/darwin-x86/obj32/STATIC_LIBRARIES/libmincrypt_intermediates/dsa_sig.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [/Volumes/androidtouro/cm121/out/host/darwin-x86/obj32/STATIC_LIBRARIES/libmincrypt_intermediates/p256.o] Error 1
make: *** [/Volumes/androidtouro/cm121/out/host/darwin-x86/obj32/EXECUTABLES/mkbootimg_intermediates/mkbootimg.o] Error 1
make: *** [/Volumes/androidtouro/cm121/out/host/darwin-x86/obj32/STATIC_LIBRARIES/libmincrypt_intermediates/p256_ec.o] Error 1
This was output running 'brunch trltetmo'.
Solved this issue by switching to 10.9 mac osx sdk. I also had to add this link:
ln -s /usr/lib/crt1.10.6.o /Developer/SDKs/MacOSX10.9.sdk/usr/lib/crt1.10.6.o.
Finally got my first cm12.1 build completed for tmobile note 4 on a new iMac. It boots and am running it now. Guess I can try again to build cm13 soon. cm13 gave me more problems.
I am compiling cm 14 for core prime ve 3g (sm-g361h).
i am getting these error after executing mka bacon command (i have skipped all log above errors). I am building rom from source first time so i ain't got any clue what this error says (maybe a little bit but that ain't helping).
Code:
device/samsung/coreprimeve3g/ril/SamsungSPRDRIL.java:276: error: method does not override or implement a method from a supertype
@Override
^
device/samsung/coreprimeve3g/ril/SamsungSPRDRIL.java:314: error: method processSolicited in class RIL cannot be applied to given types;
return super.processSolicited(p);
^
required: Parcel,int
found: Parcel
reason: actual and formal argument lists differ in length
device/samsung/coreprimeve3g/ril/SamsungSPRDRIL.java:366: error: method does not override or implement a method from a supertype
@Override
^
device/samsung/coreprimeve3g/ril/SamsungSPRDRIL.java:422: error: method processUnsolicited in class RIL cannot be applied to given types;
super.processUnsolicited(p);
^
required: Parcel,int
found: Parcel
reason: actual and formal argument lists differ in length
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
[ 3% 1018/28725] host C++: libLLVMCor...2 <= external/llvm/lib/IR/Function.cpp
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/hamza/cm14'
#### make failed to build some targets (27:37 (mm:ss)) ####
bump
Closed per OP request
So i need to build a modified kernel to patch the usb host driver to hack a nintendo switch.
the patch is here
ive tried 2 kernel sources, here and here
and both are giving the same errors
Code:
CC arch/arm64/kernel/setup.o
arch/arm64/kernel/setup.c: In function 'c_show':
arch/arm64/kernel/setup.c:643:38: error: 'system_rev' undeclared (first use in this function)
seq_printf(m, "Revision\t: %04x\n", system_rev);
^
arch/arm64/kernel/setup.c:643:38: note: each undeclared identifier is reported only once for each function it appears in
arch/arm64/kernel/setup.c:645:4: error: 'system_serial_high' undeclared (first use in this function)
system_serial_high, system_serial_low);
^
arch/arm64/kernel/setup.c:645:24: error: 'system_serial_low' undeclared (first use in this function)
system_serial_high, system_serial_low);
^
scripts/Makefile.build:257: recipe for target 'arch/arm64/kernel/setup.o' failed
make[1]: *** [arch/arm64/kernel/setup.o] Error 1
Makefile:964: recipe for target 'arch/arm64/kernel' failed
make: *** [arch/arm64/kernel] Error 2
the variables i set are:
Code:
$echo $CROSS_COMPILE
/home/xxxx/Android/Sdk/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-
$echo $ARCH
arm64
for a config i used
Code:
arch/arm64/configs/msm8937_defconfig
set all "NEW" options to defaults. its my first kernel build, i have no idea what most of it is /shrug
if anyone can give me some tips or a .config that works, would be very much appreciated. i havent had any luck googling the errors yet