[Android Q&A, Help & Troubleshooting] soulpower11:
target thumb C: scp <= external/openssh/bufaux.c
target thumb C: sdcard <= system/core/sdcard/main.c
target StaticLib: libsdcard (/home/soulpower11/android/system/out/target/product/jlo/obj/STATIC_LIBRARIES/libsdcard_intermediates/libsdcard.a)
target thumb C++: sensorservice <= frameworks/native/services/sensorservice/main_sensorservice.cpp
Symlink: /home/soulpower11/android/system/out/target/product/jlo/system/bin/su -> /system/xbin/su
target thumb C++: surfaceflinger <= frameworks/native/services/surfaceflinger/main_surfaceflinger.cpp
target thumb C++: libsurfaceflinger <= frameworks/native/services/surfaceflinger/Client.cpp
target thumb C++: libsurfaceflinger <= frameworks/native/services/surfaceflinger/DisplayDevice.cpp
In file included from frameworks/native/services/surfaceflinger/DisplayDevice.cpp:40:
frameworks/native/services/surfaceflinger/RenderEngine/RenderEngine.h:113:43: warning: unused parameter 'x' [-Wunused-parameter]
virtual void startTileComposition(int x, int y, int width,
^
frameworks/native/services/surfaceflinger/RenderEngine/RenderEngine.h:113:50: warning: unused parameter 'y' [-Wunused-parameter]
virtual void startTileComposition(int x, int y, int width,
^
frameworks/native/services/surfaceflinger/RenderEngine/RenderEngine.h:113:57: warning: unused parameter 'width' [-Wunused-parameter]
virtual void startTileComposition(int x, int y, int width,
^
frameworks/native/services/surfaceflinger/RenderEngine/RenderEngine.h:114:15: warning: unused parameter 'height' [-Wunused-parameter]
int height, bool preserve){}
^
frameworks/native/services/surfaceflinger/RenderEngine/RenderEngine.h:114:28: warning: unused parameter 'preserve' [-Wunused-parameter]
int height, bool preserve){}
^
target thumb C++: libsurfaceflinger <= frameworks/native/services/surfaceflinger/DispSync.cpp
5 warnings generated.
target thumb C++: libsurfaceflinger <= frameworks/native/services/surfaceflinger/EventControlThread.cpp
target thumb C++: libsurfaceflinger <= frameworks/native/services/surfaceflinger/EventThread.cpp
target thumb C++: libsurfaceflinger <= frameworks/native/services/surfaceflinger/FrameTracker.cpp
target thumb C++: libsurfaceflinger <= frameworks/native/services/surfaceflinger/Layer.cpp
target thumb C++: libsurfaceflinger <= frameworks/native/services/surfaceflinger/LayerDim.cpp
In file included from frameworks/native/services/surfaceflinger/Layer.cpp:40:
frameworks/native/services/surfaceflinger/RenderEngine/RenderEngine.h:113:43: warning: unused parameter 'x' [-Wunused-parameter]
virtual void startTileComposition(int x, int y, int width,
^
frameworks/native/services/surfaceflinger/RenderEngine/RenderEngine.h:113:50: warning: unused parameter 'y' [-Wunused-parameter]
virtual void startTileComposition(int x, int y, int width,
^
frameworks/native/services/surfaceflinger/RenderEngine/RenderEngine.h:113:57: warning: unused parameter 'width' [-Wunused-parameter]
virtual void startTileComposition(int x, int y, int width,
^
frameworks/native/services/surfaceflinger/RenderEngine/RenderEngine.h:114:15: warning: unused parameter 'height' [-Wunused-parameter]
int height, bool preserve){}
^
frameworks/native/services/surfaceflinger/RenderEngine/RenderEngine.h:114:28: warning: unused parameter 'preserve' [-Wunused-parameter]
int height, bool preserve){}
^
frameworks/native/services/surfaceflinger/Layer.cpp:488:13: error: out-of-line definition of 'draw' does not match any declaration in 'android::Layer'
void Layer::draw(const sp<const DisplayDevice>& hw, const Region& clip) const {
^~~~
frameworks/native/services/surfaceflinger/Layer.h:243:10: note: member declaration does not match because it is not const qualified
void draw(const sp<const DisplayDevice>& hw, const Region& clip);
^ ~
frameworks/native/services/surfaceflinger/Layer.cpp:489:5: error: member function 'onDraw' not viable: 'this' argument has type 'const android::Layer', but function is not marked const
onDraw(hw, clip, false);
^~~~~~
frameworks/native/services/surfaceflinger/Layer.h:205:18: note: 'onDraw' declared here
virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip,
^
frameworks/native/services/surfaceflinger/Layer.cpp:491:13: error: out-of-line definition of 'draw' does not match any declaration in 'android::Layer'
void Layer::draw(const sp<const DisplayDevice>& hw,
^~~~
frameworks/native/services/surfaceflinger/Layer.h:244:10: note: member declaration does not match because it is not const qualified
void draw(const sp<const DisplayDevice>& hw, bool useIdentityTransform);
^ ~
frameworks/native/services/surfaceflinger/Layer.cpp:493:5: error: member function 'onDraw' not viable: 'this' argument has type 'const android::Layer', but function is not marked const
onDraw(hw, Region(hw->bounds()), useIdentityTransform);
^~~~~~
frameworks/native/services/surfaceflinger/Layer.h:205:18: note: 'onDraw' declared here
virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip,
^
frameworks/native/services/surfaceflinger/Layer.cpp:495:13: error: out-of-line definition of 'draw' does not match any declaration in 'android::Layer'
void Layer::draw(const sp<const DisplayDevice>& hw) const {
^~~~
frameworks/native/services/surfaceflinger/Layer.h:245:10: note: member declaration does not match because it is not const qualified
void draw(const sp<const DisplayDevice>& hw);
^ ~
frameworks/native/services/surfaceflinger/Layer.cpp:496:5: error: member function 'onDraw' not viable: 'this' argument has type 'const android::Layer', but function is not marked const
onDraw(hw, Region(hw->bounds()), false);
^~~~~~
frameworks/native/services/surfaceflinger/Layer.h:205:18: note: 'onDraw' declared here
virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip,
^
frameworks/native/services/surfaceflinger/Layer.cpp:498:13: error: out-of-line definition of 'onDraw' does not match any declaration in 'android::Layer'
void Layer::onDraw(const sp<const DisplayDevice>& hw, const Region& clip,
^~~~~~
frameworks/native/services/surfaceflinger/Layer.h:205:18: note: member declaration does not match because it is not const qualified
virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip,
^
frameworks/native/services/surfaceflinger/Layer.cpp:1136:13: error: out-of-line definition of 'updateTransformHint' does not match any declaration in 'android::Layer'
void Layer::updateTransformHint(const sp<const DisplayDevice>& hw) const {
^~~~~~~~~~~~~~~~~~~
frameworks/native/services/surfaceflinger/Layer.h:292:10: note: member declaration does not match because it is not const qualified
void updateTransformHint(const sp<const DisplayDevice>& hw);
^ ~
5 warnings and 8 errors generated.
build/core/binary.mk:619: recipe for target '/home/soulpower11/android/system/out/target/product/jlo/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/Layer.o' failed
make: *** [/home/soulpower11/android/system/out/target/product/jlo/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/Layer.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from frameworks/native/services/surfaceflinger/LayerDim.cpp:29:
frameworks/native/services/surfaceflinger/RenderEngine/RenderEngine.h:113:43: warning: unused parameter 'x' [-Wunused-parameter]
virtual void startTileComposition(int x, int y, int width,
^
frameworks/native/services/surfaceflinger/RenderEngine/RenderEngine.h:113:50: warning: unused parameter 'y' [-Wunused-parameter]
virtual void startTileComposition(int x, int y, int width,
^
frameworks/native/services/surfaceflinger/RenderEngine/RenderEngine.h:113:57: warning: unused parameter 'width' [-Wunused-parameter]
virtual void startTileComposition(int x, int y, int width,
^
frameworks/native/services/surfaceflinger/RenderEngine/RenderEngine.h:114:15: warning: unused parameter 'height' [-Wunused-parameter]
int height, bool preserve){}
^
frameworks/native/services/surfaceflinger/RenderEngine/RenderEngine.h:114:28: warning: unused parameter 'preserve' [-Wunused-parameter]
int height, bool preserve){}
^
5 warnings generated.
make: Leaving directory '/home/soulpower11/android/system'

#### make failed to build some targets (20:26 (mm:ss)) ####

Building CM12.1 using https://github.com/TamsuiCM11/local_manifest for Xperia J