issues with building from source - G1 Android Development

So I made same changes to some of cyans source files to try my hand at learning android development but I'm running into an issue. Once I make my changes I go in and make and after about an hour and 15 minutes of it building, it spits this out and doesn't finish. Anyone have any ideas what's causing it? I've removed dalvik from the mydroid folder and did repo sync again but it comes back with the same thing.
had to put it in 3 posts cause it's so long
Code:
target Java: core-tests (out/target/common/obj/JAVA_LIBRARIES/core-tests_intermediates/classes)
dalvik/libcore/dom/src/test/java/org/w3c/domts/level1/core/hc_attrgetvalue1.java:72: warning: unmappable character for encoding ascii
assertEquals("attrValue1", "Yα", value);
^
dalvik/libcore/dom/src/test/java/org/w3c/domts/level1/core/hc_attrgetvalue1.java:72: warning: unmappable character for encoding ascii
assertEquals("attrValue1", "Yα", value);
^
dalvik/libcore/dom/src/test/java/org/w3c/domts/level1/core/hc_attrgetvalue2.java:92: warning: unmappable character for encoding ascii
assertEquals("attrValue1", "αYα", value);
^
dalvik/libcore/dom/src/test/java/org/w3c/domts/level1/core/hc_attrgetvalue2.java:92: warning: unmappable character for encoding ascii
assertEquals("attrValue1", "αYα", value);
^
dalvik/libcore/dom/src/test/java/org/w3c/domts/level1/core/hc_attrgetvalue2.java:92: warning: unmappable character for encoding ascii
assertEquals("attrValue1", "αYα", value);
^
dalvik/libcore/dom/src/test/java/org/w3c/domts/level1/core/hc_attrgetvalue2.java:92: warning: unmappable character for encoding ascii
assertEquals("attrValue1", "αYα", value);
^
dalvik/libcore/dom/src/test/java/org/w3c/domts/level1/core/hc_attrspecifiedvaluechanged.java:74: warning: unmappable character for encoding ascii
((Element) /*Node */testNode).setAttribute("class", "Yα");
^
dalvik/libcore/dom/src/test/java/org/w3c/domts/level1/core/hc_attrspecifiedvaluechanged.java:74: warning: unmappable character for encoding ascii
((Element) /*Node */testNode).setAttribute("class", "Yα");
^
dalvik/libcore/dom/src/test/java/org/w3c/domts/level1/core/hc_namednodemapinuseattributeerr.java:78: warning: unmappable character for encoding ascii
domesticAttr.setValue("Yα");
^
dalvik/libcore/dom/src/test/java/org/w3c/domts/level1/core/hc_namednodemapinuseattributeerr.java:78: warning: unmappable character for encoding ascii
domesticAttr.setValue("Yα");
^
dalvik/libcore/dom/src/test/java/org/w3c/domts/level1/core/hc_textparseintolistofelements.java:75: warning: unmappable character for encoding ascii
expectedNormal.add("β");
^
dalvik/libcore/dom/src/test/java/org/w3c/domts/level1/core/hc_textparseintolistofelements.java:75: warning: unmappable character for encoding ascii
expectedNormal.add("β");
^
dalvik/libcore/dom/src/test/java/org/w3c/domts/level1/core/hc_textparseintolistofelements.java:77: warning: unmappable character for encoding ascii
expectedNormal.add("γ");
^
dalvik/libcore/dom/src/test/java/org/w3c/domts/level1/core/hc_textparseintolistofelements.java:77: warning: unmappable character for encoding ascii
expectedNormal.add("γ");
^
dalvik/libcore/dom/src/test/java/org/w3c/domts/level1/core/hc_textparseintolistofelements.java:81: warning: unmappable character for encoding ascii
expectedExpanded.add("β Dallas, γ\n 98554");
^
dalvik/libcore/dom/src/test/java/org/w3c/domts/level1/core/hc_textparseintolistofelements.java:81: warning: unmappable character for encoding ascii
expectedExpanded.add("β Dallas, γ\n 98554");
^
dalvik/libcore/dom/src/test/java/org/w3c/domts/level1/core/hc_textparseintolistofelements.java:81: warning: unmappable character for encoding ascii
expectedExpanded.add("β Dallas, γ\n 98554");
^
dalvik/libcore/dom/src/test/java/org/w3c/domts/level1/core/hc_textparseintolistofelements.java:81: warning: unmappable character for encoding ascii
expectedExpanded.add("β Dallas, γ\n 98554");
^
dalvik/libcore/dom/src/test/java/org/w3c/domts/DOMTest.java:168: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this warning
Method method = File.class.getMethod("toURI", null);
^
dalvik/libcore/dom/src/test/java/org/w3c/domts/DOMTest.java:169: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
Object uri = method.invoke(tempFile, null);
^
dalvik/libcore/dom/src/test/java/org/w3c/domts/LSDocumentBuilderFactory.java:275: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this warning
Method newInstanceMethod = domImplRegistryClass.getMethod("newInstance", null);
^
dalvik/libcore/dom/src/test/java/org/w3c/domts/LSDocumentBuilderFactory.java:276: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
Object domRegistry = newInstanceMethod.invoke(null, null);

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.
22 warnings
target Java: emma (out/target/common/obj/JAVA_LIBRARIES/emma_intermediates/classes)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
target Executable: AudioHardwareRecordLoop (out/target/product/generic/obj/EXECUTABLES/AudioHardwareRecordLoop_intermediates/LINKED/AudioHardwareRecordLoop)
target Non-prelinked: AudioHardwareRecordLoop (out/target/product/generic/symbols/system/bin/AudioHardwareRecordLoop)
target Strip: AudioHardwareRecordLoop (out/target/product/generic/obj/EXECUTABLES/AudioHardwareRecordLoop_intermediates/AudioHardwareRecordLoop)
target Executable: AudioHardwareRecord (out/target/product/generic/obj/EXECUTABLES/AudioHardwareRecord_intermediates/LINKED/AudioHardwareRecord)
target Non-prelinked: AudioHardwareRecord (out/target/product/generic/symbols/system/bin/AudioHardwareRecord)
target Strip: AudioHardwareRecord (out/target/product/generic/obj/EXECUTABLES/AudioHardwareRecord_intermediates/AudioHardwareRecord)
target Executable: AudioInRecord (out/target/product/generic/obj/EXECUTABLES/AudioInRecord_intermediates/LINKED/AudioInRecord)
target Non-prelinked: AudioInRecord (out/target/product/generic/symbols/system/bin/AudioInRecord)
target Strip: AudioInRecord (out/target/product/generic/obj/EXECUTABLES/AudioInRecord_intermediates/AudioInRecord)
target Executable: SRecTestAudio (out/target/product/generic/obj/EXECUTABLES/SRecTestAudio_intermediates/LINKED/SRecTestAudio)
target Non-prelinked: SRecTestAudio (out/target/product/generic/symbols/system/bin/SRecTestAudio)
target Strip: SRecTestAudio (out/target/product/generic/obj/EXECUTABLES/SRecTestAudio_intermediates/SRecTestAudio)
target Executable: SRecTest (out/target/product/generic/obj/EXECUTABLES/SRecTest_intermediates/LINKED/SRecTest)
target Non-prelinked: SRecTest (out/target/product/generic/symbols/system/bin/SRecTest)
target Strip: SRecTest (out/target/product/generic/obj/EXECUTABLES/SRecTest_intermediates/SRecTest)
target Executable: dexopt-wrapper (out/target/product/generic/obj/EXECUTABLES/dexopt-wrapper_intermediates/LINKED/dexopt-wrapper)
target Non-prelinked: dexopt-wrapper (out/target/product/generic/symbols/system/bin/dexopt-wrapper)
target Strip: dexopt-wrapper (out/target/product/generic/obj/EXECUTABLES/dexopt-wrapper_intermediates/dexopt-wrapper)
target Prebuilt: run-core-tests (out/target/product/generic/obj/EXECUTABLES/run-core-tests_intermediates/run-core-tests)
target thumb C++: libocr <= external/tesseract/ccmain/jni.cpp
In file included from external/tesseract/ccmain/jni.cpp:24:
external/tesseract/ccutil/varable.h: In copy constructor 'INT_VARIABLE_CLIST::INT_VARIABLE_CLIST(const INT_VARIABLE_CLIST&)':
external/tesseract/ccutil/varable.h:37: warning: base class 'class CLIST' should be explicitly initialized in the copy constructor
external/tesseract/ccutil/varable.h: In copy constructor 'BOOL_VARIABLE_CLIST::BOOL_VARIABLE_CLIST(const BOOL_VARIABLE_CLIST&)':
external/tesseract/ccutil/varable.h:107: warning: base class 'class CLIST' should be explicitly initialized in the copy constructor
external/tesseract/ccutil/varable.h: In copy constructor 'STRING_VARIABLE_CLIST::STRING_VARIABLE_CLIST(const STRING_VARIABLE_CLIST&)':
external/tesseract/ccutil/varable.h:177: warning: base class 'class CLIST' should be explicitly initialized in the copy constructor
external/tesseract/ccutil/varable.h: In copy constructor 'double_VARIABLE_CLIST::double_VARIABLE_CLIST(const double_VARIABLE_CLIST&)':
external/tesseract/ccutil/varable.h:254: warning: base class 'class CLIST' should be explicitly initialized in the copy constructor
In file included from external/tesseract/ccstruct/quadratc.h:23,
from external/tesseract/ccstruct/quspline.h:23,
from external/tesseract/ccstruct/ocrrow.h:24,
from external/tesseract/ccstruct/ocrblock.h:24,
from external/tesseract/textord/tordmain.h:25,
from external/tesseract/ccmain/tessvars.h:25,
from external/tesseract/ccmain/jni.cpp:25:
external/tesseract/ccstruct/points.h: In copy constructor 'ICOORDELT_LIST::ICOORDELT_LIST(const ICOORDELT_LIST&)':
external/tesseract/ccstruct/points.h:180: warning: base class 'class ELIST' should be explicitly initialized in the copy constructor
In file included from external/tesseract/ccstruct/stepblob.h:23,
from external/tesseract/ccstruct/werd.h:27,
from external/tesseract/ccstruct/ocrrow.h:25,
from external/tesseract/ccstruct/ocrblock.h:24,
from external/tesseract/textord/tordmain.h:25,
from external/tesseract/ccmain/tessvars.h:25,
from external/tesseract/ccmain/jni.cpp:25:
external/tesseract/ccstruct/coutln.h: In copy constructor 'C_OUTLINE_LIST::C_OUTLINE_LIST(const C_OUTLINE_LIST&)':
external/tesseract/ccstruct/coutln.h:44: warning: base class 'class ELIST' should be explicitly initialized in the copy constructor
In file included from external/tesseract/ccstruct/werd.h:27,
from external/tesseract/ccstruct/ocrrow.h:25,
from external/tesseract/ccstruct/ocrblock.h:24,
from external/tesseract/textord/tordmain.h:25,
from external/tesseract/ccmain/tessvars.h:25,
from external/tesseract/ccmain/jni.cpp:25:
external/tesseract/ccstruct/stepblob.h: In copy constructor 'C_BLOB_LIST::C_BLOB_LIST(const C_BLOB_LIST&)':
external/tesseract/ccstruct/stepblob.h:82: warning: base class 'class ELIST' should be explicitly initialized in the copy constructor
In file included from external/tesseract/ccstruct/poutline.h:26,
from external/tesseract/ccstruct/polyblob.h:23,
from external/tesseract/ccstruct/werd.h:28,
from external/tesseract/ccstruct/ocrrow.h:25,
from external/tesseract/ccstruct/ocrblock.h:24,
from external/tesseract/textord/tordmain.h:25,
from external/tesseract/ccmain/tessvars.h:25,
from external/tesseract/ccmain/jni.cpp:25:
external/tesseract/ccstruct/polyvert.h: In copy constructor 'POLYPT_LIST::POLYPT_LIST(const POLYPT_LIST&)':
external/tesseract/ccstruct/polyvert.h:51: warning: base class 'class ELIST2' should be explicitly initialized in the copy constructor
In file included from external/tesseract/ccstruct/polyblob.h:23,
from external/tesseract/ccstruct/werd.h:28,
from external/tesseract/ccstruct/ocrrow.h:25,
from external/tesseract/ccstruct/ocrblock.h:24,
from external/tesseract/textord/tordmain.h:25,
from external/tesseract/ccmain/tessvars.h:25,
from external/tesseract/ccmain/jni.cpp:25:
external/tesseract/ccstruct/poutline.h: In copy constructor 'OUTLINE_LIST::OUTLINE_LIST(const OUTLINE_LIST&)':
external/tesseract/ccstruct/poutline.h:34: warning: base class 'class ELIST' should be explicitly initialized in the copy constructor
In file included from external/tesseract/ccstruct/werd.h:28,
from external/tesseract/ccstruct/ocrrow.h:25,
from external/tesseract/ccstruct/ocrblock.h:24,
from external/tesseract/textord/tordmain.h:25,
from external/tesseract/ccmain/tessvars.h:25,
from external/tesseract/ccmain/jni.cpp:25:
external/tesseract/ccstruct/polyblob.h: In copy constructor 'PBLOB_LIST::PBLOB_LIST(const PBLOB_LIST&)':
external/tesseract/ccstruct/polyblob.h:96: warning: base class 'class ELIST' should be explicitly initialized in the copy constructor
In file included from external/tesseract/ccstruct/ocrrow.h:25,
from external/tesseract/ccstruct/ocrblock.h:24,
from external/tesseract/textord/tordmain.h:25,
from external/tesseract/ccmain/tessvars.h:25,
from external/tesseract/ccmain/jni.cpp:25:
external/tesseract/ccstruct/werd.h: In copy constructor 'WERD_LIST::WERD_LIST(const WERD_LIST&)':
external/tesseract/ccstruct/werd.h:262: warning: base class 'class ELIST' should be explicitly initialized in the copy constructor
In file included from external/tesseract/ccstruct/ocrblock.h:24,
from external/tesseract/textord/tordmain.h:25,
from external/tesseract/ccmain/tessvars.h:25,
from external/tesseract/ccmain/jni.cpp:25:
external/tesseract/ccstruct/ocrrow.h: In copy constructor 'ROW_LIST::ROW_LIST(const ROW_LIST&)':
external/tesseract/ccstruct/ocrrow.h:132: warning: base class 'class ELIST' should be explicitly initialized in the copy constructor
In file included from external/tesseract/ccstruct/pageblk.h:5,
from external/tesseract/ccstruct/ocrblock.h:25,
from external/tesseract/textord/tordmain.h:25,
from external/tesseract/ccmain/tessvars.h:25,
from external/tesseract/ccmain/jni.cpp:25:

