[Q] Why can't I compile Cyanogenmod? - G2 and Desire Z Q&A, Help & Troubleshooting

Well, here's the details:
-I rooted my G2
-Got bored of it
-Tried out the nightlies
-Was impressed
-Tried to compile my own build from source
-I keep striking out when I type in "make bacon"
Here's the specs of my computer:
-HP Pavillion a6410t
-1.60 GHz
-1 GB RAM
-Originally shipped with Windows Vista
-Now running Ubuntu 10.04 (32bit) off the whole disk.
Here's what I keep getting (this is from the top of the terminal emulator btw):
Generating CSSValueKeywords.h <= CSSValueKeywords.in
target Generated: libwebcore <= external/webkit/WebCore/css/make-css-file-arrays.pl
target Generated: libwebcore <= external/webkit/WebCore/css/CSSCharsetRule.idl
target Generated: libwebcore <= external/webkit/WebCore/css/CSSFontFaceRule.idl
target Generated: libwebcore <= external/webkit/WebCore/css/CSSImportRule.idl
target Generated: libwebcore <= external/webkit/WebCore/css/CSSMediaRule.idl
target Generated: libwebcore <= external/webkit/WebCore/css/CSSPageRule.idl
target Generated: libwebcore <= external/webkit/WebCore/css/CSSPrimitiveValue.idl
target Generated: libwebcore <= external/webkit/WebCore/css/CSSRule.idl
target Generated: libwebcore <= external/webkit/WebCore/css/CSSRuleList.idl
target Generated: libwebcore <= external/webkit/WebCore/css/CSSStyleDeclaration.idl
target Generated: libwebcore <= external/webkit/WebCore/css/CSSStyleRule.idl
target Generated: libwebcore <= external/webkit/WebCore/css/CSSStyleSheet.idl
target Generated: libwebcore <= external/webkit/WebCore/css/CSSValue.idl
target Generated: libwebcore <= external/webkit/WebCore/css/CSSValueList.idl
target Generated: libwebcore <= external/webkit/WebCore/css/CSSVariablesDeclaration.idl
target Generated: libwebcore <= external/webkit/WebCore/css/CSSVariablesRule.idl
target Generated: libwebcore <= external/webkit/WebCore/css/Counter.idl
target Generated: libwebcore <= external/webkit/WebCore/css/Media.idl
target Generated: libwebcore <= external/webkit/WebCore/css/MediaList.idl
target Generated: libwebcore <= external/webkit/WebCore/css/Rect.idl
target Generated: libwebcore <= external/webkit/WebCore/css/RGBColor.idl
target Generated: libwebcore <= external/webkit/WebCore/css/StyleSheet.idl
target Generated: libwebcore <= external/webkit/WebCore/css/StyleSheetList.idl
target Generated: libwebcore <= external/webkit/WebCore/css/WebKitCSSKeyframeRule.idl
target Generated: libwebcore <= external/webkit/WebCore/css/WebKitCSSKeyframesRule.idl
target Generated: libwebcore <= external/webkit/WebCore/css/WebKitCSSMatrix.idl
target Generated: libwebcore <= external/webkit/WebCore/css/WebKitCSSTransformValue.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/Attr.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/BeforeLoadEvent.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/CDATASection.idl
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.
target Generated: libwebcore <= external/webkit/WebCore/dom/CharacterData.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/ClientRect.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/ClientRectList.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/Clipboard.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/Comment.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/CompositionEvent.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/DOMCoreException.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/DOMImplementation.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/Document.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/DocumentFragment.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/DocumentType.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/Element.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/Entity.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/EntityReference.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/ErrorEvent.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/Event.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/EventException.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/KeyboardEvent.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/MessageChannel.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/MessageEvent.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/MessagePort.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/MouseEvent.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/MutationEvent.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/NamedNodeMap.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/Node.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/NodeFilter.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/NodeIterator.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/NodeList.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/Notation.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/OverflowEvent.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/PageTransitionEvent.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/PopStateEvent.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/ProcessingInstruction.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/ProgressEvent.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/Range.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/RangeException.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/Text.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/TextEvent.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/Touch.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/TouchEvent.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/TouchList.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/TreeWalker.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/UIEvent.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/WebKitAnimationEvent.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/WebKitTransitionEvent.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/WheelEvent.idl
target Generated: libwebcore <= external/webkit/WebCore/html/Blob.idl
target Generated: libwebcore <= external/webkit/WebCore/html/DataGridColumn.idl
target Generated: libwebcore <= external/webkit/WebCore/html/DataGridColumnList.idl
target Generated: libwebcore <= external/webkit/WebCore/html/File.idl
target Generated: libwebcore <= external/webkit/WebCore/html/FileList.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLAllCollection.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLAnchorElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLAppletElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLAreaElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLAudioElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLBRElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLBaseElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLBaseFontElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLBlockquoteElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLBodyElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLButtonElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLCanvasElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLCollection.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLDataGridCellElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLDataGridColElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLDataGridElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLDataGridRowElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLDataListElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLDListElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLDirectoryElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLDivElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLDocument.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLEmbedElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLFieldSetElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLFontElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLFormElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLFrameElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLFrameSetElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLHRElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLHeadElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLHeadingElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLHtmlElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLIFrameElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLImageElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLInputElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLIsIndexElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLLIElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLLabelElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLLegendElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLLinkElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLMapElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLMarqueeElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLMediaElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLMenuElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLMetaElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLModElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLOListElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLObjectElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLOptGroupElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLOptionElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLOptionsCollection.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLParagraphElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLParamElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLPreElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLQuoteElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLScriptElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLSelectElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLSourceElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLStyleElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLTableCaptionElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLTableCellElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLTableColElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLTableElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLTableRowElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLTableSectionElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLTextAreaElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLTitleElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLUListElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/HTMLVideoElement.idl
target Generated: libwebcore <= external/webkit/WebCore/html/ImageData.idl
target Generated: libwebcore <= external/webkit/WebCore/html/MediaError.idl
target Generated: libwebcore <= external/webkit/WebCore/html/TextMetrics.idl
target Generated: libwebcore <= external/webkit/WebCore/html/TimeRanges.idl
target Generated: libwebcore <= external/webkit/WebCore/html/ValidityState.idl
target Generated: libwebcore <= external/webkit/WebCore/html/VoidCallback.idl
target Generated: libwebcore <= external/webkit/WebCore/html/canvas/CanvasGradient.idl
target Generated: libwebcore <= external/webkit/WebCore/html/canvas/CanvasNumberArray.idl
target Generated: libwebcore <= external/webkit/WebCore/html/canvas/CanvasPattern.idl
target Generated: libwebcore <= external/webkit/WebCore/html/canvas/CanvasPixelArray.idl
target Generated: libwebcore <= external/webkit/WebCore/html/canvas/CanvasRenderingContext.idl
target Generated: libwebcore <= external/webkit/WebCore/html/canvas/CanvasRenderingContext2D.idl
target Generated: libwebcore <= external/webkit/WebCore/html/canvas/WebGLActiveInfo.idl
target Generated: libwebcore <= external/webkit/WebCore/html/canvas/WebGLArray.idl
target Generated: libwebcore <= external/webkit/WebCore/html/canvas/WebGLArrayBuffer.idl
target Generated: libwebcore <= external/webkit/WebCore/html/canvas/WebGLBuffer.idl
target Generated: libwebcore <= external/webkit/WebCore/html/canvas/WebGLByteArray.idl
target Generated: libwebcore <= external/webkit/WebCore/html/canvas/WebGLContextAttributes.idl
target Generated: libwebcore <= external/webkit/WebCore/html/canvas/WebGLFloatArray.idl
target Generated: libwebcore <= external/webkit/WebCore/html/canvas/WebGLFramebuffer.idl
target Generated: libwebcore <= external/webkit/WebCore/html/canvas/WebGLIntArray.idl
target Generated: libwebcore <= external/webkit/WebCore/html/canvas/WebGLProgram.idl
target Generated: libwebcore <= external/webkit/WebCore/html/canvas/WebGLRenderbuffer.idl
target Generated: libwebcore <= external/webkit/WebCore/html/canvas/WebGLRenderingContext.idl
target Generated: libwebcore <= external/webkit/WebCore/html/canvas/WebGLShader.idl
target Generated: libwebcore <= external/webkit/WebCore/html/canvas/WebGLShortArray.idl
target Generated: libwebcore <= external/webkit/WebCore/html/canvas/WebGLTexture.idl
target Generated: libwebcore <= external/webkit/WebCore/html/canvas/WebGLUniformLocation.idl
target Generated: libwebcore <= external/webkit/WebCore/html/canvas/WebGLUnsignedByteArray.idl
target Generated: libwebcore <= external/webkit/WebCore/html/canvas/WebGLUnsignedIntArray.idl
target Generated: libwebcore <= external/webkit/WebCore/html/canvas/WebGLUnsignedShortArray.idl
target Generated: libwebcore <= external/webkit/WebCore/loader/appcache/DOMApplicationCache.idl
target Generated: libwebcore <= external/webkit/WebCore/page/BarInfo.idl
target Generated: libwebcore <= external/webkit/WebCore/page/Connection.idl
target Generated: libwebcore <= external/webkit/WebCore/page/Console.idl
target Generated: libwebcore <= external/webkit/WebCore/page/Coordinates.idl
target Generated: libwebcore <= external/webkit/WebCore/page/DOMSelection.idl
target Generated: libwebcore <= external/webkit/WebCore/page/DOMWindow.idl
target Generated: libwebcore <= external/webkit/WebCore/page/Geolocation.idl
target Generated: libwebcore <= external/webkit/WebCore/page/Geoposition.idl
target Generated: libwebcore <= external/webkit/WebCore/page/History.idl
target Generated: libwebcore <= external/webkit/WebCore/page/Location.idl
target Generated: libwebcore <= external/webkit/WebCore/page/Navigator.idl
target Generated: libwebcore <= external/webkit/WebCore/page/PositionError.idl
target Generated: libwebcore <= external/webkit/WebCore/page/Screen.idl
target Generated: libwebcore <= external/webkit/WebCore/page/WebKitPoint.idl
target Generated: libwebcore <= external/webkit/WebCore/page/WorkerNavigator.idl
target Generated: libwebcore <= external/webkit/WebCore/plugins/MimeType.idl
target Generated: libwebcore <= external/webkit/WebCore/plugins/MimeTypeArray.idl
target Generated: libwebcore <= external/webkit/WebCore/plugins/Plugin.idl
target Generated: libwebcore <= external/webkit/WebCore/plugins/PluginArray.idl
target Generated: libwebcore <= external/webkit/WebCore/storage/Database.idl
target Generated: libwebcore <= external/webkit/WebCore/storage/SQLError.idl
target Generated: libwebcore <= external/webkit/WebCore/storage/SQLResultSet.idl
target Generated: libwebcore <= external/webkit/WebCore/storage/SQLResultSetRowList.idl
target Generated: libwebcore <= external/webkit/WebCore/storage/SQLTransaction.idl
target Generated: libwebcore <= external/webkit/WebCore/storage/Storage.idl
target Generated: libwebcore <= external/webkit/WebCore/storage/StorageEvent.idl
target Generated: libwebcore <= external/webkit/WebCore/svg/SVGColor.idl
target Generated: libwebcore <= external/webkit/WebCore/svg/SVGDocument.idl
target Generated: libwebcore <= external/webkit/WebCore/svg/SVGElement.idl
target Generated: libwebcore <= external/webkit/WebCore/svg/SVGElementInstance.idl
target Generated: libwebcore <= external/webkit/WebCore/svg/SVGException.idl
target Generated: libwebcore <= external/webkit/WebCore/svg/SVGPaint.idl
target Generated: libwebcore <= external/webkit/WebCore/svg/SVGZoomEvent.idl
target Generated: libwebcore <= external/webkit/WebCore/workers/AbstractWorker.idl
target Generated: libwebcore <= external/webkit/WebCore/workers/DedicatedWorkerContext.idl
target Generated: libwebcore <= external/webkit/WebCore/workers/SharedWorker.idl
target Generated: libwebcore <= external/webkit/WebCore/workers/SharedWorkerContext.idl
target Generated: libwebcore <= external/webkit/WebCore/workers/Worker.idl
target Generated: libwebcore <= external/webkit/WebCore/workers/WorkerContext.idl
target Generated: libwebcore <= external/webkit/WebCore/workers/WorkerLocation.idl
target Generated: libwebcore <= external/webkit/WebCore/xml/DOMParser.idl
target Generated: libwebcore <= external/webkit/WebCore/xml/XMLHttpRequest.idl
target Generated: libwebcore <= external/webkit/WebCore/xml/XMLHttpRequestException.idl
target Generated: libwebcore <= external/webkit/WebCore/xml/XMLHttpRequestProgressEvent.idl
target Generated: libwebcore <= external/webkit/WebCore/xml/XMLHttpRequestUpload.idl
target Generated: libwebcore <= external/webkit/WebCore/xml/XMLSerializer.idl
target Generated: libwebcore <= external/webkit/WebCore/xml/XPathException.idl
target Generated: libwebcore <= external/webkit/WebCore/xml/XPathNSResolver.idl
target Generated: libwebcore <= external/webkit/WebCore/xml/XPathResult.idl
target Generated: libwebcore <= external/webkit/WebCore/inspector/InjectedScriptHost.idl
target Generated: libwebcore <= external/webkit/WebCore/inspector/InspectorBackend.idl
target Generated: libwebcore <= external/webkit/WebCore/inspector/InspectorFrontendHost.idl
target Generated: libwebcore <= external/webkit/WebCore/notifications/Notification.idl
target Generated: libwebcore <= external/webkit/WebCore/notifications/NotificationCenter.idl
target Generated: libwebcore <= external/webkit/WebCore/websockets/WebSocket.idl
target Generated: libwebcore <= external/webkit/WebCore/dom/make_names.pl
target Generated: libwebcore <= external/webkit/WebCore/dom/make_names.pl
target Generated: libwebcore <= external/webkit/WebCore/dom/make_names.pl
make: *** No rule to make target `vendor/htc/vision/proprietary/libwebkitaccel.so', needed by `out/target/product/vision/obj/lib/libwebkitaccel.so'. Stop.
make: *** Waiting for unfinished jobs....
and then the damn thing stops at that.
Four hours worth of compiling source code, followed by two hours of generating lib cores, wasted. Can anyone please diagnose the problem?
I'm using Sykopompos's guide: http://forum.xda-developers.com/showthread.php?p=10635918
I even tried this using the guide on the Cyanogenmod wiki, and again I struck out.
What could possibly be going wrong?
I'm also building from CM7 7.0.3 if that helps. Should I go back to my stock ROM and try again? Please help me.

