Error Building PAC For Bacon - ONE Q&A, Help & Troubleshooting

Hello Devs ..
i m trying to build PAC for bacon ..
its my first try to build from sourve
i m having this problem while building
Code:
build/core/binary.mk:617: recipe for target '/root/pac-rom/out/target/product/bacon/obj/STATIC_LIBRARIES/third_party_libjingle_libpeerconnection_gyp_intermediates/third_party/libjingle/source/talk/media/webrtc/webrtcvideoengine.o' failed
In file included from external/chromium_org/third_party/libjingle/source/talk/media/webrtc/webrtcvideoengine2.cc:29:0:
external/chromium_org/third_party/libjingle/source/talk/media/webrtc/webrtcvideoengine2.h: In constructor 'cricket::WebRtcVideoChannel2::WebRtcVideoSendStream::WebRtcVideoSendStream(webrtc::Call*, const webrtc::VideoSendStream::Config&, const cricket::VideoOptions&, const cricket::VideoCodec&, const std::vector<webrtc::VideoStream>&, cricket::WebRtcVideoEncoderFactory2*)':
external/chromium_org/third_party/libjingle/source/talk/media/webrtc/webrtcvideoengine2.h:320:31: warning: 'cricket::WebRtcVideoChannel2::WebRtcVideoSendStream::parameters_' will be initialized after [-Wreorder]
VideoSendStreamParameters parameters_ GUARDED_BY(lock_);
^
external/chromium_org/third_party/libjingle/source/talk/media/webrtc/webrtcvideoengine2.h:316:39: warning: 'cricket::WebRtcVideoEncoderFactory2* const cricket::WebRtcVideoChannel2::WebRtcVideoSendStream::encoder_factory_' [-Wreorder]
WebRtcVideoEncoderFactory2* const encoder_factory_;
^
external/chromium_org/third_party/libjingle/source/talk/media/webrtc/webrtcvideoengine2.cc:1427:1: warning: when initialized here [-Wreorder]
WebRtcVideoChannel2::WebRtcVideoSendStream::WebRtcVideoSendStream(
^
In file included from external/chromium_org/third_party/libjingle/source/talk/media/webrtc/webrtcvideoengine2.cc:29:0:
external/chromium_org/third_party/libjingle/source/talk/media/webrtc/webrtcvideoengine2.h:322:20: warning: 'cricket::WebRtcVideoChannel2::WebRtcVideoSendStream::capturer_' will be initialized after [-Wreorder]
VideoCapturer* capturer_ GUARDED_BY(lock_);
^
external/chromium_org/third_party/libjingle/source/talk/media/webrtc/webrtcvideoengine2.h:319:30: warning: 'webrtc::VideoSendStream* cricket::WebRtcVideoChannel2::WebRtcVideoSendStream::stream_' [-Wreorder]
webrtc::VideoSendStream* stream_ GUARDED_BY(lock_);
^
external/chromium_org/third_party/libjingle/source/talk/media/webrtc/webrtcvideoengine2.cc:1427:1: warning: when initialized here [-Wreorder]
WebRtcVideoChannel2::WebRtcVideoSendStream::WebRtcVideoSendStream(
^
make: *** Waiting for unfinished jobs....

Related

[Q] can we install openjdk as building envirement

Ubuntu does not support sun-java6-jdk installation forever. So I only can install openjdk in my Ubuntu. Then I build Android with command "make -j4", but it failed. the Error information as below:
find: "drm/java": not found
find: "drm/java": not found
/bin/bash: prebuilt/linux-x86/sdl/bin/sdl-config: not found
/bin/bash: prebuilt/linux-x86/sdl/bin/sdl-config: not found
........
........
........
external/qemu/elff/elf_alloc.h: In static member function ‘static void* DwarfAllocBase:perator new(size_t)’:
external/qemu/elff/elf_alloc.h:156: warning: ‘operator new’ must not return NULL unless it is declared ‘throw()’ (or -fcheck-new is in effect)
host C++: emulator-elff <= external/qemu/elff/elf_file.cc
In file included from external/qemu/elff/dwarf_die.h:21,
from external/qemu/elff/elf_file.h:20,
from external/qemu/elff/elf_file.cc:18:
external/qemu/elff/elf_alloc.h: In static member function ‘static void* DwarfAllocBase:perator new(size_t)’:
external/qemu/elff/elf_alloc.h:156: warning: ‘operator new’ must not return NULL unless it is declared ‘throw()’ (or -fcheck-new is in effect)
host C++: emulator-elff <= external/qemu/elff/elf_mapped_section.cc
make: *** no rules to creat “out/host/linux-x86/obj/EXECUTABLES/emulator_intermediates/emulator”

[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] exynos4 recipe for target failed, help?

Hello everybody , i was building hazy rom for i9305 while i got this error (tried twice )
Code:
p
target thumb C++: hwcomposer.exynos4 <= hardware/samsung/exynos4/hal/libhwcomposer/SecHWCLog.cpp
hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp: In function 'int gralloc_alloc_buffer(alloc_device_t*, size_t, int, const native_handle_t**, int, int, int, int, int, int)':
hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp:182:21: error: 'GRALLOC_USAGE_HW_ION' was not declared in this scope
hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp:182:53: error: 'GRALLOC_USAGE_HW_FIMC1' was not declared in this scope
hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp:227:27: error: 'GRALLOC_USAGE_HW_ION' was not declared in this scope
hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp:227:59: error: 'GRALLOC_USAGE_HW_FIMC1' was not declared in this scope
hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp: In function 'int alloc_device_alloc(alloc_device_t*, int, int, int, int, const native_handle_t**, int*)':
hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp:393:25: error: 'GRALLOC_USAGE_HW_ION' was not declared in this scope
hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp:393:57: error: 'GRALLOC_USAGE_HW_FIMC1' was not declared in this scope
hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp:420:14: error: 'HAL_PIXEL_FORMAT_RGBA_5551' was not declared in this scope
hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp:421:14: error: 'HAL_PIXEL_FORMAT_RGBA_4444' was not declared in this scope
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp: In function 'int gralloc_lock(const gralloc_module_t*, buffer_handle_t, int, int, int, int, int, void**)':
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:390:17: error: 'GRALLOC_USAGE_YUV_ADDR' was not declared in this scope
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp: At global scope:
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:481:1: error: 'gralloc_module_t' has no non-static data member named 'getphys'
build/core/binary.mk:432: recipe for target '/home/n0aaz/hazy/out/target/product/i9305/obj/SHARED_LIBRARIES/gralloc.exynos4_intermediates/gralloc_module.o' failed
make: *** [/home/n0aaz/hazy/out/target/product/i9305/obj/SHARED_LIBRARIES/gralloc.exynos4_intermediates/gralloc_module.o] Error 1
make: *** Attente des tâches non terminées....
build/core/binary.mk:432: recipe for target '/home/n0aaz/hazy/out/target/product/i9305/obj/SHARED_LIBRARIES/gralloc.exynos4_intermediates/alloc_device.o' failed
make: *** [/home/n0aaz/hazy/out/target/product/i9305/obj/SHARED_LIBRARIES/gralloc.exynos4_intermediates/alloc_device.o] Error 1
target thumb C++: hwcomposer.exynos4 <= hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.cpp
In file included from hardware/samsung/exynos4/hal/libhwcomposer/SecHWCLog.cpp:28:0:
hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.h:83:0: warning: "V4L2_CID_CACHEABLE" redefined [enabled by default]
In file included from hardware/samsung/exynos4/hal/include/sec_utils.h:33:0,
from hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.h:40,
from hardware/samsung/exynos4/hal/libhwcomposer/SecHWCLog.cpp:28:
hardware/samsung/exynos4/hal/include/videodev2_exynos_media.h:65:0: note: this is the location of the previous definition
In file included from hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.cpp:27:0:
hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.h:83:0: warning: "V4L2_CID_CACHEABLE" redefined [enabled by default]
In file included from hardware/samsung/exynos4/hal/include/sec_utils.h:33:0,
from hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.h:40,
from hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.cpp:27:
hardware/samsung/exynos4/hal/include/videodev2_exynos_media.h:65:0: note: this is the location of the previous definition
In file included from hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.h:40:0,
from hardware/samsung/exynos4/hal/libhwcomposer/SecHWCLog.cpp:28:
hardware/samsung/exynos4/hal/include/sec_utils.h: In function 'int HAL_PIXEL_FORMAT_2_V4L2_PIX(int)':
hardware/samsung/exynos4/hal/include/sec_utils.h:74:10: error: 'HAL_PIXEL_FORMAT_RGBA_5551' was not declared in this scope
hardware/samsung/exynos4/hal/include/sec_utils.h:78:10: error: 'HAL_PIXEL_FORMAT_RGBA_4444' was not declared in this scope
hardware/samsung/exynos4/hal/include/sec_utils.h: In function 'int V4L2_PIX_2_HAL_PIXEL_FORMAT(int)':
hardware/samsung/exynos4/hal/include/sec_utils.h:164:28: error: 'HAL_PIXEL_FORMAT_RGBA_5551' was not declared in this scope
hardware/samsung/exynos4/hal/include/sec_utils.h:168:28: error: 'HAL_PIXEL_FORMAT_RGBA_4444' was not declared in this scope
hardware/samsung/exynos4/hal/include/sec_utils.h: In function 'unsigned int FRAME_SIZE(int, int, int)':
hardware/samsung/exynos4/hal/include/sec_utils.h:240:10: error: 'HAL_PIXEL_FORMAT_RGBA_5551' was not declared in this scope
hardware/samsung/exynos4/hal/include/sec_utils.h:241:10: error: 'HAL_PIXEL_FORMAT_RGBA_4444' was not declared in this scope
In file included from hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.h:40:0,
from hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.cpp:27:
hardware/samsung/exynos4/hal/include/sec_utils.h: In function 'int HAL_PIXEL_FORMAT_2_V4L2_PIX(int)':
hardware/samsung/exynos4/hal/include/sec_utils.h:74:10: error: 'HAL_PIXEL_FORMAT_RGBA_5551' was not declared in this scope
hardware/samsung/exynos4/hal/include/sec_utils.h:78:10: error: 'HAL_PIXEL_FORMAT_RGBA_4444' was not declared in this scope
hardware/samsung/exynos4/hal/include/sec_utils.h: In function 'int V4L2_PIX_2_HAL_PIXEL_FORMAT(int)':
hardware/samsung/exynos4/hal/include/sec_utils.h:164:28: error: 'HAL_PIXEL_FORMAT_RGBA_5551' was not declared in this scope
hardware/samsung/exynos4/hal/include/sec_utils.h:168:28: error: 'HAL_PIXEL_FORMAT_RGBA_4444' was not declared in this scope
hardware/samsung/exynos4/hal/include/sec_utils.h: In function 'unsigned int FRAME_SIZE(int, int, int)':
hardware/samsung/exynos4/hal/include/sec_utils.h:240:10: error: 'HAL_PIXEL_FORMAT_RGBA_5551' was not declared in this scope
hardware/samsung/exynos4/hal/include/sec_utils.h:241:10: error: 'HAL_PIXEL_FORMAT_RGBA_4444' was not declared in this scope
build/core/binary.mk:432: recipe for target '/home/n0aaz/hazy/out/target/product/i9305/obj/SHARED_LIBRARIES/hwcomposer.exynos4_intermediates/SecHWCLog.o' failed
make: *** [/home/n0aaz/hazy/out/target/product/i9305/obj/SHARED_LIBRARIES/hwcomposer.exynos4_intermediates/SecHWCLog.o] Error 1
hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.cpp: In function 'int get_src_phys_addr(hwc_context_t*, sec_img*, sec_rect*)':
hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.cpp:662:50: error: 'GRALLOC_USAGE_HW_FIMC1' was not declared in this scope
hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.cpp:709:34: error: 'GRALLOC_USAGE_HW_FIMC1' was not declared in this scope
hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.cpp: In function 'int runFimcCore(hwc_context_t*, unsigned int, sec_img*, sec_rect*, uint32_t, unsigned int, sec_img*, sec_rect*, uint32_t, int)':
hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.cpp:1109:30: error: 'GRALLOC_USAGE_HW_FIMC1' was not declared in this scope
build/core/binary.mk:432: recipe for target '/home/n0aaz/hazy/out/target/product/i9305/obj/SHARED_LIBRARIES/hwcomposer.exynos4_intermediates/SecHWCUtils.o' failed
make: *** [/home/n0aaz/hazy/out/target/product/i9305/obj/SHARED_LIBRARIES/hwcomposer.exynos4_intermediates/SecHWCUtils.o] Error 1
make: *** wait: Aucun processus enfant. Arrêt.
[email protected]:~/hazy$
I searched everywhere i could but nothing , help here?
aaz03 said:
Hello everybody , i was building hazy rom for i9305 while i got this error (tried twice )
Code:
p
target thumb C++: hwcomposer.exynos4 <= hardware/samsung/exynos4/hal/libhwcomposer/SecHWCLog.cpp
hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp: In function 'int gralloc_alloc_buffer(alloc_device_t*, size_t, int, const native_handle_t**, int, int, int, int, int, int)':
hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp:182:21: error: 'GRALLOC_USAGE_HW_ION' was not declared in this scope
hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp:182:53: error: 'GRALLOC_USAGE_HW_FIMC1' was not declared in this scope
hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp:227:27: error: 'GRALLOC_USAGE_HW_ION' was not declared in this scope
hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp:227:59: error: 'GRALLOC_USAGE_HW_FIMC1' was not declared in this scope
hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp: In function 'int alloc_device_alloc(alloc_device_t*, int, int, int, int, const native_handle_t**, int*)':
hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp:393:25: error: 'GRALLOC_USAGE_HW_ION' was not declared in this scope
hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp:393:57: error: 'GRALLOC_USAGE_HW_FIMC1' was not declared in this scope
hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp:420:14: error: 'HAL_PIXEL_FORMAT_RGBA_5551' was not declared in this scope
hardware/samsung/exynos4/hal/libgralloc_ump/alloc_device.cpp:421:14: error: 'HAL_PIXEL_FORMAT_RGBA_4444' was not declared in this scope
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp: In function 'int gralloc_lock(const gralloc_module_t*, buffer_handle_t, int, int, int, int, int, void**)':
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:390:17: error: 'GRALLOC_USAGE_YUV_ADDR' was not declared in this scope
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp: At global scope:
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:481:1: error: 'gralloc_module_t' has no non-static data member named 'getphys'
build/core/binary.mk:432: recipe for target '/home/n0aaz/hazy/out/target/product/i9305/obj/SHARED_LIBRARIES/gralloc.exynos4_intermediates/gralloc_module.o' failed
make: *** [/home/n0aaz/hazy/out/target/product/i9305/obj/SHARED_LIBRARIES/gralloc.exynos4_intermediates/gralloc_module.o] Error 1
make: *** Attente des tâches non terminées....
build/core/binary.mk:432: recipe for target '/home/n0aaz/hazy/out/target/product/i9305/obj/SHARED_LIBRARIES/gralloc.exynos4_intermediates/alloc_device.o' failed
make: *** [/home/n0aaz/hazy/out/target/product/i9305/obj/SHARED_LIBRARIES/gralloc.exynos4_intermediates/alloc_device.o] Error 1
target thumb C++: hwcomposer.exynos4 <= hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.cpp
In file included from hardware/samsung/exynos4/hal/libhwcomposer/SecHWCLog.cpp:28:0:
hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.h:83:0: warning: "V4L2_CID_CACHEABLE" redefined [enabled by default]
In file included from hardware/samsung/exynos4/hal/include/sec_utils.h:33:0,
from hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.h:40,
from hardware/samsung/exynos4/hal/libhwcomposer/SecHWCLog.cpp:28:
hardware/samsung/exynos4/hal/include/videodev2_exynos_media.h:65:0: note: this is the location of the previous definition
In file included from hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.cpp:27:0:
hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.h:83:0: warning: "V4L2_CID_CACHEABLE" redefined [enabled by default]
In file included from hardware/samsung/exynos4/hal/include/sec_utils.h:33:0,
from hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.h:40,
from hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.cpp:27:
hardware/samsung/exynos4/hal/include/videodev2_exynos_media.h:65:0: note: this is the location of the previous definition
In file included from hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.h:40:0,
from hardware/samsung/exynos4/hal/libhwcomposer/SecHWCLog.cpp:28:
hardware/samsung/exynos4/hal/include/sec_utils.h: In function 'int HAL_PIXEL_FORMAT_2_V4L2_PIX(int)':
hardware/samsung/exynos4/hal/include/sec_utils.h:74:10: error: 'HAL_PIXEL_FORMAT_RGBA_5551' was not declared in this scope
hardware/samsung/exynos4/hal/include/sec_utils.h:78:10: error: 'HAL_PIXEL_FORMAT_RGBA_4444' was not declared in this scope
hardware/samsung/exynos4/hal/include/sec_utils.h: In function 'int V4L2_PIX_2_HAL_PIXEL_FORMAT(int)':
hardware/samsung/exynos4/hal/include/sec_utils.h:164:28: error: 'HAL_PIXEL_FORMAT_RGBA_5551' was not declared in this scope
hardware/samsung/exynos4/hal/include/sec_utils.h:168:28: error: 'HAL_PIXEL_FORMAT_RGBA_4444' was not declared in this scope
hardware/samsung/exynos4/hal/include/sec_utils.h: In function 'unsigned int FRAME_SIZE(int, int, int)':
hardware/samsung/exynos4/hal/include/sec_utils.h:240:10: error: 'HAL_PIXEL_FORMAT_RGBA_5551' was not declared in this scope
hardware/samsung/exynos4/hal/include/sec_utils.h:241:10: error: 'HAL_PIXEL_FORMAT_RGBA_4444' was not declared in this scope
In file included from hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.h:40:0,
from hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.cpp:27:
hardware/samsung/exynos4/hal/include/sec_utils.h: In function 'int HAL_PIXEL_FORMAT_2_V4L2_PIX(int)':
hardware/samsung/exynos4/hal/include/sec_utils.h:74:10: error: 'HAL_PIXEL_FORMAT_RGBA_5551' was not declared in this scope
hardware/samsung/exynos4/hal/include/sec_utils.h:78:10: error: 'HAL_PIXEL_FORMAT_RGBA_4444' was not declared in this scope
hardware/samsung/exynos4/hal/include/sec_utils.h: In function 'int V4L2_PIX_2_HAL_PIXEL_FORMAT(int)':
hardware/samsung/exynos4/hal/include/sec_utils.h:164:28: error: 'HAL_PIXEL_FORMAT_RGBA_5551' was not declared in this scope
hardware/samsung/exynos4/hal/include/sec_utils.h:168:28: error: 'HAL_PIXEL_FORMAT_RGBA_4444' was not declared in this scope
hardware/samsung/exynos4/hal/include/sec_utils.h: In function 'unsigned int FRAME_SIZE(int, int, int)':
hardware/samsung/exynos4/hal/include/sec_utils.h:240:10: error: 'HAL_PIXEL_FORMAT_RGBA_5551' was not declared in this scope
hardware/samsung/exynos4/hal/include/sec_utils.h:241:10: error: 'HAL_PIXEL_FORMAT_RGBA_4444' was not declared in this scope
build/core/binary.mk:432: recipe for target '/home/n0aaz/hazy/out/target/product/i9305/obj/SHARED_LIBRARIES/hwcomposer.exynos4_intermediates/SecHWCLog.o' failed
make: *** [/home/n0aaz/hazy/out/target/product/i9305/obj/SHARED_LIBRARIES/hwcomposer.exynos4_intermediates/SecHWCLog.o] Error 1
hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.cpp: In function 'int get_src_phys_addr(hwc_context_t*, sec_img*, sec_rect*)':
hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.cpp:662:50: error: 'GRALLOC_USAGE_HW_FIMC1' was not declared in this scope
hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.cpp:709:34: error: 'GRALLOC_USAGE_HW_FIMC1' was not declared in this scope
hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.cpp: In function 'int runFimcCore(hwc_context_t*, unsigned int, sec_img*, sec_rect*, uint32_t, unsigned int, sec_img*, sec_rect*, uint32_t, int)':
hardware/samsung/exynos4/hal/libhwcomposer/SecHWCUtils.cpp:1109:30: error: 'GRALLOC_USAGE_HW_FIMC1' was not declared in this scope
build/core/binary.mk:432: recipe for target '/home/n0aaz/hazy/out/target/product/i9305/obj/SHARED_LIBRARIES/hwcomposer.exynos4_intermediates/SecHWCUtils.o' failed
make: *** [/home/n0aaz/hazy/out/target/product/i9305/obj/SHARED_LIBRARIES/hwcomposer.exynos4_intermediates/SecHWCUtils.o] Error 1
make: *** wait: Aucun processus enfant. Arrêt.
[email protected]:~/hazy$
I searched everywhere i could but nothing , help here?
Click to expand...
Click to collapse
Add this to your Gralloc.h
https://gitorious.org/replicant/hardware_libhardware/commit/9e6eced5fabc37b650970ae8b97bef538155719f

[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?

Error while compiling Kernel from source (Mediatek)

So I was compiling kernel for my Meizu m2 note and I encountered this error :
Code:
In file included from /home/suvam/RRMM/kernel/meizu/m2note/arch/arm64/include/asm/io.h:243:0,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/clocksource.h:19,
from /home/suvam/RRMM/kernel/meizu/m2note/include/clocksource/arm_arch_timer.h:19,
from /home/suvam/RRMM/kernel/meizu/m2note/arch/arm64/include/asm/arch_timer.h:27,
from /home/suvam/RRMM/kernel/meizu/m2note/arch/arm64/include/asm/timex.h:19,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/timex.h:65,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/jiffies.h:8,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/ktime.h:25,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/timer.h:5,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/workqueue.h:8,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/pm.h:25,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/device.h:25,
from drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c:11:
/home/suvam/RRMM/kernel/meizu/m2note/include/asm-generic/iomap.h:31:21: note: expected 'void *' but argument is of type 'long unsigned int'
extern unsigned int ioread32(void __iomem *);
^
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c:99:26: warning: passing argument 1 of 'ioread32' makes pointer from integer without a cast
#define ISP_RD32(addr) ioread32(addr)
^
/home/suvam/RRMM/kernel/meizu/m2note/include/linux/printk.h:248:38: note: in expansion of macro 'ISP_RD32'
no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
^
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c:87:37: note: in expansion of macro 'pr_debug'
#define LOG_DBG(format, args...) pr_debug(MyTag format, ##args)
^
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c:10828:3: note: in expansion of macro 'LOG_DBG'
LOG_DBG("0x%08X %08X", (unsigned int)(ISP_TPIPE_ADDR + 0x00a8), (unsigned int)ISP_RD32(ISP_ADDR + 0x00a8));
^
In file included from /home/suvam/RRMM/kernel/meizu/m2note/arch/arm64/include/asm/io.h:243:0,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/clocksource.h:19,
from /home/suvam/RRMM/kernel/meizu/m2note/include/clocksource/arm_arch_timer.h:19,
from /home/suvam/RRMM/kernel/meizu/m2note/arch/arm64/include/asm/arch_timer.h:27,
from /home/suvam/RRMM/kernel/meizu/m2note/arch/arm64/include/asm/timex.h:19,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/timex.h:65,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/jiffies.h:8,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/ktime.h:25,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/timer.h:5,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/workqueue.h:8,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/pm.h:25,
from /home/suvam/RRMM/kernel/meizu/m2note/include/linux/device.h:25,
from drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c:11:
/home/suvam/RRMM/kernel/meizu/m2note/include/asm-generic/iomap.h:31:21: note: expected 'void *' but argument is of type 'long unsigned int'
extern unsigned int ioread32(void __iomem *);
^
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c: At top level:
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c:175:22: warning: 'g_isp_base_dase' defined but not used [-Wunused-variable]
static void __iomem *g_isp_base_dase;
^
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c:176:22: warning: 'g_isp_inner_base_dase' defined but not used [-Wunused-variable]
static void __iomem *g_isp_inner_base_dase;
^
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c:177:22: warning: 'g_imgsys_config_base_dase' defined but not used [-Wunused-variable]
static void __iomem *g_imgsys_config_base_dase;
^
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c: In function 'compat_put_isp_read_register_data':
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c:8407:6: warning: 'err' is used uninitialized in this function [-Wuninitialized]
err |= get_user(count, &data->Count);
^
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c: In function 'ISP_DONE_Buf_Time.isra.4':
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c:5522:49: warning: 'out' may be used uninitialized in this function [-Wmaybe-uninitialized]
pstRTBuf->ring_buf[i_dma].img_cnt = sof_count[out];
^
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c: In function 'ISP_Buf_CTRL_FUNC':
drivers/misc/mediatek/mach/mt6735/camera_isp_D1.c:4447:34: warning: 'out' may be used uninitialized in this function [-Wmaybe-uninitialized]
deque_buf.sof_cnt = sof_count[out];
^
LD drivers/misc/mediatek/mach/mt6735/built-in.o
LD drivers/misc/mediatek/mach/built-in.o
make[4]: *** [drivers/misc/mediatek] Error 2
make[3]: *** [drivers/misc] Error 2
make[2]: *** [drivers] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/suvam/RRMM/kernel/meizu/m2note'
make: *** [TARGET_KERNEL_BINARIES] Error 2
#### make failed to build some targets (09:32 (mm:ss)) ####
Can somebody please help me out ?

Categories

Resources