Code:
external/tesseract/ccstruct/txtregn.h: In copy constructor 'TEXT_REGION_LIST::TEXT_REGION_LIST(const TEXT_REGION_LIST&)':
external/tesseract/ccstruct/txtregn.h:36: warning: base class 'class ELIST' should be explicitly initialized in the copy constructor
In file included from external/tesseract/ccstruct/ocrblock.h:25,
from external/tesseract/textord/tordmain.h:25,
from external/tesseract/ccmain/tessvars.h:25,
from external/tesseract/ccmain/jni.cpp:25:
external/tesseract/ccstruct/pageblk.h: In copy constructor 'PAGE_BLOCK_LIST::PAGE_BLOCK_LIST(const PAGE_BLOCK_LIST&)':
external/tesseract/ccstruct/pageblk.h:28: warning: base class 'class ELIST' should be explicitly initialized in the copy constructor
In file included from external/tesseract/ccstruct/ocrblock.h:26,
from external/tesseract/textord/tordmain.h:25,
from external/tesseract/ccmain/tessvars.h:25,
from external/tesseract/ccmain/jni.cpp:25:
external/tesseract/ccstruct/pdblock.h: In copy constructor 'PDBLK_CLIST::PDBLK_CLIST(const PDBLK_CLIST&)':
external/tesseract/ccstruct/pdblock.h:31: warning: base class 'class CLIST' should be explicitly initialized in the copy constructor
In file included from external/tesseract/textord/tordmain.h:25,
from external/tesseract/ccmain/tessvars.h:25,
from external/tesseract/ccmain/jni.cpp:25:
external/tesseract/ccstruct/ocrblock.h: In copy constructor 'BLOCK_LIST::BLOCK_LIST(const BLOCK_LIST&)':
external/tesseract/ccstruct/ocrblock.h:30: warning: base class 'class ELIST' should be explicitly initialized in the copy constructor
In file included from external/tesseract/textord/tordmain.h:27,
from external/tesseract/ccmain/tessvars.h:25,
from external/tesseract/ccmain/jni.cpp:25:
external/tesseract/ccstruct/blobbox.h: In copy constructor 'BLOBNBOX_LIST::BLOBNBOX_LIST(const BLOBNBOX_LIST&)':
external/tesseract/ccstruct/blobbox.h:45: warning: base class 'class ELIST' should be explicitly initialized in the copy constructor
external/tesseract/ccstruct/blobbox.h: In copy constructor 'TO_ROW_LIST::TO_ROW_LIST(const TO_ROW_LIST&)':
external/tesseract/ccstruct/blobbox.h:263: warning: base class 'class ELIST2' should be explicitly initialized in the copy constructor
external/tesseract/ccstruct/blobbox.h: In copy constructor 'TO_BLOCK_LIST::TO_BLOCK_LIST(const TO_BLOCK_LIST&)':
external/tesseract/ccstruct/blobbox.h:317: warning: base class 'class ELIST' should be explicitly initialized in the copy constructor
target SharedLib: libocr (out/target/product/generic/obj/SHARED_LIBRARIES/libocr_intermediates/LINKED/libocr.so)
target Non-prelinked: libocr (out/target/product/generic/symbols/system/lib/libocr.so)
target Strip: libocr (out/target/product/generic/obj/lib/libocr.so)
target SharedLib: libhelium (out/target/product/generic/obj/SHARED_LIBRARIES/libhelium_intermediates/LINKED/libhelium.so)
target Non-prelinked: libhelium (out/target/product/generic/symbols/system/lib/libhelium.so)
target Strip: libhelium (out/target/product/generic/obj/lib/libhelium.so)
target thumb C++: libplatform_library_jni <= vendor/sample/frameworks/PlatformLibrary/jni/PlatformLibrary.cpp
target SharedLib: libplatform_library_jni (out/target/product/generic/obj/SHARED_LIBRARIES/libplatform_library_jni_intermediates/LINKED/libplatform_library_jni.so)
target Non-prelinked: libplatform_library_jni (out/target/product/generic/symbols/system/lib/libplatform_library_jni.so)
target Strip: libplatform_library_jni (out/target/product/generic/obj/lib/libplatform_library_jni.so)
target thumb C++: libsimplejni <= development/samples/SimpleJNI/jni/native.cpp
target SharedLib: libsimplejni (out/target/product/generic/obj/SHARED_LIBRARIES/libsimplejni_intermediates/LINKED/libsimplejni.so)
target Non-prelinked: libsimplejni (out/target/product/generic/symbols/system/lib/libsimplejni.so)
target Strip: libsimplejni (out/target/product/generic/obj/lib/libsimplejni.so)
target thumb C: libwnndict <= packages/inputmethods/OpenWnn/libs/libwnnDictionary/OpenWnnDictionaryImplJni.c
target SharedLib: libwnndict (out/target/product/generic/obj/SHARED_LIBRARIES/libwnndict_intermediates/LINKED/libwnndict.so)
target Non-prelinked: libwnndict (out/target/product/generic/symbols/system/lib/libwnndict.so)
target Strip: libwnndict (out/target/product/generic/obj/lib/libwnndict.so)
Target system fs image: out/target/product/generic/obj/PACKAGING/systemimage_unopt_intermediates/system.img
Install system fs image: out/target/product/generic/system.img
Installed file list: out/target/product/generic/installed-files.txt

Related

[HELP] Build Error debug for Ubuntu Touch