Related

Compiling CM9 from source for the E4GT

Because I know you want to... don't you??
http://aosp.chris41g.org/chris41g_o...How-To-Compile-CyanogenMod-9-from-Source.aspx
Uh....yeah. thx chris!
Sent from my SPH-D710 using xda premium
So when's compiling cm9 kernel from source dropping Chris?!
Sent from my SPH-D710 using xda app-developers app
Custodian said:
So when's compiling cm9 kernel from source dropping Chris?!
Sent from my SPH-D710 using xda app-developers app
Click to expand...
Click to collapse
Whenever I give Samsung permission...
Thanks for this chris41g! Going to try and build my own nightlies!
Thanks for your work!
Lots of great treats lately from you!
Sent from my Super Galaxy'd SPH-D710
chris41g said:
Whenever I give Samsung permission...
Click to expand...
Click to collapse
Ok...that should not have been as funny as it was.
Sent from my SCH-R760 using Tapatalk 2
Your site says gummy for e4gt in the title, can we have a build guide for that?
Sent from my SPH-D710 using Tapatalk 2
Taco991 said:
Your site says gummy for e4gt in the title, can we have a build guide for that?
Sent from my SPH-D710 using Tapatalk 2
Click to expand...
Click to collapse
Coming soon...
Sent from my SPH-D710 using Tapatalk
Being able to compile from source or an actual release?
Sent from my SPH-D710 using Tapatalk 2
Taco991 said:
Being able to compile from source or an actual release?
Sent from my SPH-D710 using Tapatalk 2
Click to expand...
Click to collapse
Just an actual, working Gummy release. No tut for now at least.
Sent from my SPH-D710 using Tapatalk
Alright, so compiling from source isn't possible atm? I'd be happy to test anything if you need help...
Sent from my SPH-D710 using Tapatalk 2
Taco991 said:
Alright, so compiling from source isn't possible atm? I'd be happy to test anything if you need help...
Sent from my SPH-D710 using Tapatalk 2
Click to expand...
Click to collapse
chris41g had to do quite alot to get it going so just no tut for now. Release coming soon... Best way to get the chance to possssibly test would be in the IRC channel and catch a link.
Sent from my SPH-D710 using Tapatalk
Alright, what's his irc chan?
Sent from my SPH-D710 using Tapatalk 2
Don't expect a release tomorrow or something lol. Its on freenode #ics-dev-e4gt
Sent from my SPH-D710 using Tapatalk
We are really fortunate to have Chris41g back in the game again. Thank you Chris
DataHawg said:
We are really fortunate to have Chris41g back in the game again. Thank you Chris
Click to expand...
Click to collapse
could we get a sneak peek? lol maybe a screenie or something might calm the crowd! I understand if thats not possible tho :crying:
Thanks for the work u do Chris41..much appreciated!!
a little help please
first let me say this is awesome tutorial and im glad we have it thank you Chris for making it for all of us that are totally new to compiling from source or porting android.
i followed it to the T but im not sure what i did wrong, is there any way possible you can help?
Code:
__ __
__ __/ /_ __ ______ / /___ __
/ / / / __ \/ / / / __ \/ __/ / / /
/ /_/ / /_/ / /_/ / / / / /_/ /_/ /
\__,_/_.___/\__,_/_/ /_/\__/\__,_/
__
____ ___ _________/ /
/ __ \/ _ \/ ___/ __ /
/ / / / __/ / / /_/ /
/_/ /_/\___/_/ \__,_/
[email protected]:~$ cd ~/android/system/
[email protected]:~/android/system$ e4gttools/apply.sh
error: no project has branch auto
### fix ringtones
*****************************
Current Directory: packages/apps/Phone
*****************************
HEAD is now at dbaf4b3 Fix translation
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2427 100 2427 0 0 1826 0 0:00:01 0:00:01 --:--:-- 2019
(Stripping trailing CRs from patch.)
patching file src/com/android/phone/CallNotifier.java
(Stripping trailing CRs from patch.)
patching file src/com/android/phone/Ringer.java
SUCCESS: e4gttools/apply.sh has completed.
[email protected]:~/android/system$ . build/envsetup.sh && breakfast cm_epic4gtouch-userdebug
including device/samsung/epic4gtouch/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/vendorsetup.sh
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=cm_epic4gtouch
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76L
============================================
[email protected]:~/android/system$ export USE_CCACHE=1 CM_EXPERIMENTAL=1
[email protected]:~/android/system$ mka bacon
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=cm_epic4gtouch
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76L
============================================
build/core/copy_headers.mk:15: warning: overriding commands for target `out/target/product/epic4gtouch/obj/include/libsecmm/mfc_errno.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `out/target/product/epic4gtouch/obj/include/libsecmm/mfc_errno.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `out/target/product/epic4gtouch/obj/include/libsecmm/mfc_interface.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `out/target/product/epic4gtouch/obj/include/libsecmm/mfc_interface.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `out/target/product/epic4gtouch/obj/include/libsecmm/SsbSipMfcApi.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `out/target/product/epic4gtouch/obj/include/libsecmm/SsbSipMfcApi.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `out/target/product/epic4gtouch/obj/include/libsecmm/mfc_errno.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `out/target/product/epic4gtouch/obj/include/libsecmm/mfc_errno.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `out/target/product/epic4gtouch/obj/include/libsecmm/mfc_interface.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `out/target/product/epic4gtouch/obj/include/libsecmm/mfc_interface.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `out/target/product/epic4gtouch/obj/include/libsecmm/SsbSipMfcApi.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `out/target/product/epic4gtouch/obj/include/libsecmm/SsbSipMfcApi.h'
build/core/dynamic_binary.mk:112: warning: overriding commands for target `.so'
build/core/dynamic_binary.mk:95: warning: ignoring old commands for target `.so'
build/core/shared_library.mk:54: warning: overriding commands for target `.so'
build/core/dynamic_binary.mk:112: warning: ignoring old commands for target `.so'
system/core/toolbox/Android.mk:98: warning: overriding commands for target `out/target/product/epic4gtouch/system/bin/lsof'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/epic4gtouch/system/bin/lsof'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/epic4gtouch/system/app/Superuser.apk'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/epic4gtouch/system/app/Superuser.apk'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/epic4gtouch/system/etc/mkshrc'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/epic4gtouch/system/etc/mkshrc'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/epic4gtouch/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/epic4gtouch/system/etc/wifi/wpa_supplicant.conf'
No private recovery resources for TARGET_DEVICE epic4gtouch
make -C kernel/samsung/epic4gtouch O=/home/ubuntunerd/android/system/out/target/product/epic4gtouch/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/ubuntunerd/android/system/prebuilt/linux-x86/ccache/ccache /home/ubuntunerd/android/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-" headers_install
make[1]: Entering directory `/home/ubuntunerd/android/system/kernel/samsung/epic4gtouch'
host StaticLib: libhost (out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a)
host Executable: mkbootfs (out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs)
true
host StaticLib: libz (out/host/linux-x86/obj/STATIC_LIBRARIES/libz_intermediates/libz.a)
target SharedLib: libdl (out/target/product/epic4gtouch/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so)
target StaticLib: libc_common (out/target/product/epic4gtouch/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a)
CHK include/linux/version.h
UPD include/linux/version.h
target StaticLib: libext2fs (out/target/product/epic4gtouch/obj/STATIC_LIBRARIES/libext2fs_intermediates/libext2fs.a)
target StaticLib: libext2_blkid (out/target/product/epic4gtouch/obj/STATIC_LIBRARIES/libext2_blkid_intermediates/libext2_blkid.a)
target StaticLib: libext2_uuid (out/target/product/epic4gtouch/obj/STATIC_LIBRARIES/libext2_uuid_intermediates/libext2_uuid.a)
target StaticLib: libext2_profile (out/target/product/epic4gtouch/obj/STATIC_LIBRARIES/libext2_profile_intermediates/libext2_profile.a)
HOSTCC scripts/unifdef
target StaticLib: libext2_com_err (out/target/product/epic4gtouch/obj/STATIC_LIBRARIES/libext2_com_err_intermediates/libext2_com_err.a)
target StaticLib: libext2_e2p (out/target/product/epic4gtouch/obj/STATIC_LIBRARIES/libext2_e2p_intermediates/libext2_e2p.a)
target StaticLib: libext4_utils (out/target/product/epic4gtouch/obj/STATIC_LIBRARIES/libext4_utils_intermediates/libext4_utils.a)
target StaticLib: libz (out/target/product/epic4gtouch/obj/STATIC_LIBRARIES/libz_intermediates/libz.a)
target StaticLib: libminzip (out/target/product/epic4gtouch/obj/STATIC_LIBRARIES/libminzip_intermediates/libminzip.a)
target StaticLib: libunz (out/target/product/epic4gtouch/obj/STATIC_LIBRARIES/libunz_intermediates/libunz.a)
target StaticLib: libmincrypt (out/target/product/epic4gtouch/obj/STATIC_LIBRARIES/libmincrypt_intermediates/libmincrypt.a)
target StaticLib: libminizip (out/target/product/epic4gtouch/obj/STATIC_LIBRARIES/libminizip_intermediates/libminizip.a)
Lex: libedify <= bootable/recovery/edify/lexer.l
/bin/bash: flex: command not found
make: *** [out/host/linux-x86/obj/EXECUTABLES/edify_intermediates/lexer.cpp] Error 127
make: *** Waiting for unfinished jobs....
INSTALL include/asm-generic (34 files)
INSTALL include/drm (13 files)
INSTALL include/linux/byteorder (2 files)
INSTALL include/mtd (5 files)
INSTALL include/linux/caif (2 files)
INSTALL include/linux/can (4 files)
INSTALL include/rdma (6 files)
INSTALL include/linux/dvb (8 files)
INSTALL include/linux/hdlc (1 file)
INSTALL include/scsi/fc (4 files)
INSTALL include/linux/isdn (1 file)
INSTALL include/scsi (3 files)
INSTALL include/linux/mmc (1 file)
INSTALL include/linux/netfilter/ipset (4 files)
INSTALL include/linux/netfilter_arp (2 files)
INSTALL include/linux/netfilter (69 files)
INSTALL include/linux/netfilter_bridge (18 files)
INSTALL include/linux/netfilter_ipv4 (14 files)
INSTALL include/linux/netfilter_ipv6 (11 files)
INSTALL include/linux/raid (2 files)
INSTALL include/linux/nfsd (6 files)
INSTALL include/sound (8 files)
INSTALL include/linux/spi (1 file)
INSTALL include/linux/sunrpc (1 file)
INSTALL include/linux/tc_act (7 files)
INSTALL include/video (3 files)
INSTALL include/linux/tc_ematch (4 files)
INSTALL include/xen (2 files)
INSTALL include/linux/usb (9 files)
INSTALL include (0 file)
INSTALL include/linux/wimax (1 file)
INSTALL include/linux (364 files)
INSTALL include/asm (32 files)
make[1]: Leaving directory `/home/ubuntunerd/android/system/kernel/samsung/epic4gtouch'
[email protected]:~/android/system$
now im getting:
Code:
make: *** [out/host/linux-x86/obj/EXECUTABLES/edify_intermediates/lexer.cpp] Error 127
make: *** Waiting for unfinished jobs....
/bin/bash: flex: command not found
make: *** [out/target/product/epic4gtouch/obj/STATIC_LIBRARIES/libedify_intermediates/lexer.cpp] Error 127
[email protected]:~/android/system$
i got further this time i manage to compile something but there is no zip in the out folder, terminal ended like this:
Code:
Notice file: bionic/linker/NOTICE -- out/target/product/epic4gtouch/obj/NOTICE_FILES/src//system/bin/linker.txt
Notice file: bionic/libc/NOTICE -- out/target/product/epic4gtouch/obj/NOTICE_FILES/src//system/lib/libc_nomalloc.a.txt
Notice file: system/core/logcat/NOTICE -- out/target/product/epic4gtouch/obj/NOTICE_FILES/src//system/bin/logcat.txt
Notice file: system/core/logwrapper/NOTICE -- out/target/product/epic4gtouch/obj/NOTICE_FILES/src//system/bin/logwrapper.txt
Notice file: system/extras/ext4_utils/NOTICE -- out/target/product/epic4gtouch/obj/NOTICE_FILES/src//system/bin/make_ext4fs.txt
Notice file: system/extras/ext4_utils/NOTICE -- out/target/product/epic4gtouch/obj/NOTICE_FILES/src//system/lib/libext4_utils.so.txt
make: *** No rule to make target `out/target/product/epic4gtouch/obj/lib/libmediayamahaservice.so', needed by `out/target/product/epic4gtouch/obj/EXECUTABLES/mediaserver_intermediates/LINKED/mediaserver'. Stop.
make: *** Waiting for unfinished jobs....
[email protected]:~/android/system$
if anybody can help i will greatly appreciated