Hey guys, i am building Ubuntu Touch for Moto G and it is my first source build. I got stuck on this build error. Can anyone help me out so that we can get Ubuntu Touch for this awesome device too.
@TeamMex @rr46000 @herna can you guys please help me on this?
Code:
Copy: /home/yeshwanth/Ubuntu_Touch/out/target/product/falcon/root/ueventd.rc
Install: /home/yeshwanth/Ubuntu_Touch/out/host/linux-x86/bin/zipalign
make: *** No rule to make target `/home/yeshwanth/Ubuntu_Touch/out/host/linux-x86/framework/signapk.jar', needed by `/home/yeshwanth/Ubuntu_Touch/out/target/product/falcon/obj/APPS/TimeService_intermediates/TimeService.apk'. Stop.
make: *** Waiting for unfinished jobs....
CHK include/linux/version.h
make[1]: Leaving directory `/home/yeshwanth/Ubuntu_Touch/kernel/motorola/msm8226'
target StaticLib: libc (/home/yeshwanth/Ubuntu_Touch/out/target/product/falcon/obj/STATIC_LIBRARIES/libc_intermediates/libc.a)
Code:
<project name="TheMuppets/proprietary_vendor_motorola" path="vendor/motorola" remote="github" revision="cm-11.0" />
use it
and if you have issues copy attached file on out/host/linux-x86/framework
TeamMex said:
Code:
<project name="TheMuppets/proprietary_vendor_motorola" path="vendor/motorola" remote="github" revision="cm-11.0" />
Click to expand...
Click to collapse
after adding the line to roomservice.xml and when trying to repo sync i get this error:
Code:
$ repo sync
fatal: duplicate path vendor/motorola in /home/yeshwanth/Ubuntu_Touch/.repo/manifest.xml
seems there is a similar line in my roomservice.xml like this:
Code:
project name="TheMuppets/proprietary_vendor_motorola" path="vendor/motorola" remote="github" revision="stable/cm-11.0" />
yeshwanthvshenoy said:
after adding the line to roomservice.xml and when trying to repo sync i get this error:
Code:
$ repo sync
fatal: duplicate path vendor/motorola in /home/yeshwanth/Ubuntu_Touch/.repo/manifest.xml
seems there is a similar line in my roomservice.xml like this:
Code:
project name="TheMuppets/proprietary_vendor_motorola" path="vendor/motorola" remote="github" revision="stable/cm-11.0" />
Click to expand...
Click to collapse
replace it...
TeamMex said:
replace it...
Click to expand...
Click to collapse
Code:
host C++: libandroidfw <= frameworks/base/libs/androidfw/ResourceTypes.cpp
frameworks/base/libs/androidfw/Asset.cpp:846:13: warning: unused parameter ‘wordAligned’ [-Wunused-parameter]
const void* _CompressedAsset::getBuffer(bool wordAligned)
^
host C++: libandroidfw <= frameworks/base/libs/androidfw/StreamingZipInflater.cpp
host C++: libandroidfw <= frameworks/base/libs/androidfw/ZipFileRO.cpp
frameworks/base/libs/androidfw/AssetManager.cpp:1094:8: warning: unused parameter ‘entryName’ [-Wunused-parameter]
Asset* AssetManager::openAssetFromZipLocked(const ZipFileRO* pZipFile,
^
make: *** No rule to make target `/home/yeshwanth/Ubuntu_Touch/out/host/linux-x86/framework/signapk.jar', needed by `/home/yeshwanth/Ubuntu_Touch/out/target/product/falcon/obj/APPS/TimeService_intermediates/TimeService.apk'. Stop.
make: *** Waiting for unfinished jobs....
host C++: libandroidfw <= frameworks/base/libs/androidfw/ZipUtils.cpp
frameworks/base/libs/androidfw/ResourceTypes.cpp:69:13: warning: unused parameter ‘cookie’ [-Wunused-parameter]
static void printToLogFunc(void* cookie, const char* txt)
^
frameworks/base/libs/androidfw/ResourceTypes.cpp:69:13: warning: unused parameter ‘txt’ [-Wunused-parameter]
frameworks/base/libs/androidfw/ResourceTypes.cpp:2925:10: warning: unused parameter ‘asset’ [-Wunused-parameter]
status_t ResTable::add(const void* data, size_t size, void* cookie,
^
frameworks/base/libs/androidfw/ResourceTypes.cpp:3350:17: warning: unused parameter ‘tmpBuffer’ [-Wunused-parameter]
const char16_t* ResTable::valueToString(
^
frameworks/base/libs/androidfw/ResourceTypes.cpp:3375:6: warning: unused parameter ‘bag’ [-Wunused-parameter]
void ResTable::unlockBag(const bag_entry* bag) const
^
frameworks/base/libs/androidfw/ResourceTypes.cpp: In member function ‘void android::ResTable::print(bool) const’:
frameworks/base/libs/androidfw/ResourceTypes.cpp:5737:84: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
printf("NON-INTEGER ResTable_entry SIZE: %p\n", (void*)esize);
^
frameworks/base/libs/androidfw/ResourceTypes.cpp:5743:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
(void*)esize, (void*)typeSize);
^
[email protected]:~/Ubuntu_Touch$
sir, new error.
yeshwanthvshenoy said:
Code:
host C++: libandroidfw <= frameworks/base/libs/androidfw/ResourceTypes.cpp
frameworks/base/libs/androidfw/Asset.cpp:846:13: warning: unused parameter ‘wordAligned’ [-Wunused-parameter]
const void* _CompressedAsset::getBuffer(bool wordAligned)
^
host C++: libandroidfw <= frameworks/base/libs/androidfw/StreamingZipInflater.cpp
host C++: libandroidfw <= frameworks/base/libs/androidfw/ZipFileRO.cpp
frameworks/base/libs/androidfw/AssetManager.cpp:1094:8: warning: unused parameter ‘entryName’ [-Wunused-parameter]
Asset* AssetManager::openAssetFromZipLocked(const ZipFileRO* pZipFile,
^
make: *** No rule to make target `/home/yeshwanth/Ubuntu_Touch/out/host/linux-x86/framework/signapk.jar', needed by `/home/yeshwanth/Ubuntu_Touch/out/target/product/falcon/obj/APPS/TimeService_intermediates/TimeService.apk'. Stop.
make: *** Waiting for unfinished jobs....
host C++: libandroidfw <= frameworks/base/libs/androidfw/ZipUtils.cpp
frameworks/base/libs/androidfw/ResourceTypes.cpp:69:13: warning: unused parameter ‘cookie’ [-Wunused-parameter]
static void printToLogFunc(void* cookie, const char* txt)
^
frameworks/base/libs/androidfw/ResourceTypes.cpp:69:13: warning: unused parameter ‘txt’ [-Wunused-parameter]
frameworks/base/libs/androidfw/ResourceTypes.cpp:2925:10: warning: unused parameter ‘asset’ [-Wunused-parameter]
status_t ResTable::add(const void* data, size_t size, void* cookie,
^
frameworks/base/libs/androidfw/ResourceTypes.cpp:3350:17: warning: unused parameter ‘tmpBuffer’ [-Wunused-parameter]
const char16_t* ResTable::valueToString(
^
frameworks/base/libs/androidfw/ResourceTypes.cpp:3375:6: warning: unused parameter ‘bag’ [-Wunused-parameter]
void ResTable::unlockBag(const bag_entry* bag) const
^
frameworks/base/libs/androidfw/ResourceTypes.cpp: In member function ‘void android::ResTable::print(bool) const’:
frameworks/base/libs/androidfw/ResourceTypes.cpp:5737:84: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
printf("NON-INTEGER ResTable_entry SIZE: %p\n", (void*)esize);
^
frameworks/base/libs/androidfw/ResourceTypes.cpp:5743:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
(void*)esize, (void*)typeSize);
^
[email protected]:~/Ubuntu_Touch$
sir, new error.
Click to expand...
Click to collapse
In a terminal
cd /pathtoyourubuntutouchdirectory/
mkdir -p out/host/linux-x86/framework/
And put the teamMex apk in
out/host/linux-x86/framework/
Sent from my Moto G using XDA Free mobile app
yeshwanthvshenoy said:
Code:
host C++: libandroidfw <= frameworks/base/libs/androidfw/ResourceTypes.cpp
frameworks/base/libs/androidfw/Asset.cpp:846:13: warning: unused parameter ‘wordAligned’ [-Wunused-parameter]
const void* _CompressedAsset::getBuffer(bool wordAligned)
^
host C++: libandroidfw <= frameworks/base/libs/androidfw/StreamingZipInflater.cpp
host C++: libandroidfw <= frameworks/base/libs/androidfw/ZipFileRO.cpp
frameworks/base/libs/androidfw/AssetManager.cpp:1094:8: warning: unused parameter ‘entryName’ [-Wunused-parameter]
Asset* AssetManager::openAssetFromZipLocked(const ZipFileRO* pZipFile,
^
make: *** No rule to make target `/home/yeshwanth/Ubuntu_Touch/out/host/linux-x86/framework/signapk.jar', needed by `/home/yeshwanth/Ubuntu_Touch/out/target/product/falcon/obj/APPS/TimeService_intermediates/TimeService.apk'. Stop.
make: *** Waiting for unfinished jobs....
host C++: libandroidfw <= frameworks/base/libs/androidfw/ZipUtils.cpp
frameworks/base/libs/androidfw/ResourceTypes.cpp:69:13: warning: unused parameter ‘cookie’ [-Wunused-parameter]
static void printToLogFunc(void* cookie, const char* txt)
^
frameworks/base/libs/androidfw/ResourceTypes.cpp:69:13: warning: unused parameter ‘txt’ [-Wunused-parameter]
frameworks/base/libs/androidfw/ResourceTypes.cpp:2925:10: warning: unused parameter ‘asset’ [-Wunused-parameter]
status_t ResTable::add(const void* data, size_t size, void* cookie,
^
frameworks/base/libs/androidfw/ResourceTypes.cpp:3350:17: warning: unused parameter ‘tmpBuffer’ [-Wunused-parameter]
const char16_t* ResTable::valueToString(
^
frameworks/base/libs/androidfw/ResourceTypes.cpp:3375:6: warning: unused parameter ‘bag’ [-Wunused-parameter]
void ResTable::unlockBag(const bag_entry* bag) const
^
frameworks/base/libs/androidfw/ResourceTypes.cpp: In member function ‘void android::ResTable::print(bool) const’:
frameworks/base/libs/androidfw/ResourceTypes.cpp:5737:84: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
printf("NON-INTEGER ResTable_entry SIZE: %p\n", (void*)esize);
^
frameworks/base/libs/androidfw/ResourceTypes.cpp:5743:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
(void*)esize, (void*)typeSize);
^
[email protected]:~/Ubuntu_Touch$
sir, new error.
Click to expand...
Click to collapse
add this
TimeService.apk
/home/yeshwanth/Ubuntu_Touch/out/target/product/falcon/obj/APPS/TimeService_intermediates
(Added in attached files.)
h2o64 said:
In a terminal
cd /pathtoyourubuntutouchdirectory/
mkdir -p out/host/linux-x86/framework/
And put the teamMex apk in
out/host/linux-x86/framework/
Sent from my Moto G using XDA Free mobile app
Click to expand...
Click to collapse
TeamMex said:
add this
TimeService.apk
/home/yeshwanth/Ubuntu_Touch/out/target/product/falcon/obj/APPS/TimeService_intermediates
(Added in attached files.)
Click to expand...
Click to collapse
Added both files now new error
Code:
target thumb C: libcrypto_static <= external/openssl/crypto/x509v3/v3_sxnet.c
target thumb C: libcrypto_static <= external/openssl/crypto/x509v3/v3_utl.c
target thumb C: libcrypto_static <= external/openssl/crypto/x509v3/v3err.c
make: *** No rule to make target `/home/yeshwanth/Ubuntu_Touch/out/target/product/falcon/obj/EXECUTABLES/recovery_intermediates/recovery', needed by `/home/yeshwanth/Ubuntu_Touch/out/target/product/falcon/recovery/root.ts'. Stop.
make: *** Waiting for unfinished jobs....
yeshwanthvshenoy said:
Added both files now new error
Code:
target thumb C: libcrypto_static <= external/openssl/crypto/x509v3/v3_sxnet.c
target thumb C: libcrypto_static <= external/openssl/crypto/x509v3/v3_utl.c
target thumb C: libcrypto_static <= external/openssl/crypto/x509v3/v3err.c
make: *** No rule to make target `/home/yeshwanth/Ubuntu_Touch/out/target/product/falcon/obj/EXECUTABLES/recovery_intermediates/recovery', needed by `/home/yeshwanth/Ubuntu_Touch/out/target/product/falcon/recovery/root.ts'. Stop.
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
Remenber that EVERY TIME you close the building terminal, you need to do
Code:
$ . build/envsetup.sh
$ lunch full_falcon-userdebug

[Q] How to Use a Different Kernel When Building CM12?

I have been learning how to compile CM12 on my own and it has been going really good so far. I've done two nightly builds for myself but now I am curious how I would go about compiling a custom kernel with it. Say I wanted to substitute in Franco's kernel or Faux. . .what do I need to do in order to sync the required code to my build?
Off the top of my head, I would think that the line in the local_manifest needs to be changed, but I honestly have no idea if it is that easy.
Here you go.
http://wiki.cyanogenmod.org/w/Doc:_integrated_kernel_building
So, I have added Franco's details into the local_manifest.xml file and done the repo sync command to pull down all of the source code. Franco's kernel source seemed to pull down successfully and I thought everything was good
However, when I try the "time brunch hammerhead" command, I get some errors. . .
Code:
PRODUCT_COPY_FILES device/lge/hammerhead/apns-full-conf.xml:system/etc/apns-conf.xml ignored.
PRODUCT_COPY_FILES device/lge/hammerhead/spn-conf.xml:system/etc/spn-conf.xml ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/doug/cm12-n5/out/target/product/hammerhead/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/doug/cm12-n5/out/target/product/hammerhead/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:46: warning: overriding commands for target `/home/doug/cm12-n5/out/target/product/hammerhead/system/lib/libgps.utils.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/doug/cm12-n5/out/target/product/hammerhead/system/lib/libgps.utils.so'
build/core/Makefile:46: warning: overriding commands for target `/home/doug/cm12-n5/out/target/product/hammerhead/system/lib/libloc_core.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/doug/cm12-n5/out/target/product/hammerhead/system/lib/libloc_core.so'
No private recovery resources for TARGET_DEVICE hammerhead
host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c
host C: acp <= build/tools/acp/acp.c
host StaticLib: libmincrypt_32 (/home/doug/cm12-n5/out/host/linux-x86/obj32/STATIC_LIBRARIES/libmincrypt_intermediates/libmincrypt.a)
make -C kernel/lge/hammerhead O=/home/doug/cm12-n5/out/target/product/hammerhead/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_hammerhead_defconfig
make[1]: Entering directory `/home/doug/cm12-n5/kernel/lge/hammerhead'
host StaticLib: libhost_32 (/home/doug/cm12-n5/out/host/linux-x86/obj32/STATIC_LIBRARIES/libhost_intermediates/libhost.a)
host Executable: mkbootfs (/home/doug/cm12-n5/out/host/linux-x86/obj32/EXECUTABLES/mkbootfs_intermediates/mkbootfs)
host C: checkpolicy <= external/checkpolicy/queue.c
host C: checkpolicy <= external/checkpolicy/module_compiler.c
host C: checkpolicy <= external/checkpolicy/parse_util.c
external/checkpolicy/module_compiler.c: In function 'add_perm_to_class':
external/checkpolicy/module_compiler.c:710:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/checkpolicy/module_compiler.c: In function 'is_scope_in_stack':
external/checkpolicy/module_compiler.c:1233:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/checkpolicy/module_compiler.c: In function 'end_optional':
external/checkpolicy/module_compiler.c:1448:22: warning: unused parameter 'pass' [-Wunused-parameter]
external/checkpolicy/module_compiler.c: In function 'copy_requirements':
external/checkpolicy/module_compiler.c:1511:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/checkpolicy/module_compiler.c:1517:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
host C: checkpolicy <= external/checkpolicy/policy_define.c
GEN /home/doug/cm12-n5/out/target/product/hammerhead/obj/KERNEL_OBJ/Makefile
host C: checkpolicy <= external/checkpolicy/checkpolicy.c
host C++: checkpolicy <= /home/doug/cm12-n5/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.cpp
cc1: warning: command line option '-Wsign-promo' is valid for C++/ObjC++ but not for C [enabled by default]
host C++: checkpolicy <= /home/doug/cm12-n5/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_scan.cpp
cc1: warning: command line option '-Wsign-promo' is valid for C++/ObjC++ but not for C [enabled by default]
host StaticLib: libsepol_32 (/home/doug/cm12-n5/out/host/linux-x86/obj32/STATIC_LIBRARIES/libsepol_intermediates/libsepol.a)
host C: checkfc <= external/sepolicy/tools/checkfc.c
external/checkpolicy/policy_define.c: In function 'define_dominance':
external/checkpolicy/policy_define.c:867:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/checkpolicy/policy_define.c: In function 'clone_level':
external/checkpolicy/policy_define.c:997:38: warning: unused parameter 'key' [-Wunused-parameter]
external/checkpolicy/policy_define.c: In function 'define_compute_type_helper':
external/checkpolicy/policy_define.c:1569:2: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/checkpolicy/policy_define.c: In function 'dominate_role_recheck':
external/checkpolicy/policy_define.c:2146:3: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/checkpolicy/policy_define.c:2152:3: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/checkpolicy/policy_define.c:2125:48: warning: unused parameter 'key' [-Wunused-parameter]
external/checkpolicy/policy_define.c: In function 'parse_semantic_categories':
external/checkpolicy/policy_define.c:3445:64: warning: unused parameter 'levdatum' [-Wunused-parameter]
host C: libselinux_32 <= external/libselinux/src/callbacks.c
external/checkpolicy/checkpolicy.c: In function 'display_bools':
external/checkpolicy/checkpolicy.c:296:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/checkpolicy/checkpolicy.c: In function 'check_level':
external/checkpolicy/checkpolicy.c:364:72: warning: unused parameter 'arg' [-Wunused-parameter]
external/checkpolicy/checkpolicy.c: In function 'main':
external/checkpolicy/checkpolicy.c:472:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
host C: libselinux_32 <= external/libselinux/src/check_context.c
host C: libselinux_32 <= external/libselinux/src/freecon.c
***
*** Can't find default configuration "arch/arm/configs/cyanogenmod_hammerhead_defconfig"!
***
make[3]: *** [cyanogenmod_hammerhead_defconfig] Error 1
make[2]: *** [cyanogenmod_hammerhead_defconfig] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/doug/cm12-n5/kernel/lge/hammerhead'
host C: libselinux_32 <= external/libselinux/src/init.c
make: *** [/home/doug/cm12-n5/out/target/product/hammerhead/obj/KERNEL_OBJ/.config] Error 2
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes. Stop.
real 0m55.220s
user 0m46.604s
sys 0m11.489s
It seems to be hanging up on this error "Can't find default configuration "arch/arm/configs/cyanogenmod_hammerhead_defconfig"!" and I'm not sure how to proceed
I found this and he said that person needed to "Go to the device tree BoardConfig.mk and change cyanogenmod_d802_defconfig to d802_defconfig"
So I went into the BoardConfig.mk file and rmeoved the cyanogenmod bit from that line.
repo sync'd and set everything back up and it seems to be going through the full build right now *crossing my fingers*
Blah
So not I'm getting this error about 20 minutes into the build
Code:
target thumb C++: libqdutils <= hardware/qcom/display/msm8974/libqdutils/profiler.cpp
hardware/qcom/display/msm8974/libgralloc/ionalloc.cpp: In member function 'virtual int gralloc::IonAlloc::alloc_buffer(gralloc::alloc_data&)':
hardware/qcom/display/msm8974/libgralloc/ionalloc.cpp:76:18: error: 'struct ion_allocation_data' has no member named 'heap_id_mask'
ionAllocData.heap_id_mask = data.flags & ~ION_SECURE;
^
make: *** [/home/doug/cm12-n5/out/target/product/hammerhead/obj/SHARED_LIBRARIES/libmemalloc_intermediates/ionalloc.o] Error 1
make: *** Waiting for unfinished jobs....
Does anyone have any idea what this pertains to?

[Q] [5.1.1][LOLLIPOP][p720/p725]Builing CM 12.1 for the good old LG 3D OPTIMUS MAX

I've been trying for two month now to build cm-12.1 for this device. I made this post in order to get help to build it. This is a very good smartphone and I think that it deserves it. For this I need your help.
Here is my latest build error after 3 hour build. I make it again it took 2 minutes, same error
Code:
[email protected]:~/l$ make -j 8
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=12.1-20150624-UNOFFICIAL-p725
TARGET_PRODUCT=cm_p725
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a7
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-41-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=LMY48B
OUT_DIR=/home/a/l/out
============================================
"ebtables is disabled on this build"
find: `dummy': No such file or directory
PRODUCT_COPY_FILES vendor/cm/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
No private recovery resources for TARGET_DEVICE p725
build/core/tasks/kernel.mk:102: ***************************************************************
build/core/tasks/kernel.mk:103: * Using prebuilt kernel binary instead of source *
build/core/tasks/kernel.mk:104: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
build/core/tasks/kernel.mk:105: * Please configure your device to download the kernel *
build/core/tasks/kernel.mk:106: * source repository to kernel/lge/p725
build/core/tasks/kernel.mk:107: * See http://wiki.cyanogenmod.org/w/Doc:_integrated_kernel_building
build/core/tasks/kernel.mk:108: * for more information *
build/core/tasks/kernel.mk:109: ***************************************************************
build/core/tasks/kernel.mk:278: warning: overriding commands for target `/home/a/l/out/target/product/p725/kernel'
build/core/Makefile:46: warning: ignoring old commands for target `/home/a/l/out/target/product/p725/kernel'
Copying: /home/a/l/out/target/common/obj/JAVA_LIBRARIES/android-support-v4-eclair_intermediates/classes.jar
target SharedLib: libandroid_runtime (/home/a/l/out/target/product/p725/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/LINKED/libandroid_runtime.so)
target Static Jar: android-support-v7-cardview-jellybean-mr1 (/home/a/l/out/target/common/obj/JAVA_LIBRARIES/android-support-v7-cardview-jellybean-mr1_intermediates/javalib.jar)
target Java: TextSecureLibrary (/home/a/l/out/target/common/obj/JAVA_LIBRARIES/TextSecureLibrary_intermediates/classes)
target thumb C++: libwebviewchromium <= external/chromium_org/android_webview/lib/main/webview_entry_point.cc
Install: /home/a/l/out/target/product/p725/system/bin/bootanimation
Install: /home/a/l/out/target/product/p725/system/bin/drmserver
frameworks/base/core/jni/android_view_Surface.cpp:404: error: undefined reference to 'android::uirenderer::AnimationContext::AnimationContext(android::uirenderer::renderthread::TimeLord&)'
frameworks/base/core/jni/android_view_Surface.cpp:431: error: undefined reference to 'android::uirenderer::renderthread::RenderProxy::syncAndDrawFrame(long long, long long, float)'
frameworks/base/core/jni/android_view_Surface.cpp:425: error: undefined reference to 'android::uirenderer::renderthread::RenderProxy::updateSurface(android::sp<ANativeWindow> const&)'
frameworks/base/core/jni/android_view_Surface.cpp:412: error: undefined reference to 'android::uirenderer::renderthread::RenderProxy::RenderProxy(bool, android::uirenderer::RenderNode*, android::uirenderer::IContextFactory*)'
frameworks/base/core/jni/android_view_Surface.cpp:413: error: undefined reference to 'android::uirenderer::renderthread::RenderProxy::loadSystemProperties()'
frameworks/base/core/jni/android_view_Surface.cpp:414: error: undefined reference to 'android::uirenderer::renderthread::RenderProxy::setSwapBehavior(android::uirenderer::renderthread::SwapBehavior)'
frameworks/base/core/jni/android_view_Surface.cpp:415: error: undefined reference to 'android::uirenderer::renderthread::RenderProxy::initialize(android::sp<ANativeWindow> const&)'
frameworks/base/core/jni/android_view_Surface.cpp:418: error: undefined reference to 'android::uirenderer::renderthread::RenderProxy::setup(int, int, android::uirenderer::Vector3 const&, float, unsigned char, unsigned char)'
frameworks/base/core/jni/android/graphics/Paint.cpp:809: error: undefined reference to 'android::uirenderer::Blur::convertRadiusToSigma(float)'
collect2: error: ld returned 1 exit status
make: *** [/home/a/l/out/target/product/p725/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/LINKED/libandroid_runtime.so] Error 1
make: *** Waiting for unfinished jobs....
Note: external/whispersystems/TextSecure/library/src/org/whispersystems/textsecure/push/PushServiceSocket.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
#### make failed to build some targets (02:00 (mm:ss)) ####
This is my new error
Code:
Export includes file: system/core/libion/Android.mk -- /home/a/l/out/target/product/p720/obj/SHARED_LIBRARIES/libion_intermediates/export_includes
Target wpa_supplicant.conf: /home/a/l/out/target/product/p720/obj/ETC/wpa_supplicant.conf_intermediates/wpa_supplicant.conf
make: *** No rule to make target `system/bluetooth/data/main.conf', needed by `/home/a/l/out/target/product/p720/system/etc/bluetooth/main.conf'. Stop.
make: *** Waiting for unfinished jobs....
GEN include/usage.h
GEN loginutils/Kbuild
GEN loginutils/Config.in
GEN shell/Kbuild
GEN shell/Config.in
GEN selinux/Kbuild
GEN selinux/Config.in
GEN util-linux/Kbuild
GEN util-linux/Config.in
GEN util-linux/volume_id/Kbuild
GEN util-linux/volume_id/Config.in
GEN archival/Kbuild
GEN archival/Config.in
GEN archival/libarchive/Kbuild
GEN mailutils/Kbuild
GEN mailutils/Config.in
GEN networking/Kbuild
GEN networking/Config.in
GEN networking/udhcp/Kbuild
GEN networking/udhcp/Config.in
GEN networking/libiproute/Kbuild
GEN debianutils/Kbuild
GEN debianutils/Config.in
GEN sysklogd/Kbuild
GEN sysklogd/Config.in
GEN applets/Kbuild
GEN runit/Kbuild
GEN runit/Config.in
GEN console-tools/Kbuild
GEN console-tools/Config.in
GEN findutils/Kbuild
GEN findutils/Config.in
GEN procps/Kbuild
GEN procps/Config.in
GEN init/Kbuild
GEN init/Config.in
GEN miscutils/Kbuild
GEN miscutils/Config.in
GEN coreutils/Kbuild
GEN coreutils/Config.in
GEN coreutils/libcoreutils/Kbuild
GEN modutils/Kbuild
GEN modutils/Config.in
GEN scripts/Kbuild
GEN editors/Kbuild
GEN editors/Config.in
GEN e2fsprogs/Kbuild
GEN e2fsprogs/Config.in
GEN e2fsprogs/old_e2fsprogs/Kbuild
GEN e2fsprogs/old_e2fsprogs/Config.in
GEN e2fsprogs/old_e2fsprogs/uuid/Kbuild
GEN e2fsprogs/old_e2fsprogs/e2p/Kbuild
GEN e2fsprogs/old_e2fsprogs/ext2fs/Kbuild
GEN e2fsprogs/old_e2fsprogs/blkid/Kbuild
GEN printutils/Kbuild
GEN printutils/Config.in
GEN libpwdgrp/Kbuild
GEN libbb/Kbuild
GEN libbb/Config.in
Using /home/a/l/external/busybox as source for busybox
GEN /home/a/l/out/target/product/p720/obj/busybox/full/Makefile
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/split-include
HOSTCC scripts/basic/docproc
/home/a/l/external/busybox/scripts/basic/split-include.c: In function ‘main’:
/home/a/l/external/busybox/scripts/basic/split-include.c:134:11: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(old_line, buffer_size, fp_target);
^
HOSTCC scripts/kconfig/conf.o
/home/a/l/external/busybox/scripts/kconfig/conf.c: In function ‘conf_askvalue’:
/home/a/l/external/busybox/scripts/kconfig/conf.c:106:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 128, stdin);
^
/home/a/l/external/busybox/scripts/kconfig/conf.c: In function ‘conf_choice’:
/home/a/l/external/busybox/scripts/kconfig/conf.c:354:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 128, stdin);
^
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/mconf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
/home/a/l/external/busybox/scripts/kconfig/mconf.c: In function ‘show_textbox’:
/home/a/l/external/busybox/scripts/kconfig/mconf.c:847:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, text, strlen(text));
^
/home/a/l/external/busybox/scripts/kconfig/mconf.c: In function ‘exec_conf’:
/home/a/l/external/busybox/scripts/kconfig/mconf.c:481:6: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result]
pipe(pipefd);
^
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s Config.in
#
# using defaults found in .config
#
SPLIT include/autoconf.h -> include/config/*
HOSTCC applets/usage
HOSTCC applets/applet_tables
/home/a/l/external/busybox/applets/usage.c: In function ‘main’:
/home/a/l/external/busybox/applets/usage.c:52:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(STDOUT_FILENO, usage_array[i].usage, strlen(usage_array[i].usage) + 1);
^
GEN include/bbconfigopts.h
/home/a/l/external/busybox/applets/applet_tables.c: In function ‘main’:
/home/a/l/external/busybox/applets/applet_tables.c:144:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line_old, sizeof(line_old), fp);
^
GEN include/applet_tables.h
HOSTCC applets/usage_pod
GEN include/usage_compressed.h
CC applets/applets.o
LD applets/built-in.o
make[1]: Leaving directory `/home/a/l/external/busybox'
#### make failed to build some targets (02:48 (mm:ss)) ####
Where are your sources, devtree and kernel. If i am not mistaken the p720 has 1g mem, so it would be easier to get the ddk1.9 gpu binaries working for your device. Take the l9 kernel for jellybean, add cosmo and cx support from cm10 kernel and your good to go kernel wise. Device tree needs upgrading of hwcomposer and domx, or use l9 device tree aswell with your device specific changes. Post your sources and i will try to help, i feel im so close with our p920 device, i think its vram specs i need to get right to bring up display.
Sent from my LG-D620 using XDA Free mobile app
---------- Post added at 19:01 ---------- Previous post was at 18:49 ----------
L9 kernel, https://github.com/dhiru1602/lge-kernel-omap4.l9 common dev tree, https://github.com/dhiru1602/android_device_lge_u2-common. Add support from https://github.com/CyanogenMod/lge-kernel-omap4, to the l9 kernel for cosmo and cx.
Sent from my LG-D620 using XDA Free mobile app
I don't think you realize how glad I am for you help. I try you suggestions and I will get back to you as soon as I get something.
Thanks again.
hi, im working on cm12.0 for LG prada, its so similar device to optimus 3d i guess. i following your work , so let me know about your progresses, ty {and sry for my eng}
Hi I just modified the l9 common tree with configuration for the p725 and I could buil the recovery image.
Here is the tree https://github.com/lung1/device_lge_p720
Still after I flashed the recovery image on the p725 it run into a bootloop but just when I tried to get into recovery. When I rebooted the devices it started Android so I didn't bricked it
Suggestions?
I forget to mention that I used the https://github.com/CyanogenMod/lge-kernel-omap4 kernel because it works. If I build cm-10 it works perfectly. I just used this kernel and https://github.com/CyanogenMod/android_device_lge_p720 .
Yes its will build, no problem but you are going to get bootloop or blank screen. The kernel still needs to be updated, because the common dev tree you are using has the 1.9 pvr and the cm10 tree has 1.8 pvr. Just check the pvr version in the dev trees of both, sgx-module/services4. Add the cosmo and cx support to the l9 kernel. Then the kernel will be inline with the common dev tree you are using. The pvr needs the ion,remoteproc rpmsg,dss and dsscomp updates thats in the l9 kernel.
Sent from my LG-D620 using XDA Free mobile app
I added the binaries for cosmo and cx2, here is the source https://github.com/lung1/kernel_lge_p720 . But now I can't build the recovery image. Here is the error.
Code:
[email protected]:~/l$ make recoveryimage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=12.1-20150630-UNOFFICIAL-p720
TARGET_PRODUCT=cm_p720
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-41-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=LMY48B
OUT_DIR=/home/a/l/out
============================================
"ebtables is disabled on this build"
find: `omapmmlib/java': No such file or directory
find: `omapmmlib/java': No such file or directory
find: `dummy': No such file or directory
PRODUCT_COPY_FILES vendor/cm/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/etc/wifi/wpa_supplicant.conf'
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml ignored.
PRODUCT_COPY_FILES hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libril.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libril.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/lights.omap4.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/lights.omap4.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/camera.omap4.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/camera.omap4.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/nfc.default.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/nfc.default.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libtinyalsa.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libtinyalsa.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/bin/rild'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/bin/rild'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libmm_osal.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libmm_osal.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX_Core.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX_Core.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libion.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libion.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libtiutils.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libtiutils.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libdomx.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libdomx.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
No private recovery resources for TARGET_DEVICE p720
make -C kernel/lge/omap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_p720_defconfig
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
CHK include/linux/version.h
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make -C kernel/lge/omap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" zImage
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
Using /home/a/l/kernel/lge/omap4-common as source for kernel
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[3]: `include/generated/mach-types.h' is up to date.
CALL /home/a/l/kernel/lge/omap4-common/scripts/checksyscalls.sh
CHK include/generated/compile.h
CC arch/arm/mach-omap2/omap_hsi.o
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/omap_hsi.c: In function 'hsi_get_hsi_platform_device':
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/omap_hsi.c:139:11: error: 'hsi_temp_ptr' undeclared (first use in this function)
dev = hsi_temp_ptr;
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/omap_hsi.c:139:11: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [arch/arm/mach-omap2/omap_hsi.o] Error 1
make[2]: *** [arch/arm/mach-omap2] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make: *** [TARGET_KERNEL_BINARIES] Error 2
#### make failed to build some targets (01:29 (mm:ss)) ####
Error is in arch/arm/mach_omap2/omap_hsi.c, use meld to diff your changes with that of the l9 kernel. Also first test if kernel compiles before building complete rom. Do a (. build/envsetup.sh) then lunch, choose your device and then mm bootimage. Just to build bootimage. It saves time then to build a complete rom to check if you get kernel errors.
Sent from my LG-D620 using XDA Free mobile app
---------- Post added at 12:30 ---------- Previous post was at 12:24 ----------
As an alternative, you could use my updated kernel, its also cm10.2 with all updates for optimus 3d, i haven't changed carveouts for 1g devices, so it should work.
https://github.com/shaqfu786/lge-kernel-omap4. Here you go.
Sent from my LG-D620 using XDA Free mobile app
I found the error in the omap_hsi.c and fixed it. Here is the result:
Code:
[email protected]:~/l$ mm bootimage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=12.1-20150630-UNOFFICIAL-p720
TARGET_PRODUCT=cm_p720
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-41-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=LMY48B
OUT_DIR=/home/a/l/out
============================================
"ebtables is disabled on this build"
find: `omapmmlib/java': No such file or directory
find: `omapmmlib/java': No such file or directory
find: `dummy': No such file or directory
PRODUCT_COPY_FILES vendor/cm/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/etc/wifi/wpa_supplicant.conf'
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml ignored.
PRODUCT_COPY_FILES hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libril.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libril.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/lights.omap4.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/lights.omap4.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/camera.omap4.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/camera.omap4.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/nfc.default.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/nfc.default.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libtinyalsa.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libtinyalsa.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/bin/rild'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/bin/rild'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libmm_osal.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libmm_osal.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX_Core.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX_Core.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libion.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libion.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libtiutils.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libtiutils.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libdomx.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libdomx.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
No private recovery resources for TARGET_DEVICE p720
make -C kernel/lge/omap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_p720_defconfig
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
CHK include/linux/version.h
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make -C kernel/lge/omap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" zImage
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
Using /home/a/l/kernel/lge/omap4-common as source for kernel
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[3]: `include/generated/mach-types.h' is up to date.
CALL /home/a/l/kernel/lge/omap4-common/scripts/checksyscalls.sh
CHK include/generated/compile.h
LD arch/arm/mach-omap2/mailbox_mach.o
CC arch/arm/mach-omap2/lge/board-lg-wifi.o
CC arch/arm/mach-omap2/lge/cx2/../board-lg-wifi.o
CC arch/arm/mach-omap2/lge/cx2/cx2_i2c.o
In file included from /home/a/l/kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/board-lge-nfc.h:1:0,
from /home/a/l/kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:49:
/home/a/l/kernel/lge/omap4-common/include/linux/nfc/pn544_lge.h:44:28: fatal error: mach/board_lge.h: No such file or directory
#include <mach/board_lge.h>
^
compilation terminated.
make[5]: *** [arch/arm/mach-omap2/lge/cx2/cx2_i2c.o] Error 1
make[4]: *** [arch/arm/mach-omap2/lge/cx2] Error 2
make[3]: *** [arch/arm/mach-omap2/lge] Error 2
make[2]: *** [arch/arm/mach-omap2] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make: *** [TARGET_KERNEL_BINARIES] Error 2
#### make failed to build some targets (01:26 (mm:ss)) ####
I tried your alternative solution, and I had to delete the -Werror flag from drivers/net/wireless/bcmdhd/Makefile because of this error:
Code:
[email protected]:~/l$ mm bootimage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=12.1-20150630-UNOFFICIAL-p720
TARGET_PRODUCT=cm_p720
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-41-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=LMY48B
OUT_DIR=/home/a/l/out
============================================
"ebtables is disabled on this build"
find: `omapmmlib/java': No such file or directory
find: `omapmmlib/java': No such file or directory
find: `dummy': No such file or directory
PRODUCT_COPY_FILES vendor/cm/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/etc/wifi/wpa_supplicant.conf'
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml ignored.
PRODUCT_COPY_FILES hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libril.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libril.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/lights.omap4.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/lights.omap4.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/camera.omap4.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/camera.omap4.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/nfc.default.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/nfc.default.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libtinyalsa.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libtinyalsa.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/bin/rild'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/bin/rild'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libmm_osal.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libmm_osal.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX_Core.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX_Core.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libion.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libion.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libtiutils.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libtiutils.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libdomx.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libdomx.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
No private recovery resources for TARGET_DEVICE p720
make -C kernel/lge/omap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_p720_defconfig
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
CHK include/linux/version.h
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make -C kernel/lge/omap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" zImage
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
Using /home/a/l/kernel/lge/omap4-common as source for kernel
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[3]: `include/generated/mach-types.h' is up to date.
CALL /home/a/l/kernel/lge/omap4-common/scripts/checksyscalls.sh
CHK include/generated/compile.h
CC drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfgp2p.o
../../../../../../kernel/lge/omap4-common/drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfgp2p.c: In function 'wl_cfgp2p_ifidx':
../../../../../../kernel/lge/omap4-common/drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfgp2p.c:458:31: error: argument to 'sizeof' in 'memcpy' call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]
memcpy(index, getbuf, sizeof(index));
^
cc1: all warnings being treated as errors
make[6]: *** [drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfgp2p.o] Error 1
make[5]: *** [drivers/net/wireless/bcmdhd] Error 2
make[4]: *** [drivers/net/wireless] Error 2
make[3]: *** [drivers/net] Error 2
make[2]: *** [drivers] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make: *** [TARGET_KERNEL_BINARIES] Error 2
#### make failed to build some targets (01:29 (mm:ss)) ####
After I deleted I got this massage:
Code:
[email protected]:~/l$ mm bootimage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=12.1-20150630-UNOFFICIAL-p720
TARGET_PRODUCT=cm_p720
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-41-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=LMY48B
OUT_DIR=/home/a/l/out
============================================
"ebtables is disabled on this build"
find: `omapmmlib/java': No such file or directory
find: `omapmmlib/java': No such file or directory
find: `dummy': No such file or directory
PRODUCT_COPY_FILES vendor/cm/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/etc/wifi/wpa_supplicant.conf'
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml ignored.
PRODUCT_COPY_FILES hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libril.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libril.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/lights.omap4.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/lights.omap4.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/camera.omap4.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/camera.omap4.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/nfc.default.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/nfc.default.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libtinyalsa.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libtinyalsa.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/bin/rild'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/bin/rild'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libmm_osal.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libmm_osal.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX_Core.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX_Core.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libion.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libion.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libtiutils.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libtiutils.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libdomx.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libdomx.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
No private recovery resources for TARGET_DEVICE p720
make -C kernel/lge/omap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_p720_defconfig
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
CHK include/linux/version.h
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make -C kernel/lge/omap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" zImage
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
Using /home/a/l/kernel/lge/omap4-common as source for kernel
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[3]: `include/generated/mach-types.h' is up to date.
CALL /home/a/l/kernel/lge/omap4-common/scripts/checksyscalls.sh
CHK include/generated/compile.h
CC drivers/video/omap2/dsscomp/gralloc.o
../../../../../../kernel/lge/omap4-common/drivers/video/omap2/dsscomp/gralloc.c: In function 'dsscomp_gralloc_cb':
../../../../../../kernel/lge/omap4-common/drivers/video/omap2/dsscomp/gralloc.c:132:14: error: 'struct dsscomp_gralloc_t' has no member named 'adapt_info'
if ( gsync->adapt_info!=NULL )
^
../../../../../../kernel/lge/omap4-common/drivers/video/omap2/dsscomp/gralloc.c:134:29: error: 'struct dsscomp_gralloc_t' has no member named 'adapt_info'
dsscomp_adapt_free(gsync->adapt_info);
^
../../../../../../kernel/lge/omap4-common/drivers/video/omap2/dsscomp/gralloc.c:135:10: error: 'struct dsscomp_gralloc_t' has no member named 'adapt_info'
gsync->adapt_info = NULL;
^
../../../../../../kernel/lge/omap4-common/drivers/video/omap2/dsscomp/gralloc.c: In function 'dsscomp_gralloc_queue':
../../../../../../kernel/lge/omap4-common/drivers/video/omap2/dsscomp/gralloc.c:628:8: error: 'struct dsscomp_gralloc_t' has no member named 'adapt_info'
gsync->adapt_info = adapt_info;
^
../../../../../../kernel/lge/omap4-common/drivers/video/omap2/dsscomp/gralloc.c:646:12: error: 'struct dsscomp_gralloc_t' has no member named 'adapt_info'
if ( gsync->adapt_info!=NULL )
^
../../../../../../kernel/lge/omap4-common/drivers/video/omap2/dsscomp/gralloc.c:649:39: error: 'struct dsscomp_gralloc_t' has no member named 'adapt_info'
r= dsscomp_adapt_wait_complete(gsync->adapt_info, 100, &ret);
^
../../../../../../kernel/lge/omap4-common/drivers/video/omap2/dsscomp/gralloc.c:653:34: error: 'struct dsscomp_gralloc_t' has no member named 'adapt_info'
dsscomp_adapt_force_stop(gsync->adapt_info);
^
make[6]: *** [drivers/video/omap2/dsscomp/gralloc.o] Error 1
make[5]: *** [drivers/video/omap2/dsscomp] Error 2
make[4]: *** [drivers/video/omap2] Error 2
make[3]: *** [drivers/video] Error 2
make[2]: *** [drivers] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make: *** [TARGET_KERNEL_BINARIES] Error 2
#### make failed to build some targets (01:31 (mm:ss)) ####
Thanks again for your help!
Use meld again to diff your gralloc.c file. Strange i dont get gralloc errors my side when i compile the updated cm10.2 kernel.
Sent from my LG-D620 using XDA Free mobile app
Here is the error
Code:
CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_p720_defconfig
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
CHK include/linux/version.h
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make -C kernel/lge/omap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" zImage
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
Using /home/a/l/kernel/lge/omap4-common as source for kernel
CHK include/generated/utsrelease.h
make[3]: `include/generated/mach-types.h' is up to date.
CALL /home/a/l/kernel/lge/omap4-common/scripts/checksyscalls.sh
CHK include/generated/compile.h
CC arch/arm/plat-omap/omap_dsscomp.o
make[3]: *** No rule to make target `arch/arm/plat-omap/lge_err_handler.o', needed by `arch/arm/plat-omap/built-in.o'. Stop.
make[3]: *** Waiting for unfinished jobs....
CC arch/arm/plat-omap/android-display.o
CC mm/page_io.o
CC arch/arm/mach-omap2/hsmmc.o
CC arch/arm/mach-omap2/omap_fiq_debugger.o
CC arch/arm/mach-omap2/omap4-reboot-reason.o
CC arch/arm/mach-omap2/twl_i2c.o
CC arch/arm/mach-omap2/lge/board-lg-wifi.o
CC arch/arm/mach-omap2/lge/cx2/../board-lg-wifi.o
In file included from /home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:5:0,
from /home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/android-display.h:19,
from /home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/android-display.c:27:
/home/a/l/kernel/lge/omap4-common/include/video/dsscomp.h:1:0: error: unterminated #ifndef
#ifndef _LINUX_DSSCOMP_H
^
In file included from /home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/android-display.h:19:0,
from /home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/android-display.c:27:
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:16:44: warning: 'struct dss2_ovl_info' declared inside parameter list [enabled by default]
int dsscomp_set_ovl(dsscomp_t comp, struct dss2_ovl_info *ovl);
^
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:16:44: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:17:52: warning: 'struct dss2_ovl_info' declared inside parameter list [enabled by default]
int dsscomp_get_ovl(dsscomp_t comp, u32 ix, struct dss2_ovl_info *ovl);
^
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:18:44: warning: 'struct dss2_mgr_info' declared inside parameter list [enabled by default]
int dsscomp_set_mgr(dsscomp_t comp, struct dss2_mgr_info *mgr);
^
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:19:44: warning: 'struct dss2_mgr_info' declared inside parameter list [enabled by default]
int dsscomp_get_mgr(dsscomp_t comp, struct dss2_mgr_info *mgr);
^
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:21:11: warning: 'struct dss2_rect_t' declared inside parameter list [enabled by default]
struct dss2_rect_t win);
^
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:21:11: warning: 'enum dsscomp_setup_mode' declared inside parameter list [enabled by default]
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:29:4: warning: 'struct dsscomp_setup_dispc_data' declared inside parameter list [enabled by default]
void (*cb_fn)(void *, int), void *cb_arg);
^
make[3]: *** [arch/arm/plat-omap/android-display.o] Error 1
CC arch/arm/mach-omap2/lge/cx2/cx2_i2c.o
In file included from /home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/omap_dsscomp.c:29:0:
/home/a/l/kernel/lge/omap4-common/include/video/dsscomp.h:1:0: error: unterminated #ifndef
#ifndef _LINUX_DSSCOMP_H
^
In file included from /home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:5:0,
from /home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/omap_dsscomp.c:30:
/home/a/l/kernel/lge/omap4-common/include/video/dsscomp.h:1:0: error: unterminated #ifndef
#ifndef _LINUX_DSSCOMP_H
^
In file included from /home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/omap_dsscomp.c:30:0:
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:16:44: warning: 'struct dss2_ovl_info' declared inside parameter list [enabled by default]
int dsscomp_set_ovl(dsscomp_t comp, struct dss2_ovl_info *ovl);
^
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:16:44: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:17:52: warning: 'struct dss2_ovl_info' declared inside parameter list [enabled by default]
int dsscomp_get_ovl(dsscomp_t comp, u32 ix, struct dss2_ovl_info *ovl);
^
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:18:44: warning: 'struct dss2_mgr_info' declared inside parameter list [enabled by default]
int dsscomp_set_mgr(dsscomp_t comp, struct dss2_mgr_info *mgr);
^
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:19:44: warning: 'struct dss2_mgr_info' declared inside parameter list [enabled by default]
int dsscomp_get_mgr(dsscomp_t comp, struct dss2_mgr_info *mgr);
^
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:21:11: warning: 'struct dss2_rect_t' declared inside parameter list [enabled by default]
struct dss2_rect_t win);
^
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:21:11: warning: 'enum dsscomp_setup_mode' declared inside parameter list [enabled by default]
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:29:4: warning: 'struct dsscomp_setup_dispc_data' declared inside parameter list [enabled by default]
void (*cb_fn)(void *, int), void *cb_arg);
^
make[3]: *** [arch/arm/plat-omap/omap_dsscomp.o] Error 1
make[2]: *** [arch/arm/plat-omap] Error 2
make[2]: *** Waiting for unfinished jobs....
../../../../../../kernel/lge/omap4-common/mm/page_io.c: In function 'end_swap_bio_read':
../../../../../../kernel/lge/omap4-common/mm/page_io.c:96:3: error: implicit declaration of function 'page_swap_info' [-Werror=implicit-function-declaration]
sis = page_swap_info(page);
^
../../../../../../kernel/lge/omap4-common/mm/page_io.c:96:7: warning: assignment makes pointer from integer without a cast [enabled by default]
sis = page_swap_info(page);
^
cc1: some warnings being treated as errors
make[3]: *** [mm/page_io.o] Error 1
make[2]: *** [mm] Error 2
CC arch/arm/mach-omap2/omap_ram_console.o
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/hsmmc.c:337:35: error: 'SDIO_VENDOR_ID_TI' undeclared here (not in a function)
.vendor = SDIO_VENDOR_ID_TI,
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/hsmmc.c:338:35: error: 'SDIO_DEVICE_ID_TI_WL12xx' undeclared here (not in a function)
.device = SDIO_DEVICE_ID_TI_WL12xx,
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/hsmmc.c: In function 'omap_hsmmc_pdata_init':
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/hsmmc.c:519:25: error: implicit declaration of function 'machine_is_omap_4430sdp' [-Werror=implicit-function-declaration]
if (machine_is_omap_4430sdp())
^
cc1: some warnings being treated as errors
make[3]: *** [arch/arm/mach-omap2/hsmmc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
CC drivers/mfd/twl-core.o
CC drivers/mfd/twl4030-irq.o
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:720:2: error: unknown field 'gpio_mhl' specified in initializer
.gpio_mhl = GPIO_MHL_SEL,
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:720:2: warning: excess elements in struct initializer [enabled by default]
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:720:2: warning: (near initialization for 'muic_pdata') [enabled by default]
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:721:2: error: unknown field 'gpio_ifx_vbus' specified in initializer
.gpio_ifx_vbus = GPIO_IFX_USB_VBUS_EN,
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:721:2: warning: excess elements in struct initializer [enabled by default]
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:721:2: warning: (near initialization for 'muic_pdata') [enabled by default]
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c: In function 'lge_i2c_init':
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:906:6: warning: unused variable 'fixed_rev' [-Wunused-variable]
int fixed_rev = 0;
^
make[5]: *** [arch/arm/mach-omap2/lge/cx2/cx2_i2c.o] Error 1
make[4]: *** [arch/arm/mach-omap2/lge/cx2] Error 2
make[3]: *** [arch/arm/mach-omap2/lge] Error 2
make[2]: *** [arch/arm/mach-omap2] Error 2
CC drivers/mfd/twl6030-irq.o
CC drivers/muic/muic_class.o
CC drivers/input/touchscreen/touch_synaptics_s3000.o
CC drivers/mfd/twl4030-power.o
CC drivers/mfd/twl6030-pwm.o
CC drivers/muic/muic_client_class.o
CC drivers/mtd/mtdcore.o
CC drivers/muic/dp3t.o
CC drivers/mtd/mtdsuper.o
CC drivers/net/mii.o
CC drivers/net/ks8851.o
CC drivers/net/Space.o
CC drivers/muic/usif.o
CC drivers/mtd/mtdconcat.o
LD drivers/nfc/built-in.o
CC drivers/muic/fota.o
../../../../../../kernel/lge/omap4-common/drivers/muic/usif.c: In function 'usif_switch_ctrl':
../../../../../../kernel/lge/omap4-common/drivers/muic/usif.c:175:3: warning: 'return' with a value, in function returning void [enabled by default]
return 1;
^
CC drivers/net/loopback.o
CC drivers/muic/muic_tsu5611.o
LD drivers/platform/built-in.o
CC drivers/net/ppp_generic.o
CC drivers/muic/muic_tsu5611_cx2.o
CC drivers/power/power_supply_core.o
CC drivers/mtd/mtdpart.o
CC drivers/net/ppp_async.o
CC drivers/regulator/core.o
CC drivers/net/ppp_synctty.o
CC drivers/mtd/mtdchar.o
CC drivers/net/ppp_deflate.o
CC drivers/omap_hsi/xmd-tty.o
CC drivers/net/bsd_comp.o
CC drivers/net/ppp_mppe.o
CC drivers/mtd/mtd_blkdevs.o
CC drivers/net/pppox.o
CC drivers/mtd/mtdblock.o
CC drivers/omap_hsi/xmd-rmnet.o
CC drivers/regulator/dummy.o
CC drivers/regulator/fixed.o
CC drivers/omap_hsi/xmd-hsi-mcm.o
../../../../../../kernel/lge/omap4-common/drivers/mfd/twl-core.c: In function 'add_children':
../../../../../../kernel/lge/omap4-common/drivers/mfd/twl-core.c:708:13: error: 'struct twl4030_bci_platform_data' has no member named 'errata'
pdata->bci->errata = errata;
^
../../../../../../kernel/lge/omap4-common/drivers/mfd/twl-core.c: In function 'twl_probe':
../../../../../../kernel/lge/omap4-common/drivers/mfd/twl-core.c:1423:15: error: 'TWL6032_ERRATA_DB00119490' undeclared (first use in this function)
errata |= TWL6032_ERRATA_DB00119490;
^
../../../../../../kernel/lge/omap4-common/drivers/mfd/twl-core.c:1423:15: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [drivers/mfd/twl-core.o] Error 1
make[4]: *** Waiting for unfinished jobs....
CC drivers/omap_hsi/xmd_hsi_mem.o
CC drivers/net/pppoe.o
CC drivers/mtd/chips/chipreg.o
CC drivers/net/pppolac.o
CC drivers/omap_hsi/xmd-hsi-ll.o
CC drivers/regulator/twl-regulator.o
CC drivers/omap_hsi/hsi_driver.o
LD drivers/mtd/chips/built-in.o
CC drivers/net/pppopns.o
LD drivers/mtd/devices/built-in.o
CC drivers/omap_hsi/hsi_driver_dma.o
CC drivers/net/slhc.o
CC drivers/omap_hsi/hsi_driver_int.o
CC drivers/remoteproc/remoteproc.o
LD drivers/mtd/lpddr/built-in.o
LD drivers/mtd/maps/built-in.o
CC drivers/net/tun.o
CC drivers/remoteproc/omap_remoteproc.o
CC drivers/omap_hsi/hsi_driver_if.o
CC drivers/mtd/nand/nand_ids.o
CC drivers/omap_hsi/hsi_driver_bus.o
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c: In function 'synaptics_ts_get_data':
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c:254:33: error: 'struct t_data' has no member named 'status'
data->curr_data[finger_index].status = FINGER_PRESSED;
^
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c:254:43: error: 'FINGER_PRESSED' undeclared (first use in this function)
data->curr_data[finger_index].status = FINGER_PRESSED;
^
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c:254:43: note: each undeclared identifier is reported only once for each function it appears in
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c: In function 'get_ic_info':
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c:414:18: error: 'struct touch_fw_info' has no member named 'ic_fw_identifier'
snprintf(fw_info->ic_fw_identifier, sizeof(fw_info->ic_fw_identifier),
^
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c:414:52: error: 'struct touch_fw_info' has no member named 'ic_fw_identifier'
snprintf(fw_info->ic_fw_identifier, sizeof(fw_info->ic_fw_identifier),
^
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c:416:18: error: 'struct touch_fw_info' has no member named 'ic_fw_version'
snprintf(fw_info->ic_fw_version, sizeof(fw_info->ic_fw_version), "%d", ts->fw_info.fw_rev);
^
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c:416:49: error: 'struct touch_fw_info' has no member named 'ic_fw_version'
snprintf(fw_info->ic_fw_version, sizeof(fw_info->ic_fw_version), "%d", ts->fw_info.fw_rev);
^
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c: In function 'synaptics_ts_fw_upgrade':
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c:678:35: error: 'struct touch_fw_info' has no member named 'fw_upgrade'
ret = FirmwareUpgrade(ts, fw_info->fw_upgrade.fw_path);
^
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c: At top level:
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c:761:2: warning: initialization from incompatible pointer type [enabled by default]
.data = synaptics_ts_get_data,
^
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c:761:2: warning: (near initialization for 'synaptics_ts_driver.data') [enabled by default]
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c:763:2: warning: initialization from incompatible pointer type [enabled by default]
.fw_upgrade = synaptics_ts_fw_upgrade,
^
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c:763:2: warning: (near initialization for 'synaptics_ts_driver.fw_upgrade') [enabled by default]
make[5]: *** [drivers/input/touchscreen/touch_synaptics_s3000.o] Error 1
make[4]: *** [drivers/input/touchscreen] Error 2
make[3]: *** [drivers/input] Error 2
make[3]: *** Waiting for unfinished jobs....
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611.c: In function 'muic_is_retain_mode':
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611.c:366:58: error: 'RETAIN_MAX' undeclared (first use in this function)
if((muic_retain_mode < NO_RETAIN)||(muic_retain_mode >= RETAIN_MAX)) {
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611.c:366:58: note: each undeclared identifier is reported only once for each function it appears in
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611.c: In function 'muic_process_retain_mode':
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611.c:376:58: error: 'RETAIN_MAX' undeclared (first use in this function)
if((muic_retain_mode < NO_RETAIN)||(muic_retain_mode >= RETAIN_MAX)) {
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611.c:386:8: error: 'BOOT_MHL' undeclared (first use in this function)
case BOOT_MHL : muic_set_mode(MUIC_MHL); break;
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611.c: In function 'muic_tsu5611_probe':
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611.c:794:23: error: 'struct muic_platform_data' has no member named 'gpio_mhl'
dev->gpio_mhl = pdata->gpio_mhl;
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611.c:795:28: error: 'struct muic_platform_data' has no member named 'gpio_ifx_vbus'
dev->gpio_ifx_vbus = pdata->gpio_ifx_vbus;
^
make[4]: *** [drivers/muic/muic_tsu5611.o] Error 1
make[4]: *** Waiting for unfinished jobs....
LD drivers/net/arm/built-in.o
CC drivers/power/power_supply_sysfs.o
CC drivers/omap_hsi/hsi_driver_gpio.o
CC drivers/omap_hsi/hsi_driver_fifo.o
CC drivers/remoteproc/rpres.o
LD drivers/mtd/nand/built-in.o
CC drivers/omap_hsi/hsi_driver_debugfs.o
CC drivers/power/twl6030_bci_battery.o
make[3]: *** [drivers/mfd] Error 2
CC drivers/power/rt9524_charger.o
LD drivers/mtd/tests/built-in.o
LD drivers/omap_hsi/omap_hsi.o
LD drivers/mtd/mtd.o
CC drivers/mtd/onenand/onenand_base.o
LD drivers/omap_hsi/ifx.o
LD drivers/omap_hsi/built-in.o
CC drivers/mtd/onenand/onenand_bbt.o
CC drivers/remoteproc/rpres_dev.o
LD drivers/mtd/onenand/onenand.o
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:82:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
extern void android_USB_disconnect();// for usb disconnect event
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c: In function 'muic_set_ap_usb_mode':
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:225:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'struct i2c_client *' [-Wformat=]
printk("muic %s, client : %d", __func__, client);
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c: In function 'muic_process_retention_mode':
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:312:12: error: 'BOOT_MHL' undeclared (first use in this function)
}else if (BOOT_MHL == muic_retain_mode){
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:312:12: note: each undeclared identifier is reported only once for each function it appears in
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c: In function 'muic_tsu5611_detect_accessory':
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:429:6: warning: unused variable 'loop' [-Wunused-variable]
s32 loop = 0;
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c: In function 'muic_int_stat':
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:672:43: warning: backslash and newline separated by space [enabled by default]
(id_register_value == IDNO_1001) || \
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c: In function 'muic_int_stat_read':
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:718:2: warning: passing argument 3 of 'muic_i2c_read_byte' from incompatible pointer type [enabled by default]
ret = muic_i2c_read_byte(client, INT_STATUS1, &value);
^
In file included from ../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:39:0:
../../../../../../kernel/lge/omap4-common/include/linux/muic/muic.h:136:5: note: expected 'u8 *' but argument is of type 'u32 *'
s32 muic_i2c_read_byte(struct i2c_client *client, u8 addr, u8 *value);
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c: At top level:
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:732:2: warning: initialization from incompatible pointer type [enabled by default]
.read_int_state = muic_int_stat_read,
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:732:2: warning: (near initialization for 'muic_dev.read_int_state') [enabled by default]
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c: In function 'tsu5611_probe':
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:766:23: error: 'struct muic_platform_data' has no member named 'gpio_mhl'
dev->gpio_mhl = pdata->gpio_mhl;
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:767:28: error: 'struct muic_platform_data' has no member named 'gpio_ifx_vbus'
dev->gpio_ifx_vbus = pdata->gpio_ifx_vbus;
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c: In function 'muic_set_mhl_mode':
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:139:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make[4]: *** [drivers/muic/muic_tsu5611_cx2.o] Error 1
make[3]: *** [drivers/muic] Error 2
LD drivers/mtd/onenand/built-in.o
LD drivers/mtd/built-in.o
CC drivers/net/wireless/bcmdhd/src/bcmsdio/sys/bcmsdh.o
CC drivers/net/wireless/bcmdhd/src/bcmsdio/sys/bcmsdh_linux.o
CC drivers/net/wireless/bcmdhd/src/bcmsdio/sys/bcmsdh_sdmmc.o
CC drivers/net/wireless/bcmdhd/src/bcmsdio/sys/bcmsdh_sdmmc_linux.o
CC drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_cdc.o
CC drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_common.o
CC drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_custom_gpio.o
CC drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_linux.o
CC drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_linux_sched.o
LD drivers/power/power_supply.o
CC drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_cfg80211.o
../../../../../../kernel/lge/omap4-common/drivers/power/twl6030_bci_battery.c: In function 'twl6030_bci_battery_probe':
../../../../../../kernel/lge/omap4-common/drivers/power/twl6030_bci_battery.c:2564:20: error: 'struct twl4030_bci_platform_data' has no member named 'errata'
di->errata = pdata->errata;
^
../../../../../../kernel/lge/omap4-common/drivers/power/twl6030_bci_battery.c:2640:11: error: 'struct twl4030_bci_platform_data' has no member named 'sense_resistor_mohm'
if (pdata->sense_resistor_mohm) {
^
../../../../../../kernel/lge/omap4-common/drivers/power/twl6030_bci_battery.c:2641:42: error: 'struct twl4030_bci_platform_data' has no member named 'sense_resistor_mohm'
di->current_max_scale = (62000) / pdata->sense_resistor_mohm;
^
../../../../../../kernel/lge/omap4-common/drivers/power/twl6030_bci_battery.c:2652:19: error: 'TWL6032_ERRATA_DB00119490' undeclared (first use in this function)
if (di->errata & TWL6032_ERRATA_DB00119490) {
^
../../../../../../kernel/lge/omap4-common/drivers/power/twl6030_bci_battery.c:2652:19: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [drivers/power/twl6030_bci_battery.o] Error 1
make[3]: *** [drivers/power] Error 2
CC drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_sdio.o
CC drivers/net/wireless/bcmdhd/src/shared/aiutils.o
CC drivers/net/wireless/bcmdhd/src/shared/bcmevent.o
../../../../../../kernel/lge/omap4-common/drivers/regulator/twl-regulator.c:923:29: warning: 'twl6030_external_control_pin_ops' defined but not used [-Wunused-variable]
static struct regulator_ops twl6030_external_control_pin_ops = {
^
CC drivers/net/wireless/bcmdhd/src/shared/bcmutils.o
CC drivers/net/wireless/bcmdhd/src/shared/bcmwifi/src/bcmwifi_channels.o
CC drivers/net/wireless/bcmdhd/src/shared/hndpmu.o
CC drivers/net/wireless/bcmdhd/src/shared/linux_osl.o
CC drivers/net/wireless/bcmdhd/src/shared/sbutils.o
CC drivers/net/wireless/bcmdhd/src/shared/siutils.o
CC drivers/net/wireless/bcmdhd/src/wl/sys/wl_android.o
CC drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.o
CC drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfgp2p.o
../../../../../../kernel/lge/omap4-common/drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:68:0: warning: "LINUX_VERSION_CODE" redefined [enabled by default]
#define LINUX_VERSION_CODE KERNEL_VERSION(3, 4, 0)
^
In file included from ../../../../../../kernel/lge/omap4-common/drivers/net/wireless/bcmdhd/src/include/linuxver.h:31:0,
from ../../../../../../kernel/lge/omap4-common/drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:28:
include/linux/version.h:1:0: note: this is the location of the previous definition
#define LINUX_VERSION_CODE 196639
^
CC drivers/net/wireless/bcmdhd/src/wl/sys/wldev_common.o
CC drivers/net/wireless/bcmdhd/src/wl/sys/wl_linux_mon.o
CC drivers/net/wireless/bcmdhd/src/wl/sys/wl_roam.o
../../../../../../kernel/lge/omap4-common/drivers/net/wireless/bcmdhd/src/wl/sys/wl_linux_mon.c:44:0: warning: "LINUX_VERSION_CODE" redefined [enabled by default]
#define LINUX_VERSION_CODE KERNEL_VERSION(3, 4, 0)
^
In file included from ../../../../../../kernel/lge/omap4-common/drivers/net/wireless/bcmdhd/src/include/linuxver.h:31:0,
from ../../../../../../kernel/lge/omap4-common/drivers/net/wireless/bcmdhd/src/include/linux_osl.h:165,
from ../../../../../../kernel/lge/omap4-common/drivers/net/wireless/bcmdhd/src/include/osl.h:44,
from ../../../../../../kernel/lge/omap4-common/drivers/net/wireless/bcmdhd/src/wl/sys/wl_linux_mon.c:27:
include/linux/version.h:1:0: note: this is the location of the previous definition
#define LINUX_VERSION_CODE 196639
^
LD drivers/net/wireless/bcmdhd/bcmdhd.o
LD drivers/net/wireless/bcmdhd/built-in.o
LD drivers/net/wireless/built-in.o
LD drivers/remoteproc/built-in.o
LD drivers/net/built-in.o
LD drivers/regulator/built-in.o
make[2]: *** [drivers] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make: *** [TARGET_KERNEL_BINARIES] Error 2
#### make failed to build some targets (01:34 (mm:ss)) ####
I tried to copy again cx2_i2c.c but still no result.
No, check your i2c files in drivers and include file. Best way now is to check my latest commits and see which files were changed in drivers/i2c, could be that i left out some code specific to cx2, cause mine p920. Also diff with l9 kernel those folders.
Sent from my LG-D620 using XDA Free mobile app
The only difference was in drivers/i2c/busses/i2c-omap.c file. Site have this error:
Code:
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
CHK include/linux/version.h
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make -C kernel/lge/omap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" zImage
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
Using /home/a/l/kernel/lge/omap4-common as source for kernel
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[3]: `include/generated/mach-types.h' is up to date.
CALL /home/a/l/kernel/lge/omap4-common/scripts/checksyscalls.sh
CHK include/generated/compile.h
CC arch/arm/mach-omap2/lge/board-lg-wifi.o
CC arch/arm/mach-omap2/lge/cx2/../board-lg-wifi.o
CC arch/arm/mach-omap2/lge/cx2/cx2_i2c.o
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:720:2: error: unknown field 'gpio_mhl' specified in initializer
.gpio_mhl = GPIO_MHL_SEL,
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:720:2: warning: excess elements in struct initializer [enabled by default]
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:720:2: warning: (near initialization for 'muic_pdata') [enabled by default]
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:721:2: error: unknown field 'gpio_ifx_vbus' specified in initializer
.gpio_ifx_vbus = GPIO_IFX_USB_VBUS_EN,
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:721:2: warning: excess elements in struct initializer [enabled by default]
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:721:2: warning: (near initialization for 'muic_pdata') [enabled by default]
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c: In function 'lge_i2c_init':
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:906:6: warning: unused variable 'fixed_rev' [-Wunused-variable]
int fixed_rev = 0;
^
make[5]: *** [arch/arm/mach-omap2/lge/cx2/cx2_i2c.o] Error 1
make[4]: *** [arch/arm/mach-omap2/lge/cx2] Error 2
make[3]: *** [arch/arm/mach-omap2/lge] Error 2
make[2]: *** [arch/arm/mach-omap2] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make: *** [TARGET_KERNEL_BINARIES] Error 2
#### make failed to build some targets (01:35 (mm:ss)) ####
This is my kernel now https://github.com/lung1/kernel_lge_p720
I didn't have much time togo through your kernel, but what did catch my eye was that your lge-common.c is wrong, the changes you made. Swap out your file with the one from l9. Also copy the error mesg into google and it might bring up some results, i alway do that.
Sent from my LG-D620 using XDA Free mobile app
Ok perfect. Thanks so much for your help
I just want to tell you how I added support for cx2 and cosmo. I searched in this kernel https://github.com/CyanogenMod/lge-kernel-omap4 for all cosmo occurrences and added each and every instance to https://github.com/dhiru1602/lge-kernel-omap4 . Is that ok?
Or I should just add and change files in the arch/arm/mach-omap2 folder?
With your help I build the bootimage and recoveryimage with you kernel. I added here https://github.com/lung1/kernel_lge_p720/tree/cm-10.2-shaqfu786 . So many thanks!
But still the recoveryimage stucks into bootloop.
Thanks again! Trying to build ROM.
Here is the ROM result
Code:
[email protected]:~/l$ make -j 32
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=12.1-20150630-UNOFFICIAL-p720
TARGET_PRODUCT=cm_p720
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-41-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=LMY48B
OUT_DIR=/home/a/l/out
============================================
"ebtables is disabled on this build"
find: `omapmmlib/java': No such file or directory
find: `omapmmlib/java': No such file or directory
find: `dummy': No such file or directory
PRODUCT_COPY_FILES vendor/cm/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/etc/wifi/wpa_supplicant.conf'
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml ignored.
PRODUCT_COPY_FILES hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libril.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libril.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/lights.omap4.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/lights.omap4.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/camera.omap4.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/camera.omap4.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/nfc.default.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/nfc.default.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libtinyalsa.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libtinyalsa.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/bin/rild'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/bin/rild'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libmm_osal.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libmm_osal.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX_Core.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX_Core.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libion.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libion.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libtiutils.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libtiutils.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libdomx.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libdomx.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
No private recovery resources for TARGET_DEVICE p720
make -C kernel/lge/oomap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_p720_defconfig
make[1]: Entering directory `/home/a/l/kernel/lge/oomap4-common'
target thumb C++: libcamera_client <= frameworks/av/camera/ICameraClient.cpp
target thumb C++: libcamera_client <= frameworks/av/camera/ICameraService.cpp
target SharedLib: libcamera_metadata (/home/a/l/out/target/product/p720/obj/SHARED_LIBRARIES/libcamera_metadata_intermediates/LINKED/libcamera_metadata.so)
target thumb C++: libgui <= frameworks/native/libs/gui/IGraphicBufferProducer.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/IProducerListener.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/ISensorEventConnection.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/ISensorServer.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/ISurfaceComposer.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/ISurfaceComposerClient.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/LayerState.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/Sensor.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/SensorEventQueue.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/SensorManager.cpp
frameworks/av/camera/ICameraClient.cpp: In member function 'virtual void android::BpCameraClient::notifyCallback(int32_t, int32_t, int32_t)':
frameworks/av/camera/ICameraClient.cpp:49:63: error: 'CAMERA_FRAME_DATA_FD' was not declared in this scope
if ((msgType == CAMERA_MSG_PREVIEW_FRAME) && (ext1 == CAMERA_FRAME_DATA_FD)) {
^
frameworks/av/camera/ICameraClient.cpp: In member function 'virtual android::status_t android::BnCameraClient::onTransact(uint32_t, const android::Parcel&, android::Parcel*, uint32_t)':
frameworks/av/camera/ICameraClient.cpp:101:67: error: 'CAMERA_FRAME_DATA_FD' was not declared in this scope
if ((msgType == CAMERA_MSG_PREVIEW_FRAME) && (ext1 == CAMERA_FRAME_DATA_FD)) {
^
make: *** [/home/a/l/out/target/product/p720/obj/SHARED_LIBRARIES/libcamera_client_intermediates/ICameraClient.o] Error 1
make: *** Waiting for unfinished jobs....
target thumb C++: libgui <= frameworks/native/libs/gui/StreamSplitter.cpp
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
In file included from system/media/camera/include/system/camera_metadata.h:23:0,
from frameworks/av/include/camera/CameraMetadata.h:20,
from frameworks/av/include/camera/CaptureResult.h:21,
from frameworks/av/include/camera/camera2/ICameraDeviceCallbacks.h:27,
from frameworks/av/camera/ICameraService.cpp:37:
system/media/camera/include/system/camera_vendor_tags.h:36:8: error: redefinition of 'struct vendor_tag_ops'
struct vendor_tag_ops {
^
In file included from frameworks/av/include/camera/ICameraServiceListener.h:23:0,
from frameworks/av/camera/ICameraService.cpp:31:
device/lge/p720/include/hardware/camera_common.h:261:8: error: previous definition of 'struct vendor_tag_ops'
struct vendor_tag_ops {
^
make: *** [/home/a/l/out/target/product/p720/obj/SHARED_LIBRARIES/libcamera_client_intermediates/ICameraService.o] Error 1
frameworks/native/libs/gui/Sensor.cpp: In constructor 'android::Sensor::Sensor(const sensor_t*, int)':
frameworks/native/libs/gui/Sensor.cpp:236:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (mFlags != hwSensor->flags) {
^
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/oomap4-common'
#### make failed to build some targets (01:34 (mm:ss)) ####
Ok, now work on device tree. Fault is with camera service, so check your include, kernel-headers, and camera folder. Again diff with mine and l9. Also in kernel plat-omap/android_display.c compare it with l9. Understand that my kernel im trying to build for 512mb device, so vram and some other carvouts you would have to use l9 carveouts to bring up display, like android_display.c for example. For now, fix device tree to get complete rom to compile, then we can trace error from the dmesg. You doing good so far, good luck.:thumbup:
Sent from my LG-D620 using XDA Free mobile app

LG Optimus 3D Max CM 12.1 building error

Hi,
I'm trying for weeks now to build cm 12.1 for the p725/p720.
I used https://github.com/dhiru1602/android_device_lge_u2-common and changed it for the p720.
Here is the result: https://github.com/lung1/android_device_lge_p720
Then I used the https://github.com/artas182x/lge-kernel-omap4 for kernel, aosp-5.0 branch. I added cx2 and cosmo support.
Here is the result: https://github.com/lung1/android_kernel_lge_p720
I tried to make bootimage, but I receave this error on witch I didn't find any documentation:
Code:
No private recovery resources for TARGET_DEVICE p720
make -C kernel/lge/omap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cx2_su870_defconfig
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
arch/arm/configs/cx2_su870_defconfig:2418:warning: unexpected data
arch/arm/configs/cx2_su870_defconfig:2419:warning: unexpected data
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
arch/arm/configs/cx2_su870_defconfig:2418:warning: unexpected data
arch/arm/configs/cx2_su870_defconfig:2419:warning: unexpected data
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
CHK include/linux/version.h
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make -C kernel/lge/omap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" zImage
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
Using /home/a/l/kernel/lge/omap4-common as source for kernel
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[3]: `include/generated/mach-types.h' is up to date.
CALL /home/a/l/kernel/lge/omap4-common/scripts/checksyscalls.sh
CHK include/generated/compile.h
CC arch/arm/mach-omap2/lge/lge-common.o
In file included from ../../../../../../kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:5:0,
from ../../../../../../kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/android-display.h:19,
from ../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:54:
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:151:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:155:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:229:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:237:31: warning: declaration does not declare anything [enabled by default]
} __attribute__ ((aligned(4)));
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:245:31: warning: declaration does not declare anything [enabled by default]
} __attribute__ ((aligned(4)));
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:253:31: warning: declaration does not declare anything [enabled by default]
} __attribute__ ((aligned(4)));
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:385:31: warning: declaration does not declare anything [enabled by default]
} __attribute__ ((aligned(4)));
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:393:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:403:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:441:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:478:31: warning: declaration does not declare anything [enabled by default]
} __attribute__ ((aligned(4)));
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:533:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:545:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:573:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:584:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:616:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:628:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:653:27: error: array type has incomplete element type
struct dsscomp_videomode modedb[]; /* display supported timings */
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:654:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:666:27: error: field 'mode' has incomplete type
struct dsscomp_videomode mode; /* video timings */
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:667:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:693:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:698:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:703:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/include/video/dsscomp.h:744:2: warning: declaration does not declare anything [enabled by default]
};
^
In file included from ../../../../../../kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/android-display.h:19:0,
from ../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:54:
../../../../../../kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:9:2: warning: declaration does not declare anything [enabled by default]
};
^
../../../../../../kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:12:1: error: expected specifier-qualifier-list before 'typedef'
typedef struct dsscomp_data *dsscomp_t; /* handle */
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:219:50: warning: backslash and newline separated by space [enabled by default]
omap_mux_init_signal("abe_dmic_clk1.gpio_119", \
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:220:34: warning: backslash and newline separated by space [enabled by default]
OMAP_PIN_INPUT_PULLDOWN | \
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:221:28: warning: backslash and newline separated by space [enabled by default]
OMAP_PIN_OFF_NONE | \
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:224:50: warning: backslash and newline separated by space [enabled by default]
omap_mux_init_signal("abe_dmic_din1.gpio_120", \
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:225:34: warning: backslash and newline separated by space [enabled by default]
OMAP_PIN_INPUT_PULLDOWN | \
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:226:28: warning: backslash and newline separated by space [enabled by default]
OMAP_PIN_OFF_NONE | \
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:231:49: warning: backslash and newline separated by space [enabled by default]
omap_mux_init_signal("abe_dmic_din3.gpio_122", \
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:232:29: warning: backslash and newline separated by space [enabled by default]
OMAP_PIN_INPUT_PULLDOWN | \
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:233:23: warning: backslash and newline separated by space [enabled by default]
OMAP_PIN_OFF_NONE | \
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:236:50: warning: backslash and newline separated by space [enabled by default]
omap_mux_init_signal("abe_dmic_din2.gpio_121", \
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:237:34: warning: backslash and newline separated by space [enabled by default]
OMAP_PIN_INPUT_PULLDOWN | \
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/lge-common.c:238:28: warning: backslash and newline separated by space [enabled by default]
OMAP_PIN_OFF_NONE | \
^
make[4]: *** [arch/arm/mach-omap2/lge/lge-common.o] Error 1
make[3]: *** [arch/arm/mach-omap2/lge] Error 2
make[2]: *** [arch/arm/mach-omap2] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make: *** [TARGET_KERNEL_BINARIES] Error 2
#### make failed to build some targets (01:31 (mm:ss)) ####
Thanks so much for your help!

Error while building any AOSP ROM on MAC

I'm getting this error when trying to build any ROM on my MAC. I haven't even managed to build a single ROM due to this issue.
The code below is for the pixel experience ROM based on android 10 and the device I'm building for is the Xiaomi Redmi Note 3(kenzo).
All ROMs give me the exact same error.
Please help me guys. Really wanna learn...
The error:
Code:
PANKAJs-iMac:firstrom pankajjaiswal$ lunch aosp_kenzo-userdebug
usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
[-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
Trying dependencies-only mode on a non-existing device tree?
usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
[-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
CUSTOM_VERSION=PixelExperience_kenzo-10.0-20200224-1205-UNOFFICIAL
TARGET_PRODUCT=aosp_kenzo
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a53.a57
HOST_ARCH=x86_64
HOST_OS=darwin
HOST_OS_EXTRA=Darwin-17.7.0-x86_64-10.13.6
HOST_BUILD_TYPE=release
BUILD_ID=QQ1B.200205.002
OUT_DIR=/Volumes/android/firstrom/out
PRODUCT_SOONG_NAMESPACES= hardware/qcom-caf/msm8952 frameworks/av/camera/cameraserver frameworks/av/services/camera/libcameraservice
============================================
PANKAJs-iMac:firstrom pankajjaiswal$ mka bacon -j4
usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
[-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
CUSTOM_VERSION=PixelExperience_kenzo-10.0-20200224-1206-UNOFFICIAL
TARGET_PRODUCT=aosp_kenzo
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a53.a57
HOST_ARCH=x86_64
HOST_OS=darwin
HOST_OS_EXTRA=Darwin-17.7.0-x86_64-10.13.6
HOST_BUILD_TYPE=release
BUILD_ID=QQ1B.200205.002
OUT_DIR=/Volumes/android/firstrom/out
PRODUCT_SOONG_NAMESPACES= hardware/qcom-caf/msm8952 frameworks/av/camera/cameraserver frameworks/av/services/camera/libcameraservice
============================================
usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
[-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
[100% 140/140] initializing build system ...
usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
[-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
[ 24% 142/584] including art/Android.mk ...
art/build/Android.common.mk:51: warning: unsupported HOST_ARCH=x86_64
[ 59% 348/584] including hardware/qcom-caf/msm8952/Android.mk ...
hardware/qcom-caf/msm8952/media/Android.mk:4: warning: target list is : msm8952
[100% 584/584] writing build rules ...
build/make/core/base_rules.mk:495: warning: overriding commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/etc/init/[email protected]'
build/make/core/base_rules.mk:495: warning: ignoring old commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/etc/init/[email protected]'
build/make/core/base_rules.mk:495: warning: overriding commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/etc/init/[email protected]'
build/make/core/base_rules.mk:495: warning: ignoring old commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/etc/init/[email protected]'
build/make/core/Makefile:28: warning: overriding commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/bin/wcnss_service'
build/make/core/base_rules.mk:480: warning: ignoring old commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/bin/wcnss_service'
build/make/core/Makefile:28: warning: overriding commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/bin/hw/rild'
build/make/core/base_rules.mk:480: warning: ignoring old commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/bin/hw/rild'
build/make/core/Makefile:28: warning: overriding commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/lib/[email protected]'
build/make/core/base_rules.mk:480: warning: ignoring old commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/lib/[email protected]'
build/make/core/Makefile:28: warning: overriding commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/lib/[email protected]'
build/make/core/base_rules.mk:480: warning: ignoring old commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/lib/[email protected]'
build/make/core/Makefile:28: warning: overriding commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/lib/[email protected]'
build/make/core/base_rules.mk:480: warning: ignoring old commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/lib/[email protected]'
build/make/core/Makefile:28: warning: overriding commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/lib/[email protected]'
build/make/core/base_rules.mk:480: warning: ignoring old commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/lib/[email protected]'
build/make/core/Makefile:28: warning: overriding commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/lib/libril.so'
build/make/core/base_rules.mk:480: warning: ignoring old commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/lib/libril.so'
build/make/core/Makefile:28: warning: overriding commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/lib64/libril.so'
build/make/core/base_rules.mk:480: warning: ignoring old commands for target `/Volumes/android/firstrom/out/target/product/kenzo/system/vendor/lib64/libril.so'
[ 2% 1980/80076] target C++: libgps.utils <= device/xiaomi/msm8956-common/gps
device/xiaomi/msm8956-common/gps/utils/loc_cfg.cpp:384:11: warning: unused variable 'lasts' [-Wunused-variable]
char *lasts;
^
device/xiaomi/msm8956-common/gps/utils/loc_cfg.cpp:385:22: warning: unused variable 'config_value' [-Wunused-variable]
loc_param_v_type config_value;
^
device/xiaomi/msm8956-common/gps/utils/loc_cfg.cpp:386:14: warning: unused variable 'i' [-Wunused-variable]
uint32_t i;
^
3 warnings generated.
[ 2% 1986/80076] target C++: libloc_core <= device/xiaomi/msm8956-common/gps/
device/xiaomi/msm8956-common/gps/core/data-items/DataItemsFactoryProxy.cpp:71:79: warning: format specifies type 'unsigned int' but the argument has type 'loc_core::get_concrete_data_item_fn *' (aka 'loc_core::IDataItemCore *(*)(e_DataItemId)') [-Wformat]
LOC_LOGD("Loaded function %s : %x",DATA_ITEMS_GET_CONCRETE_DI,getConcreteDIFunc);
~~ ^~~~~~~~~~~~~~~~~
device/xiaomi/msm8956-common/gps/utils/log_util.h:110:43: note: expanded from macro 'LOC_LOGD'
#define LOC_LOGD(...) IF_LOC_LOGD { ALOGD(__VA_ARGS__); }
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:226:52: note: expanded from macro 'ALOGD'
#define ALOGD(...) ((void)ALOG(LOG_DEBUG, LOG_TAG, __VA_ARGS__))
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:331:67: note: expanded from macro 'ALOG'
#define ALOG(priority, tag, ...) LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:94:69: note: expanded from macro 'LOG_PRI'
#define LOG_PRI(priority, tag, ...) android_printLog(priority, tag, __VA_ARGS__)
^~~~~~~~~~~
system/core/liblog/include/log/log_main.h:85:34: note: expanded from macro 'android_printLog'
__android_log_print(prio, tag, __VA_ARGS__)
^~~~~~~~~~~
1 warning generated.
[ 2% 1987/80076] target C++: libloc_core <= device/xiaomi/msm8956-common/gps/
device/xiaomi/msm8956-common/gps/core/loc_core_log.cpp:105:34: warning: variable 'loc_eng_aiding_data_bits' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static const loc_name_val_s_type loc_eng_aiding_data_bits[] =
^
device/xiaomi/msm8956-common/gps/core/loc_core_log.cpp:121:18: warning: unused variable 'loc_eng_aiding_data_bit_num' [-Wunused-const-variable]
static const int loc_eng_aiding_data_bit_num = sizeof(loc_eng_aiding_data_bits) / sizeof(loc_name_val_s_type);
^
2 warnings generated.
[ 2% 1991/80076] target C++: libgps.utils <= device/xiaomi/msm8956-common/gps
device/xiaomi/msm8956-common/gps/utils/loc_target.cpp:216:9: warning: unused variable 'ret' [-Wunused-variable]
int ret = 0;
^
1 warning generated.
[ 2% 2008/80076] target C++: libgps.utils <= device/xiaomi/msm8956-common/gps
device/xiaomi/msm8956-common/gps/utils/loc_nmea.cpp:985:11: warning: unused variable 'pMarker' [-Wunused-variable]
char* pMarker = sentence;
^
device/xiaomi/msm8956-common/gps/utils/loc_nmea.cpp:986:9: warning: unused variable 'lengthRemaining' [-Wunused-variable]
int lengthRemaining = sizeof(sentence);
^
device/xiaomi/msm8956-common/gps/utils/loc_nmea.cpp:987:9: warning: unused variable 'length' [-Wunused-variable]
int length = 0;
^
device/xiaomi/msm8956-common/gps/utils/loc_nmea.cpp:989:9: warning: unused variable 'sentenceCount' [-Wunused-variable]
int sentenceCount = 0;
^
device/xiaomi/msm8956-common/gps/utils/loc_nmea.cpp:990:9: warning: unused variable 'sentenceNumber' [-Wunused-variable]
int sentenceNumber = 1;
^
5 warnings generated.
[ 2% 2024/80076] target C++: libloc_core <= device/xiaomi/msm8956-common/gps/
device/xiaomi/msm8956-common/gps/core/SystemStatus.cpp:1423:37: warning: 'reinterpret_cast' to class 'loc_core::SystemStatusNetworkInfo *' from its base at non-zero offset 'loc_core::IDataItemCore *' behaves differently from 'static_cast' [-Wreinterpret-base-class]
SystemStatusNetworkInfo* data = reinterpret_cast<SystemStatusNetworkInfo*>(dataitem);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
device/xiaomi/msm8956-common/gps/core/SystemStatus.cpp:1423:37: note: use 'static_cast' to adjust the pointer correctly while downcasting
SystemStatusNetworkInfo* data = reinterpret_cast<SystemStatusNetworkInfo*>(dataitem);
^~~~~~~~~~~~~~~~
static_cast
device/xiaomi/msm8956-common/gps/core/SystemStatus.cpp:1570:12: warning: 26 enumeration values not handled in switch: 'INVALID_DATA_ITEM_ID', 'AIRPLANEMODE_DATA_ITEM_ID', 'ENH_DATA_ITEM_ID'... [-Wswitch]
switch(dataitem->getId())
^
2 warnings generated.
[ 2% 2034/80076] target C++: libgnss <= device/xiaomi/msm8956-common/gps/gnss
device/xiaomi/msm8956-common/gps/gnss/XtraSystemStatusObserver.cpp:205:33: warning: 'reinterpret_cast' to class 'loc_core::SystemStatusNetworkInfo *' from its base at non-zero offset 'loc_core::IDataItemCore *' behaves differently from 'static_cast' [-Wreinterpret-base-class]
reinterpret_cast<SystemStatusNetworkInfo*>(each);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
device/xiaomi/msm8956-common/gps/gnss/XtraSystemStatusObserver.cpp:205:33: note: use 'static_cast' to adjust the pointer correctly while downcasting
reinterpret_cast<SystemStatusNetworkInfo*>(each);
^~~~~~~~~~~~~~~~
static_cast
device/xiaomi/msm8956-common/gps/gnss/XtraSystemStatusObserver.cpp:213:48: warning: 'reinterpret_cast' to class 'loc_core::SystemStatusTac *' from its base at non-zero offset 'loc_core::IDataItemCore *' behaves differently from 'static_cast' [-Wreinterpret-base-class]
SystemStatusTac* tac = reinterpret_cast<SystemStatusTac*>(each);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
device/xiaomi/msm8956-common/gps/gnss/XtraSystemStatusObserver.cpp:213:48: note: use 'static_cast' to adjust the pointer correctly while downcasting
SystemStatusTac* tac = reinterpret_cast<SystemStatusTac*>(each);
^~~~~~~~~~~~~~~~
static_cast
device/xiaomi/msm8956-common/gps/gnss/XtraSystemStatusObserver.cpp:220:54: warning: 'reinterpret_cast' to class 'loc_core::SystemStatusMccMnc *' from its base at non-zero offset 'loc_core::IDataItemCore *' behaves differently from 'static_cast' [-Wreinterpret-base-class]
SystemStatusMccMnc* mccmnc = reinterpret_cast<SystemStatusMccMnc*>(each);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
device/xiaomi/msm8956-common/gps/gnss/XtraSystemStatusObserver.cpp:220:54: note: use 'static_cast' to adjust the pointer correctly while downcasting
SystemStatusMccMnc* mccmnc = reinterpret_cast<SystemStatusMccMnc*>(each);
^~~~~~~~~~~~~~~~
static_cast
3 warnings generated.
[ 2% 2036/80076] target C++: liblocation_api <= device/xiaomi/msm8956-common/
device/xiaomi/msm8956-common/gps/location/LocationAPIClientBase.cpp:156:18: warning: unused variable 'session' [-Wunused-variable]
uint32_t session = 0;
^
1 warning generated.
[ 3% 2406/80076] target C: libwpa_client <= external/wpa_supplicant_8/wpa_sup
external/wpa_supplicant_8/wpa_supplicant/src/common/wpa_ctrl.c:291:9: warning: 'readdir_r' is deprecated: readdir_r is deprecated; use readdir instead [-Wdeprecated-declarations]
while (readdir_r(dir, &entry, &result) == 0 && result != NULL) {
^
bionic/libc/include/dirent.h:83:92: note: 'readdir_r' has been explicitly marked deprecated here
int readdir_r(DIR* __dir, struct dirent* __entry, struct dirent** __buffer) __attribute__((__deprecated__("readdir_r is deprecated; use readdir instead")));
^
1 warning generated.
[ 3% 2447/80076] Building Kernel Config
FAILED: /Volumes/android/firstrom/out/target/product/kenzo/obj/KERNEL_OBJ/.config
/bin/bash -c "(PATH=/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-/bin:\$PATH PATH=/Volumes/android/firstrom/prebuilts/tools-custom/darwin-x86/bin:\$PATH LD_LIBRARY_PATH=/Volumes/android/firstrom/prebuilts/tools-custom/darwin-x86/lib:\$LD_LIBRARY_PATH PERL5LIB=/Volumes/android/firstrom/prebuilts/tools-custom/common/perl-base /Volumes/android/firstrom/prebuilts/build-tools/darwin-x86/bin/make -j CFLAGS_MODULE=\"-fno-pic\" HOSTCFLAGS=\"-I/Volumes/android/firstrom/external/elfutils/libelf -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib\" HOSTCC=/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/bin/i686-apple-darwin11-gcc HOSTCXX=/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/bin/i686-apple-darwin11-g++ -C kernel/xiaomi/msm8956 O=/Volumes/android/firstrom/out/target/product/kenzo/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/usr/local/bin/ccache /Volumes/android/firstrom/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-\" CROSS_COMPILE_ARM32=\"/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androidkernel-\" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= lineageos_kenzo_defconfig ) && (if [ ! -z \"\" ]; then echo \"Overriding kernel config with ''\"; echo >> /Volumes/android/firstrom/out/target/product/kenzo/obj/KERNEL_OBJ/.config; PATH=/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-/bin:\$PATH PATH=/Volumes/android/firstrom/prebuilts/tools-custom/darwin-x86/bin:\$PATH LD_LIBRARY_PATH=/Volumes/android/firstrom/prebuilts/tools-custom/darwin-x86/lib:\$LD_LIBRARY_PATH PERL5LIB=/Volumes/android/firstrom/prebuilts/tools-custom/common/perl-base /Volumes/android/firstrom/prebuilts/build-tools/darwin-x86/bin/make -j CFLAGS_MODULE=\"-fno-pic\" HOSTCFLAGS=\"-I/Volumes/android/firstrom/external/elfutils/libelf -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib\" HOSTCC=/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/bin/i686-apple-darwin11-gcc HOSTCXX=/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/bin/i686-apple-darwin11-g++ -C kernel/xiaomi/msm8956 O=/Volumes/android/firstrom/out/target/product/kenzo/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/usr/local/bin/ccache /Volumes/android/firstrom/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-\" CROSS_COMPILE_ARM32=\"/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androidkernel-\" oldconfig; fi ) && (PATH=/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-/bin:\$PATH PATH=/Volumes/android/firstrom/prebuilts/tools-custom/darwin-x86/bin:\$PATH LD_LIBRARY_PATH=/Volumes/android/firstrom/prebuilts/tools-custom/darwin-x86/lib:\$LD_LIBRARY_PATH PERL5LIB=/Volumes/android/firstrom/prebuilts/tools-custom/common/perl-base /Volumes/android/firstrom/prebuilts/build-tools/darwin-x86/bin/make -j CFLAGS_MODULE=\"-fno-pic\" HOSTCFLAGS=\"-I/Volumes/android/firstrom/external/elfutils/libelf -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib\" HOSTCC=/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/bin/i686-apple-darwin11-gcc HOSTCXX=/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/bin/i686-apple-darwin11-g++ -C kernel/xiaomi/msm8956 O=/Volumes/android/firstrom/out/target/product/kenzo/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/usr/local/bin/ccache /Volumes/android/firstrom/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-\" CROSS_COMPILE_ARM32=\"/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androidkernel-\" savedefconfig ) && (if [ ! -z \"\" ]; then echo \"Using additional config ''\"; kernel/xiaomi/msm8956/scripts/kconfig/merge_config.sh -m -O /Volumes/android/firstrom/out/target/product/kenzo/obj/KERNEL_OBJ /Volumes/android/firstrom/out/target/product/kenzo/obj/KERNEL_OBJ/.config kernel/xiaomi/msm8956/arch/arm64/configs/; PATH=/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-/bin:\$PATH PATH=/Volumes/android/firstrom/prebuilts/tools-custom/darwin-x86/bin:\$PATH LD_LIBRARY_PATH=/Volumes/android/firstrom/prebuilts/tools-custom/darwin-x86/lib:\$LD_LIBRARY_PATH PERL5LIB=/Volumes/android/firstrom/prebuilts/tools-custom/common/perl-base /Volumes/android/firstrom/prebuilts/build-tools/darwin-x86/bin/make -j CFLAGS_MODULE=\"-fno-pic\" HOSTCFLAGS=\"-I/Volumes/android/firstrom/external/elfutils/libelf -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib\" HOSTCC=/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/bin/i686-apple-darwin11-gcc HOSTCXX=/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/bin/i686-apple-darwin11-g++ -C kernel/xiaomi/msm8956 O=/Volumes/android/firstrom/out/target/product/kenzo/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/usr/local/bin/ccache /Volumes/android/firstrom/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-\" CROSS_COMPILE_ARM32=\"/Volumes/android/firstrom/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androidkernel-\" KCONFIG_ALLCONFIG=/Volumes/android/firstrom/out/target/product/kenzo/obj/KERNEL_OBJ/.config alldefconfig; fi )"
make: Entering directory '/Volumes/android/firstrom/kernel/xiaomi/msm8956'
GEN /Volumes/android/firstrom/out/target/product/kenzo/obj/KERNEL_OBJ/Makefile
HOSTCC scripts/basic/fixdep
couldn't understand kern.osversion `17.7.0'
i686-apple-darwin11-gcc: error trying to exec 'as': execvp: No such file or directory
make[2]: *** [scripts/Makefile.host:118: scripts/basic/fixdep] Error 1
make[1]: *** [/Volumes/android/firstrom/kernel/xiaomi/msm8956/Makefile:425: scripts_basic] Error 2
make: *** [Makefile:130: sub-make] Error 2
make: Leaving directory '/Volumes/android/firstrom/kernel/xiaomi/msm8956'
17:49:38 ninja failed with: exit status 1
#### failed to build some targets (13:45 (mm:ss)) ####
PANKAJs-iMac:firstrom pankajjaiswal$
Seppppx said:
I don't know what the error means, but this is the error.
KCONFIG_ALLCONFIG=/Volumes/android/firstrom/out/target/product/kenzo/obj/KERNEL_OBJ/.config alldefconfig; fi )"
make: Entering directory '/Volumes/android/firstrom/kernel/xiaomi/msm8956'
GEN /Volumes/android/firstrom/out/target/product/kenzo/obj/KERNEL_OBJ/Makefile
HOSTCC scripts/basic/fixdep
couldn't understand kern.osversion `17.7.0'
i686-apple-darwin11-gcc: error trying to exec 'as': execvp: No such file or directory
make[2]: *** [scripts/Makefile.host:118: scripts/basic/fixdep] Error 1
make[1]: *** [/Volumes/android/firstrom/kernel/xiaomi/msm8956/Makefile:425: scripts_basic] Error 2
make: *** [Makefile:130: sub-make] Error 2
make: Leaving directory '/Volumes/android/firstrom/kernel/xiaomi/msm8956'
17:49:38 ninja failed with: exit status 1
#### failed to build some targets (13:45 (mm:ss))
Click to expand...
Click to collapse
Ye ik,
i686-apple-darwin11-gcc: error trying to exec 'as': execvp: No such file or directory
But I can't figure out why, I know some people that compilation on Catalina is not broken. I'm running High Sierra tho
Can someone help?
Bro did u solve it?
0

Categories

Resources