[SOLVED] Build Error - QCamera2

Can anyone help me resolve this? Thanks in advance!
Code:
device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/mm_camera.c:1612:23: [COLOR=Red]error[/COLOR]: 'value' is used uninitialized in this function [-Werror=uninitialized]
control.value = *value;
^
device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/mm_camera.c:680:13: [COLOR=MediumTurquoise][COLOR=DeepSkyBlue]note:[/COLOR] [/COLOR]'value' was declared here
int32_t value;
^
arget thumb C: libFFTEm <= external/neven/Embedded/common/src/b_TensorEm/Int32Mat.c
target thumb C: libFFTEm <= external/neven/Embedded/common/src/b_TensorEm/MapSequence.c
target thumb C: libFFTEm <= external/neven/Embedded/common/src/b_TensorEm/Mat.c
cc1: all warnings being treated as errors
make: *** [out/target/product/flo/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes. Stop.
**Fixed it

compile error ?? help please

target thumb C++: libandroid_servers <= frameworks/base/services/jni/onload.cpp
target thumb C++: libdashplayer <= hardware/qcom/media-caf-new/dashplayer/DashPlayerDecoder.cpp
hardware/qcom/media-caf-new/dashplayer/DashPlayerDecoder.cpp:24:25: fatal error: QCMediaDefs.h: No such file or directory
compilation terminated.
make: *** [/home/subatomicone/android/out/target/product/hlte/obj/SHARED_LIBRARIES/libdashplayer_intermediates/DashPlayerDecoder.o] Error 1
make: *** Waiting for unfinished jobs....
Total time elapsed: 7 minutes (443.808555530 seconds)
this is where it ends building using legacy and for HLTE note 3

Compiling PAC with SaberMod

Hello there
I recently discovered the SaberMod toolchain (4.8), and decided to try to compile PAC with it
I added the toolchains in my manifest, and modified the "TARGET_linux-arm.mk"
Repo sync went fine, but when trying to build, I get these errors :
system/core/adb/framebuffer_service.c: In function 'framebuffer_service':
system/core/adb/framebuffer_service.c:175:60: warning: 'pid' may be used uninitialized in this function [-Wmaybe-uninitialized]
TEMP_FAILURE_RETRY(waitpid(pid, NULL, 0));
^
target thumb C: adbd <= system/core/adb/log_service.c
Import includes file: /home/bud/pacman/out/target/product/bacon/obj/EXECUTABLES/healthd_intermediates/import_includes
Import includes file: /home/bud/pacman/out/target/product/bacon/obj/STATIC_LIBRARIES/libbatteryservice_intermediates/import_includes
Import includes file: /home/bud/pacman/out/target/product/bacon/obj/STATIC_LIBRARIES/libbinder_intermediates/import_includes
Import includes file: /home/bud/pacman/out/target/product/bacon/obj/STATIC_LIBRARIES/libutils_intermediates/import_includes
target thumb C++: libhealthd.default <= system/core/healthd/healthd_board_default.cpp
host C: checkseapp <= external/sepolicy/tools/check_seapp.c
system/core/healthd/healthd_board_default.cpp:19:6: warning: unused parameter 'config' [-Wunused-parameter]
void healthd_board_init(struct healthd_config *config)
^
system/core/healthd/healthd_board_default.cpp:25:5: warning: unused parameter 'props' [-Wunused-parameter]
int healthd_board_battery_update(struct android::BatteryProperties *props)
^
Import includes file: /home/bud/pacman/out/host/linux-x86/obj/EXECUTABLES/minigzip_intermediates/import_includes
host C: libz <= external/zlib/src/adler32.c
host C: libz <= external/zlib/src/compress.c
host C: libz <= external/zlib/src/crc32.c
host C: libz <= external/zlib/src/deflate.c
host C: libz <= external/zlib/src/gzclose.c
host C: libz <= external/zlib/src/gzlib.c
host C: libz <= external/zlib/src/gzread.c
host C: libz <= external/zlib/src/infback.c
host C: libz <= external/zlib/src/gzwrite.c
host C: libz <= external/zlib/src/inflate.c
host C: libz <= external/zlib/src/inftrees.c
host C: libz <= external/zlib/src/inffast.c
host C: libz <= external/zlib/src/trees.c
host C: libz <= external/zlib/src/uncompr.c
host C: libz <= external/zlib/src/zutil.c
host C: dtbToolCM <= device/qcom/common/dtbtool/dtbtool.c
Import includes file: /home/bud/pacman/out/target/product/bacon/obj/RECOVERY_EXECUTABLES/bu_recovery_intermediates/import_includes
target thumb C: libsparse_static <= system/core/libsparse/backed_block.c
target thumb C: libsparse_static <= system/core/libsparse/output_file.c
target thumb C: libsparse_static <= system/core/libsparse/sparse.c
target thumb C: libsparse_static <= system/core/libsparse/sparse_crc32.c
system/core/libsparse/output_file.c: In function 'callback_file_open':
system/core/libsparse/output_file.c:275:51: warning: unused parameter 'out' [-Wunused-parameter]
static int callback_file_open(struct output_file *out, int fd)
^
system/core/libsparse/output_file.c:275:60: warning: unused parameter 'fd' [-Wunused-parameter]
static int callback_file_open(struct output_file *out, int fd)
^
system/core/libsparse/output_file.c: In function 'callback_file_pad':
system/core/libsparse/output_file.c:298:50: warning: unused parameter 'out' [-Wunused-parameter]
static int callback_file_pad(struct output_file *out, int64_t len)
^
system/core/libsparse/output_file.c:298:63: warning: unused parameter 'len' [-Wunused-parameter]
static int callback_file_pad(struct output_file *out, int64_t len)
^
system/core/libsparse/output_file.c: In function 'output_file_open_callback':
system/core/libsparse/output_file.c:642:57: warning: unused parameter 'gz' [-Wunused-parameter]
void *priv, unsigned int block_size, int64_t len, int gz, int sparse,
^
system/core/libsparse/sparse.c: In function 'out_counter_write':
system/core/libsparse/sparse.c:192:54: warning: unused parameter 'data' [-Wunused-parameter]
static int out_counter_write(void *priv, const void *data, int len)
^
target thumb C: libsparse_static <= system/core/libsparse/sparse_err.c
target thumb C: libsparse_static <= system/core/libsparse/sparse_read.c
target thumb C++: libvoldclient <= bootable/recovery-cm/voldclient/commands.cpp
system/core/libsparse/sparse_read.c: In function 'process_raw_chunk':
system/core/libsparse/sparse_read.c:122:4: warning: implicit declaration of function 'read_all' [-Wimplicit-function-declaration]
ret = read_all(fd, copybuf, chunk);
^
system/core/libsparse/sparse_read.c: In function 'process_skip_chunk':
system/core/libsparse/sparse_read.c:178:7: warning: unused parameter 'fd' [-Wunused-parameter]
int fd, unsigned int blocks, unsigned int block, uint32_t *crc32)
^
system/core/libsparse/sparse_read.c:178:45: warning: unused parameter 'block' [-Wunused-parameter]
int fd, unsigned int blocks, unsigned int block, uint32_t *crc32)
^
target thumb C++: libvoldclient <= bootable/recovery-cm/voldclient/dispatcher.cpp
target thumb C++: libvoldclient <= bootable/recovery-cm/voldclient/event_loop.cpp
target thumb C: libmtdutils <= bootable/recovery-cm/mtdutils/mtdutils.c
target thumb C: libmtdutils <= bootable/recovery-cm/mtdutils/mounts.c
target thumb C: libminadbd <= bootable/recovery-cm/minadbd/adb.c
target thumb C: libminadbd <= bootable/recovery-cm/minadbd/fdevent.c
target thumb C: libminadbd <= bootable/recovery-cm/minadbd/transport.c
target thumb C: libminadbd <= bootable/recovery-cm/minadbd/transport_usb.c
target thumb C: libminadbd <= bootable/recovery-cm/minadbd/sockets.c
target thumb C: libminadbd <= bootable/recovery-cm/minadbd/services.c
bootable/recovery-cm/voldclient/event_loop.cpp:191:14: error: unused parameter 'v' [-Werror=unused-parameter]
static void *event_thread_func(void* v) {
^
cc1plus: all warnings being treated as errors
make: *** [/home/bud/pacman/out/target/product/bacon/obj/STATIC_LIBRARIES/libvoldclient_intermediates/event_loop.o] Error 1
make: *** Waiting for unfinished jobs....
bootable/recovery-cm/voldclient/dispatcher.cpp:202:5: error: unused parameter 'len' [-Werror=unused-parameter]
int vold_dispatch(int code, char** tokens, int len) {
^
cc1plus: all warnings being treated as errors
make: *** [/home/bud/pacman/out/target/product/bacon/obj/STATIC_LIBRARIES/libvoldclient_intermediates/dispatcher.o] Error 1
make: *** wait: No child processes. Stop
Those looks like warning, but they are being trated as errors
If someone could help me on this :crying:
bud77 said:
Hello there
I recently discovered the SaberMod toolchain (4.8), and decided to try to compile PAC with it
I added the toolchains in my manifest, and modified the "TARGET_linux-arm.mk"
Repo sync went fine, but when trying to build, I get these errors :
system/core/adb/framebuffer_service.c: In function 'framebuffer_service':
system/core/adb/framebuffer_service.c:175:60: warning: 'pid' may be used uninitialized in this function [-Wmaybe-uninitialized]
TEMP_FAILURE_RETRY(waitpid(pid, NULL, 0));
^
target thumb C: adbd <= system/core/adb/log_service.c
Import includes file: /home/bud/pacman/out/target/product/bacon/obj/EXECUTABLES/healthd_intermediates/import_includes
Import includes file: /home/bud/pacman/out/target/product/bacon/obj/STATIC_LIBRARIES/libbatteryservice_intermediates/import_includes
Import includes file: /home/bud/pacman/out/target/product/bacon/obj/STATIC_LIBRARIES/libbinder_intermediates/import_includes
Import includes file: /home/bud/pacman/out/target/product/bacon/obj/STATIC_LIBRARIES/libutils_intermediates/import_includes
target thumb C++: libhealthd.default <= system/core/healthd/healthd_board_default.cpp
host C: checkseapp <= external/sepolicy/tools/check_seapp.c
system/core/healthd/healthd_board_default.cpp:19:6: warning: unused parameter 'config' [-Wunused-parameter]
void healthd_board_init(struct healthd_config *config)
^
system/core/healthd/healthd_board_default.cpp:25:5: warning: unused parameter 'props' [-Wunused-parameter]
int healthd_board_battery_update(struct android::BatteryProperties *props)
^
Import includes file: /home/bud/pacman/out/host/linux-x86/obj/EXECUTABLES/minigzip_intermediates/import_includes
host C: libz <= external/zlib/src/adler32.c
host C: libz <= external/zlib/src/compress.c
host C: libz <= external/zlib/src/crc32.c
host C: libz <= external/zlib/src/deflate.c
host C: libz <= external/zlib/src/gzclose.c
host C: libz <= external/zlib/src/gzlib.c
host C: libz <= external/zlib/src/gzread.c
host C: libz <= external/zlib/src/infback.c
host C: libz <= external/zlib/src/gzwrite.c
host C: libz <= external/zlib/src/inflate.c
host C: libz <= external/zlib/src/inftrees.c
host C: libz <= external/zlib/src/inffast.c
host C: libz <= external/zlib/src/trees.c
host C: libz <= external/zlib/src/uncompr.c
host C: libz <= external/zlib/src/zutil.c
host C: dtbToolCM <= device/qcom/common/dtbtool/dtbtool.c
Import includes file: /home/bud/pacman/out/target/product/bacon/obj/RECOVERY_EXECUTABLES/bu_recovery_intermediates/import_includes
target thumb C: libsparse_static <= system/core/libsparse/backed_block.c
target thumb C: libsparse_static <= system/core/libsparse/output_file.c
target thumb C: libsparse_static <= system/core/libsparse/sparse.c
target thumb C: libsparse_static <= system/core/libsparse/sparse_crc32.c
system/core/libsparse/output_file.c: In function 'callback_file_open':
system/core/libsparse/output_file.c:275:51: warning: unused parameter 'out' [-Wunused-parameter]
static int callback_file_open(struct output_file *out, int fd)
^
system/core/libsparse/output_file.c:275:60: warning: unused parameter 'fd' [-Wunused-parameter]
static int callback_file_open(struct output_file *out, int fd)
^
system/core/libsparse/output_file.c: In function 'callback_file_pad':
system/core/libsparse/output_file.c:298:50: warning: unused parameter 'out' [-Wunused-parameter]
static int callback_file_pad(struct output_file *out, int64_t len)
^
system/core/libsparse/output_file.c:298:63: warning: unused parameter 'len' [-Wunused-parameter]
static int callback_file_pad(struct output_file *out, int64_t len)
^
system/core/libsparse/output_file.c: In function 'output_file_open_callback':
system/core/libsparse/output_file.c:642:57: warning: unused parameter 'gz' [-Wunused-parameter]
void *priv, unsigned int block_size, int64_t len, int gz, int sparse,
^
system/core/libsparse/sparse.c: In function 'out_counter_write':
system/core/libsparse/sparse.c:192:54: warning: unused parameter 'data' [-Wunused-parameter]
static int out_counter_write(void *priv, const void *data, int len)
^
target thumb C: libsparse_static <= system/core/libsparse/sparse_err.c
target thumb C: libsparse_static <= system/core/libsparse/sparse_read.c
target thumb C++: libvoldclient <= bootable/recovery-cm/voldclient/commands.cpp
system/core/libsparse/sparse_read.c: In function 'process_raw_chunk':
system/core/libsparse/sparse_read.c:122:4: warning: implicit declaration of function 'read_all' [-Wimplicit-function-declaration]
ret = read_all(fd, copybuf, chunk);
^
system/core/libsparse/sparse_read.c: In function 'process_skip_chunk':
system/core/libsparse/sparse_read.c:178:7: warning: unused parameter 'fd' [-Wunused-parameter]
int fd, unsigned int blocks, unsigned int block, uint32_t *crc32)
^
system/core/libsparse/sparse_read.c:178:45: warning: unused parameter 'block' [-Wunused-parameter]
int fd, unsigned int blocks, unsigned int block, uint32_t *crc32)
^
target thumb C++: libvoldclient <= bootable/recovery-cm/voldclient/dispatcher.cpp
target thumb C++: libvoldclient <= bootable/recovery-cm/voldclient/event_loop.cpp
target thumb C: libmtdutils <= bootable/recovery-cm/mtdutils/mtdutils.c
target thumb C: libmtdutils <= bootable/recovery-cm/mtdutils/mounts.c
target thumb C: libminadbd <= bootable/recovery-cm/minadbd/adb.c
target thumb C: libminadbd <= bootable/recovery-cm/minadbd/fdevent.c
target thumb C: libminadbd <= bootable/recovery-cm/minadbd/transport.c
target thumb C: libminadbd <= bootable/recovery-cm/minadbd/transport_usb.c
target thumb C: libminadbd <= bootable/recovery-cm/minadbd/sockets.c
target thumb C: libminadbd <= bootable/recovery-cm/minadbd/services.c
bootable/recovery-cm/voldclient/event_loop.cpp:191:14: error: unused parameter 'v' [-Werror=unused-parameter]
static void *event_thread_func(void* v) {
^
cc1plus: all warnings being treated as errors
make: *** [/home/bud/pacman/out/target/product/bacon/obj/STATIC_LIBRARIES/libvoldclient_intermediates/event_loop.o] Error 1
make: *** Waiting for unfinished jobs....
bootable/recovery-cm/voldclient/dispatcher.cpp:202:5: error: unused parameter 'len' [-Werror=unused-parameter]
int vold_dispatch(int code, char** tokens, int len) {
^
cc1plus: all warnings being treated as errors
make: *** [/home/bud/pacman/out/target/product/bacon/obj/STATIC_LIBRARIES/libvoldclient_intermediates/dispatcher.o] Error 1
make: *** wait: No child processes. Stop
Those looks like warning, but they are being trated as errors
If someone could help me on this :crying:
Click to expand...
Click to collapse
http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
shumash said:
http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
Click to expand...
Click to collapse
Thanks for that
Where can I specify/remove those args when using the "build-pac.sh" ?
Are those sets by the toolchain ?
bud77 said:
Thanks for that
Where can I specify/remove those args when using the "build-pac.sh" ?
Are those sets by the toolchain ?
Click to expand...
Click to collapse
The build-pac shell script isn't involved. The compiler directives are set in the build/core/config.mk file and your device's BoardConfig.mk file. Look for COMMON_GLOBAL_CFLAGS.
Oh well, this goes far beyond my limited knowledge
Thanks for your time anyway, I really appreciate it
I decided to give it a last try, and managed to removed the error above
But I'm now having this issue :
/tmp/cc7R4Aqi.s:187: Error: selected processor does not support Thumb mode `mrc p15,0,r3,c13,c0,3'
make: *** [/home/bud/pacman/out/target/product/bacon/obj/STATIC_LIBRARIES/libc_bionic_intermediates/bionic/pthread_internals.o] Error 1
Google search pointed me to several guys wth the same issue, but no one fixed it
If you have any idea ...
bud77 said:
I decided to give it a last try, and managed to removed the error above
But I'm now having this issue :
/tmp/cc7R4Aqi.s:187: Error: selected processor does not support Thumb mode `mrc p15,0,r3,c13,c0,3'
make: *** [/home/bud/pacman/out/target/product/bacon/obj/STATIC_LIBRARIES/libc_bionic_intermediates/bionic/pthread_internals.o] Error 1
Google search pointed me to several guys wth the same issue, but no one fixed it
If you have any idea ...
Click to expand...
Click to collapse
Did you clean your build before trying to recompile? try 'make clean' or specify '-c1' in the build-pac.sh script.
shumash said:
Did you clean your build before trying to recompile? try 'make clean' or specify '-c1' in the build-pac.sh script.
Click to expand...
Click to collapse
I always build with "-c1", and I even clean the cache before each try (ccache -c)
Just tried the "make clean" in the pacman source directory (named ~/android in the guides), also tried with and without "-o3", but still the same error
Verbose mode tells me this :
target thumb C++: libc_bionic <= bionic/libc/bionic/pthread_internals.cpp
prebuilts/misc/linux-x86/ccache/ccache prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-g++ -I device/oppo/msm8974-common/include -I bionic/libc/stdlib -I bionic/libc/string -I bionic/libc/stdio -I external/safe-iop/include -I bionic/libc -I /home/bud/pacman/out/target/product/bacon/obj/STATIC_LIBRARIES/libc_bionic_intermediates -I libnativehelper/include/nativehelper -isystem system/core/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem hardware/ril/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem external/skia/include -isystem /home/bud/pacman/out/target/product/bacon/obj/include -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libstdc++/include -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/arch-arm -isystem bionic/libm/include -isystem bionic/libm/include/arm -isystem bionic/libthread_db/include -c -O3 -fno-exceptions -Wno-multichar -msoft-float -fpic -fPIE -ffunction-sections -fdata-sections -funwind-tables -fstack-protector -Wa,--noexecstack -Wno-unused-but-set-variable -fno-builtin-sin -fno-strict-volatile-bitfields -Wno-psabi -mthumb-interwork -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DQCOM_HARDWARE -DQCOM_BSP -DNEEDS_VECTORIMPL_SYMBOLS -DNO_SECURE_DISCARD -DOPPO_CAMERA_HARDWARE -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -DNDEBUG -g -Wstrict-aliasing=2 -fgcse-after-reload -frerun-cse-after-loop -frename-registers -DNDEBUG -UDEBUG -DQCOM_HARDWARE -DQCOM_BSP -fvisibility-inlines-hidden -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Wsign-promo -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -DNDEBUG -UDEBUG -DQCOM_HARDWARE -DQCOM_BSP -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -fno-rtti -DWITH_ERRLIST -DANDROID_CHANGES -D_LIBC=1 -DFLOATING_POINT -DINET6 -Ibionic/libc/private -DPOSIX_MISTAKE -DLOG_ON_HEAP_ERROR -Wall -Wextra -DSOFTFLOAT -fstrict-aliasing -DANDROID_SMP=1 -Werror -MD -MF /home/bud/pacman/out/target/product/bacon/obj/STATIC_LIBRARIES/libc_bionic_intermediates/bionic/pthread_internals.d -o /home/bud/pacman/out/target/product/bacon/obj/STATIC_LIBRARIES/libc_bionic_intermediates/bionic/pthread_internals.o bionic/libc/bionic/pthread_internals.cpp
But I can't find where it gets this arg (twice !)
I'm not giving up !
I decided to grab CM sources, and try to compile with the sabermob toolchain, but I ended with the exact same issue
So I guessed there was something wrong with the toolchain
I then decided to try the 4.7 linaro toolchain, and ended up on JustArchi optimizations flags (https://github.com/JustArchi/android_build/commit/1125f60a15194e08fdf18feacefb47696647e05b)
After adapting those commits to the pacman sources, I managed to skip the problem above, and let it build for the night (with sabermod)
This morning I found the build broke during the kernel compilation, but without any error shown (only "error 2" was displayed in the last 500 lines)
I'm restarting a build with verbose to see what happens
Edit : Even verbose mode doesn't give any more explanation, only this :
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/bud/pacman/kernel/oneplus/msm8974'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
A 3rd try gave me a much better explanation
../../../../../../kernel/oneplus/msm8974/mm/slub.c: In function 'show_slab_objects':
../../../../../../kernel/oneplus/msm8974/mm/slub.c:4536:11: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
error, forbidden warning: slub.c:4536
make[3]: *** [mm/slub.o] Error 1
make[2]: *** [mm] Error 2
make[2]: *** Waiting for unfinished jobs....
bud77 said:
A 3rd try gave me a much better explanation
../../../../../../kernel/oneplus/msm8974/mm/slub.c: In function 'show_slab_objects':
../../../../../../kernel/oneplus/msm8974/mm/slub.c:4536:11: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
error, forbidden warning: slub.c:4536
make[3]: *** [mm/slub.o] Error 1
make[2]: *** [mm] Error 2
make[2]: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
I believe the change you need is something like this commit:
https://github.com/VanirAOSP/hardware_qcom_display/commit/737719caa4eff75cde2d8ecfa3118fd95994fa27

failed to compile jfltexx, ninja error, missing files

Any idea why?
Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'vendor/samsung/jf-gsm-common/proprietary/bin/rild', needed by '/home/huan/android/lineage/out/target/product/jfltexx/system/bin/rild', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/huan/android/lineage'
-------------------------
/home/huan/android/lineage/out/build-lineage_jfltexx.ninja is missing, regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20170507-UNOFFICIAL-jfltexx
TARGET_PRODUCT=lineage_jfltexx
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-38-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=N2G47O
OUT_DIR=/home/huan/android/lineage/out
============================================
build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
frameworks/av/camera/cameraserver/Android.mk:18: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘/home/huan/android/lineage/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
No private recovery resources for TARGET_DEVICE jfltexx
build/core/java.mk:334: warning: overriding commands for target `/home/huan/android/lineage/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: overriding commands for target `/home/huan/android/lineage/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/base_rules.mk:320: warning: overriding commands for target `/home/huan/android/lineage/out/target/product/jfltexx/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/product/jfltexx/root/res/images/charger/battery_fail.png'
build/core/Makefile:34: warning: overriding commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/bin/rild'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/bin/rild'
build/core/Makefile:34: warning: overriding commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libreference-ril.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libreference-ril.so'
build/core/Makefile:34: warning: overriding commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libril.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libril.so'
build/core/Makefile:34: warning: overriding commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libsecril-client.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/huan/android/lineage/out/target/product/jfltexx/system/lib/libsecril-client.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'vendor/samsung/jf-gsm-common/proprietary/bin/rild', needed by '/home/huan/android/lineage/out/target/product/jfltexx/system/bin/rild', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/huan/android/lineage'
#### make failed to build some targets (01:16 (mm:ss)) ####
i am facing the same issue
This mean you are missing the proprietary vendor files.
Check this site out, https://github.com/TheMuppets/proprietary_vendor_samsung
Make note of this error:
ninja: error: 'vendor/samsung/jf-gsm-common/proprietary/bin/rild', needed by '/home/huan/android/lineage/out/target/product/jfltexx/system/bin/rild', missing and no known rule to make it
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
jf-gsm-common/proprietary/bin/rild
above is the path to the files you want, follow that on the repo page I provided.

Categories

Resources