[ROM][5.1.1][UNOFFICIAL]CM 12.1 -LMY47B- WiFi(6/17) ONLY - Nexus 9 Android Development

You are looking at Cyanogen's latest for June 17, 2015 Unofficial build of Nexus 9(Flounder) WIFI support.
If I am not mistaken, the lte .zip should work on a wifi only n9. ***Not confirmed. ***
It's UNOFFICIAL, KNOW IT. Experimental. As-IS. Read: "I am liable to myself."
Things you should know:
-My first build. Its untested. Successful build
-BACKUP
-You should probably have bootloader unlocked
-Have the latest bootloader and vendor from stock factory images(use fastboot)
-DID I MENTION IT IS EXPERIMENTAL?
WARNING : You should be aware that encryption is live straight after the flash.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=12.1-20150617-UNOFFICIAL-flounder
TARGET_PRODUCT=cm_flounder
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=denver64
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=denver
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-40-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=LMY48B
OUT_DIR=/home/soilandwater/android/system/out
============================================
If the LTE version does not work for WiFi edition: WIFI ONLY
cm-12.1-20150617-UNOFFICIAL-flounder.zip
Gapps can be had here
Credit:
CM Team
SimonSickle and HCDRJacob
Hima-Dev
cdesai
bynarie

Hy!
Is it a clean merge from the cm github?
The boot img is official or made by someone else?
Did anyone try the ROM?
Is WiFi edition usable as daily drive?
Anyway, thanks in advance!

Pulled straight from CM but latest unofficial 12.1 code made the build crash. So a few lines were added inside an include file to get the successful build to complete.
Boot image was generated from the build above and then edited to disable forced encryption.
You can try it, I'm sure it can be a great daily. Make sure you backup your stuff as always.

this was the issue I was facing while trying to build:
Thus the addition into arch/arm64/include/uapi/asm/sigcontext.h for the kernel: Config for 64Bit
Code:
[32mtarget StaticLib:[0m libdrmutility_32 (/home/soilandwater/android/system/out/target/product/flounder/obj_arm/STATIC_LIBRARIES/libdrmutility_intermediates/libdrmutility.a)
[32mtarget StaticLib:[0m libfwdlock-common_32 (/home/soilandwater/android/system/out/target/product/flounder/obj_arm/STATIC_LIBRARIES/libfwdlock-common_intermediates/libfwdlock-common.a)
[32mtarget StaticLib:[0m libfwdlock-converter_32 (/home/soilandwater/android/system/out/target/product/flounder/obj_arm/STATIC_LIBRARIES/libfwdlock-converter_intermediates/libfwdlock-converter.a)
[32mtarget arm C:[0m audio.primary.flounder_32 <= device/htc/flounder/audio/hal/audio_hw.c
[32mtarget StaticLib:[0m libfwdlock-decoder_32 (/home/soilandwater/android/system/out/target/product/flounder/obj_arm/STATIC_LIBRARIES/libfwdlock-decoder_intermediates/libfwdlock-decoder.a)
[32mtarget thumb C:[0m libaudioroute_32 <= system/media/audio_route/audio_route.c
[32mtarget thumb C:[0m libtinycompress_32 <= external/tinycompress/compress.c
[32mtarget thumb C:[0m libtinycompress_32 <= external/tinycompress/utils.c
[32mtarget thumb C++:[0m audio_policy.default_32 <= hardware/libhardware_legacy/audio/AudioPolicyManagerDefault.cpp
[32mtarget StaticLib:[0m libaudiopolicy_legacy_32 (/home/soilandwater/android/system/out/target/product/flounder/obj_arm/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/libaudiopolicy_legacy.a)
[32mtarget thumb C++:[0m keystore.default_32 <= system/security/softkeymaster/module.cpp
In file included from bionic/libc/include/sys/ucontext.h:63:0,
from bionic/libc/include/signal.h:53,
from bionic/libc/include/sys/select.h:35,
from bionic/libc/include/unistd.h:34,
from bionic/libc/include/fcntl.h:37,
from external/tinycompress/compress.c:57:
out/target/product/flounder/obj/KERNEL_OBJ/usr/include/asm/sigcontext.h:53:2: error: unknown type name '__uint128_t'
__uint128_t vregs[32];
^
make: *** [/home/soilandwater/android/system/out/target/product/flounder/obj_arm/SHARED_LIBRARIES/libtinycompress_intermediates/compress.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/FwdLockEngine.h:20:0,
from frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:18:
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:400:22: warning: unused parameter 'uniqueId' [-Wunused-parameter]
virtual status_t onOpenDecryptSession(
^
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:400:22: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:400:22: warning: unused parameter 'fd' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:400:22: warning: unused parameter 'offset' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:400:22: warning: unused parameter 'length' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:400:22: warning: unused parameter 'mime' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:432:22: warning: unused parameter 'uniqueId' [-Wunused-parameter]
virtual status_t onOpenDecryptSession(
^
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:432:22: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:432:22: warning: unused parameter 'uri' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:432:22: warning: unused parameter 'mime' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:449:22: warning: unused parameter 'uniqueId' [-Wunused-parameter]
virtual status_t onOpenDecryptSession(int uniqueId, DecryptHandle* decryptHandle,
^
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:449:22: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:449:22: warning: unused parameter 'buf' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:449:22: warning: unused parameter 'mimeType' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:122:14: warning: unused parameter 'uniqueId' [-Wunused-parameter]
DrmMetadata* FwdLockEngine::onGetMetadata(int uniqueId, const String8* path) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:135:19: warning: unused parameter 'uniqueId' [-Wunused-parameter]
android::status_t FwdLockEngine::onInitialize(int uniqueId) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:149:1: warning: unused parameter 'uniqueId' [-Wunused-parameter]
FwdLockEngine::onSetOnInfoListener(int uniqueId, const IDrmEngine::eek:nInfoListener* infoListener) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:149:1: warning: unused parameter 'infoListener' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:156:19: warning: unused parameter 'uniqueId' [-Wunused-parameter]
android::status_t FwdLockEngine::onTerminate(int uniqueId) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:210:17: warning: unused parameter 'uniqueId' [-Wunused-parameter]
DrmSupportInfo* FwdLockEngine::onGetSupportInfo(int uniqueId) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:225:6: warning: unused parameter 'uniqueId' [-Wunused-parameter]
bool FwdLockEngine::onCanHandle(int uniqueId, const String8& path) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:232:16: warning: unused parameter 'uniqueId' [-Wunused-parameter]
DrmInfoStatus* FwdLockEngine::onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:232:16: warning: unused parameter 'drmInfo' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:244:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onSaveRights(
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:244:10: warning: unused parameter 'drmRights' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:244:10: warning: unused parameter 'rightsPath' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:244:10: warning: unused parameter 'contentPath' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:254:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
DrmInfo* FwdLockEngine::onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:254:10: warning: unused parameter 'drmInfoRequest' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:293:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onConsumeRights(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:293:10: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:293:10: warning: unused parameter 'action' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:293:10: warning: unused parameter 'reserve' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:302:6: warning: unused parameter 'description' [-Wunused-parameter]
bool FwdLockEngine::onValidateAction(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:312:9: warning: unused parameter 'uniqueId' [-Wunused-parameter]
String8 FwdLockEngine::onGetOriginalMimeType(int uniqueId, const String8& path, int fd) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:312:9: warning: unused parameter 'path' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:357:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onRemoveRights(int uniqueId, const String8& path) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:357:10: warning: unused parameter 'path' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:363:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onRemoveAllRights(int uniqueId) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:370:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:370:10: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:370:10: warning: unused parameter 'playbackStatus' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:370:10: warning: unused parameter 'position' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:381:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onOpenConvertSession(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:399:21: warning: unused parameter 'uniqueId' [-Wunused-parameter]
DrmConvertedStatus* FwdLockEngine::onConvertData(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:435:21: warning: unused parameter 'uniqueId' [-Wunused-parameter]
DrmConvertedStatus* FwdLockEngine::onCloseConvertSession(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:467:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onOpenDecryptSession(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:467:10: warning: unused parameter 'length' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:555:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onCloseDecryptSession(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:587:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onInitializeDecryptUnit(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:587:10: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:587:10: warning: unused parameter 'decryptUnitId' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:587:10: warning: unused parameter 'headerInfo' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:595:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onDecrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:595:10: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:595:10: warning: unused parameter 'decryptUnitId' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:595:10: warning: unused parameter 'encBuffer' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:595:10: warning: unused parameter 'decBuffer' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:595:10: warning: unused parameter 'IV' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:601:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onDecrypt(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:601:10: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:601:10: warning: unused parameter 'decryptUnitId' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:601:10: warning: unused parameter 'encBuffer' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:601:10: warning: unused parameter 'decBuffer' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:610:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onFinalizeDecryptUnit(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:610:10: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:610:10: warning: unused parameter 'decryptUnitId' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:617:9: warning: unused parameter 'uniqueId' [-Wunused-parameter]
ssize_t FwdLockEngine::onRead(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:643:9: warning: unused parameter 'uniqueId' [-Wunused-parameter]
off64_t FwdLockEngine::onLseek(int uniqueId, DecryptHandle* decryptHandle,
^
device/htc/flounder/audio/hal/audio_hw.c: In function 'get_capture_reference_delay':
device/htc/flounder/audio/hal/audio_hw.c:901:38: warning: unused parameter 'frames' [-Wunused-parameter]
size_t frames,
^
device/htc/flounder/audio/hal/audio_hw.c: In function 'get_capture_delay':
device/htc/flounder/audio/hal/audio_hw.c:941:38: warning: unused parameter 'frames' [-Wunused-parameter]
size_t frames,
^
device/htc/flounder/audio/hal/audio_hw.c: In function 'adev_open':
device/htc/flounder/audio/hal/audio_hw.c:4464:46: warning: assignment from incompatible pointer type [enabled by default]
adev->sound_trigger_read_samples =
^
device/htc/flounder/audio/hal/audio_hw.c: In function 'dummybuf_thread':
device/htc/flounder/audio/hal/audio_hw.c:4300:40: warning: 'ctl' may be used uninitialized in this function [-Wmaybe-uninitialized]
mixer_ctl_set_value(ctl, 0, 0);
^

Great!
Everything is working out of the box. LTE working perfect. But no GPS. The problem was on cm12 and still excists on 12.1. Only problem I had was restoring my apps with titanium backup. Common problem. Found no other solution than restoring apps through playstore. Thanks for the great build!

vogemic said:
Everything is working out of the box. LTE working perfect. But no GPS. The problem was on cm12 and still excists on 12.1. Only problem I had was restoring my apps with titanium backup. Common problem. Found no other solution than restoring apps through playstore. Thanks for the great build!
Click to expand...
Click to collapse
settings/apps/preferred instsll loction/internal device storage

vogemic said:
Everything is working out of the box. LTE working perfect. But no GPS. The problem was on cm12 and still excists on 12.1. Only problem I had was restoring my apps with titanium backup. Common problem. Found no other solution than restoring apps through playstore. Thanks for the great build!
Click to expand...
Click to collapse
No problem.

dcrin3 said:
You are looking at Cyanogen's latest April 14, 2015 Unofficial build of Nexus 9(Flounder) w/ LTE support.
If I am not mistaken, the lte version should work seamlessly with the wifi version.
It's UNOFFICIAL, KNOW IT. Experimental. As-IS. Read: "I am liable to myself."
Things you should know:
-My first build. Its untested. Successful build
-BACKUP
-You should probably have bootloader unlocked
WARNING : You should be aware that encryption is live straight after the flash.
You can download it here:
cm-12.1-20150414-UNOFFICIAL-flounder_lte
If the LTE version does not work for WiFi edition:
cm-12.1-20150414-UNOFFICIAL-flounder
Gapps can be had here
You can download -NonEncrypt- newBoot here:
newBoot.img
Credit:
CM Team
cdesai
bynarie
I'll add more information here
Click to expand...
Click to collapse
Thanks for adding me into your credits =]. I would also include a credit to SimonSickle and HCDRJacob for the github repos. Just the normal things to do when posting roms.

vogemic said:
Everything is working out of the box. LTE working perfect. But no GPS. The problem was on cm12 and still excists on 12.1. Only problem I had was restoring my apps with titanium backup. Common problem. Found no other solution than restoring apps through playstore. Thanks for the great build!
Click to expand...
Click to collapse
I really hope they fix GPS, it's a rather basic feature.

dcrin3 said:
this was the issue I was facing while trying to build:
Thus the addition into arch/arm64/include/uapi/asm/sigcontext.h for the kernel: Config for 64Bit
Code:
[32mtarget StaticLib:[0m libdrmutility_32 (/home/soilandwater/android/system/out/target/product/flounder/obj_arm/STATIC_LIBRARIES/libdrmutility_intermediates/libdrmutility.a)
[32mtarget StaticLib:[0m libfwdlock-common_32 (/home/soilandwater/android/system/out/target/product/flounder/obj_arm/STATIC_LIBRARIES/libfwdlock-common_intermediates/libfwdlock-common.a)
[32mtarget StaticLib:[0m libfwdlock-converter_32 (/home/soilandwater/android/system/out/target/product/flounder/obj_arm/STATIC_LIBRARIES/libfwdlock-converter_intermediates/libfwdlock-converter.a)
[32mtarget arm C:[0m audio.primary.flounder_32 <= device/htc/flounder/audio/hal/audio_hw.c
[32mtarget StaticLib:[0m libfwdlock-decoder_32 (/home/soilandwater/android/system/out/target/product/flounder/obj_arm/STATIC_LIBRARIES/libfwdlock-decoder_intermediates/libfwdlock-decoder.a)
[32mtarget thumb C:[0m libaudioroute_32 <= system/media/audio_route/audio_route.c
[32mtarget thumb C:[0m libtinycompress_32 <= external/tinycompress/compress.c
[32mtarget thumb C:[0m libtinycompress_32 <= external/tinycompress/utils.c
[32mtarget thumb C++:[0m audio_policy.default_32 <= hardware/libhardware_legacy/audio/AudioPolicyManagerDefault.cpp
[32mtarget StaticLib:[0m libaudiopolicy_legacy_32 (/home/soilandwater/android/system/out/target/product/flounder/obj_arm/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/libaudiopolicy_legacy.a)
[32mtarget thumb C++:[0m keystore.default_32 <= system/security/softkeymaster/module.cpp
In file included from bionic/libc/include/sys/ucontext.h:63:0,
from bionic/libc/include/signal.h:53,
from bionic/libc/include/sys/select.h:35,
from bionic/libc/include/unistd.h:34,
from bionic/libc/include/fcntl.h:37,
from external/tinycompress/compress.c:57:
out/target/product/flounder/obj/KERNEL_OBJ/usr/include/asm/sigcontext.h:53:2: error: unknown type name '__uint128_t'
__uint128_t vregs[32];
^
make: *** [/home/soilandwater/android/system/out/target/product/flounder/obj_arm/SHARED_LIBRARIES/libtinycompress_intermediates/compress.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/FwdLockEngine.h:20:0,
from frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:18:
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:400:22: warning: unused parameter 'uniqueId' [-Wunused-parameter]
virtual status_t onOpenDecryptSession(
^
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:400:22: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:400:22: warning: unused parameter 'fd' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:400:22: warning: unused parameter 'offset' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:400:22: warning: unused parameter 'length' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:400:22: warning: unused parameter 'mime' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:432:22: warning: unused parameter 'uniqueId' [-Wunused-parameter]
virtual status_t onOpenDecryptSession(
^
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:432:22: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:432:22: warning: unused parameter 'uri' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:432:22: warning: unused parameter 'mime' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:449:22: warning: unused parameter 'uniqueId' [-Wunused-parameter]
virtual status_t onOpenDecryptSession(int uniqueId, DecryptHandle* decryptHandle,
^
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:449:22: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:449:22: warning: unused parameter 'buf' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:449:22: warning: unused parameter 'mimeType' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:122:14: warning: unused parameter 'uniqueId' [-Wunused-parameter]
DrmMetadata* FwdLockEngine::onGetMetadata(int uniqueId, const String8* path) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:135:19: warning: unused parameter 'uniqueId' [-Wunused-parameter]
android::status_t FwdLockEngine::onInitialize(int uniqueId) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:149:1: warning: unused parameter 'uniqueId' [-Wunused-parameter]
FwdLockEngine::onSetOnInfoListener(int uniqueId, const IDrmEngine::eek:nInfoListener* infoListener) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:149:1: warning: unused parameter 'infoListener' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:156:19: warning: unused parameter 'uniqueId' [-Wunused-parameter]
android::status_t FwdLockEngine::onTerminate(int uniqueId) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:210:17: warning: unused parameter 'uniqueId' [-Wunused-parameter]
DrmSupportInfo* FwdLockEngine::onGetSupportInfo(int uniqueId) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:225:6: warning: unused parameter 'uniqueId' [-Wunused-parameter]
bool FwdLockEngine::onCanHandle(int uniqueId, const String8& path) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:232:16: warning: unused parameter 'uniqueId' [-Wunused-parameter]
DrmInfoStatus* FwdLockEngine::onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:232:16: warning: unused parameter 'drmInfo' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:244:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onSaveRights(
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:244:10: warning: unused parameter 'drmRights' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:244:10: warning: unused parameter 'rightsPath' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:244:10: warning: unused parameter 'contentPath' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:254:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
DrmInfo* FwdLockEngine::onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:254:10: warning: unused parameter 'drmInfoRequest' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:293:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onConsumeRights(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:293:10: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:293:10: warning: unused parameter 'action' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:293:10: warning: unused parameter 'reserve' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:302:6: warning: unused parameter 'description' [-Wunused-parameter]
bool FwdLockEngine::onValidateAction(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:312:9: warning: unused parameter 'uniqueId' [-Wunused-parameter]
String8 FwdLockEngine::onGetOriginalMimeType(int uniqueId, const String8& path, int fd) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:312:9: warning: unused parameter 'path' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:357:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onRemoveRights(int uniqueId, const String8& path) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:357:10: warning: unused parameter 'path' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:363:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onRemoveAllRights(int uniqueId) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:370:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:370:10: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:370:10: warning: unused parameter 'playbackStatus' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:370:10: warning: unused parameter 'position' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:381:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onOpenConvertSession(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:399:21: warning: unused parameter 'uniqueId' [-Wunused-parameter]
DrmConvertedStatus* FwdLockEngine::onConvertData(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:435:21: warning: unused parameter 'uniqueId' [-Wunused-parameter]
DrmConvertedStatus* FwdLockEngine::onCloseConvertSession(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:467:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onOpenDecryptSession(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:467:10: warning: unused parameter 'length' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:555:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onCloseDecryptSession(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:587:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onInitializeDecryptUnit(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:587:10: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:587:10: warning: unused parameter 'decryptUnitId' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:587:10: warning: unused parameter 'headerInfo' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:595:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onDecrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:595:10: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:595:10: warning: unused parameter 'decryptUnitId' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:595:10: warning: unused parameter 'encBuffer' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:595:10: warning: unused parameter 'decBuffer' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:595:10: warning: unused parameter 'IV' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:601:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onDecrypt(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:601:10: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:601:10: warning: unused parameter 'decryptUnitId' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:601:10: warning: unused parameter 'encBuffer' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:601:10: warning: unused parameter 'decBuffer' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:610:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onFinalizeDecryptUnit(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:610:10: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:610:10: warning: unused parameter 'decryptUnitId' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:617:9: warning: unused parameter 'uniqueId' [-Wunused-parameter]
ssize_t FwdLockEngine::onRead(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:643:9: warning: unused parameter 'uniqueId' [-Wunused-parameter]
off64_t FwdLockEngine::onLseek(int uniqueId, DecryptHandle* decryptHandle,
^
device/htc/flounder/audio/hal/audio_hw.c: In function 'get_capture_reference_delay':
device/htc/flounder/audio/hal/audio_hw.c:901:38: warning: unused parameter 'frames' [-Wunused-parameter]
size_t frames,
^
device/htc/flounder/audio/hal/audio_hw.c: In function 'get_capture_delay':
device/htc/flounder/audio/hal/audio_hw.c:941:38: warning: unused parameter 'frames' [-Wunused-parameter]
size_t frames,
^
device/htc/flounder/audio/hal/audio_hw.c: In function 'adev_open':
device/htc/flounder/audio/hal/audio_hw.c:4464:46: warning: assignment from incompatible pointer type [enabled by default]
adev->sound_trigger_read_samples =
^
device/htc/flounder/audio/hal/audio_hw.c: In function 'dummybuf_thread':
device/htc/flounder/audio/hal/audio_hw.c:4300:40: warning: 'ctl' may be used uninitialized in this function [-Wmaybe-uninitialized]
mixer_ctl_set_value(ctl, 0, 0);
^
Click to expand...
Click to collapse
May i know how you fixed this error facing same error in Yureka .............

Adi Shakthi said:
May i know how you fixed this error facing same error in Yureka .............
Click to expand...
Click to collapse
https://github.com/Hima-Dev/android...mmit/605b40b38a32d60d9b244a3312a8314e435b8e1f

vogemic said:
Everything is working out of the box. LTE working perfect. But no GPS. The problem was on cm12 and still excists on 12.1. Only problem I had was restoring my apps with titanium backup. Common problem. Found no other solution than restoring apps through playstore. Thanks for the great build!
Click to expand...
Click to collapse
Don't dirty flash.
flashing AOSP then flashing CM without wiping data is not a good idea
or flash cm then flashing aosp

siraltus said:
I really hope they fix GPS, it's a rather basic feature.
Click to expand...
Click to collapse
Don't dirty flash.
flashing AOSP then flashing CM without wiping data is not a good idea
or flash cm then flashing aosp

dcrin3 said:
Don't dirty flash.
flashing AOSP then flashing CM without wiping data is not a good idea
or flash cm then flashing aosp
Click to expand...
Click to collapse
I think you replied to the wrong post. And I did wipe every partition before installing CM12.

siraltus said:
I think you replied to the wrong post. And I did wipe every partition before installing CM12.
Click to expand...
Click to collapse
The same build works with bynarie's N9 via GPS Toolbox & Status.
Straight from the horse's mouth.
13:03:45 < simonsickle> flashing AOSP then flashing CM without wiping data is not a good idea
13:04:00 < simonsickle> or flashing cm then flashing aosp
Click to expand...
Click to collapse

dcrin3 said:
The same build works with bynarie's N9 via GPS Toolbox & Status.
Straight from the horse's mouth.
Click to expand...
Click to collapse
GPS works on the WiFi variant just fine, but not on the LTE variant with CM12. Are you saying that GPS now works with CM12.1 on the LTE variant?

siraltus said:
GPS works on the WiFi variant just fine, but not on the LTE variant with CM12. Are you saying that GPS now works with CM12.1 on the LTE variant?
Click to expand...
Click to collapse
I'm saying it's been known to work. But another user just notified me that it worked one time and then later failed to link to gps. It must be an issue with cm still.

I've just did a new build, I can post the link if it's OK with @dcrin3

TheMorpheus said:
I've just did a new build, I can post the link if it's OK with @dcrin3
Click to expand...
Click to collapse
Create your own thread and post the build there.

dcrin3 said:
Create your own thread and post the build there.
Click to expand...
Click to collapse
Your thread your rules... I'll keep my build for myself

Related

[DEV Only] Making a Hero 2.6.29 Kernel based on the Tattoo's 2.6.29 Kernel

A request to all noobs: Please don't post here!
Click to expand...
Click to collapse
Hey guys,
@Wesgarner and myself started a project for getting 2.6.29 Kernels compiled from source on the Hero to run.
I set up a github.com repo for it, you can find it here:
http://github.com/maxisma/Hero_2.6.29
If you want to contribute send me your github-username so I can add you to the collaborator-list.
We used the Tattoo's Kernel source as a base because it is very similar to the Hero's.
So far we added the *hero* files in arch/arm/mach-msm/ and edited the Kconfig and the Makefile to include these files.
We are using the .config from the leaked 2.6.29 Hero Kernel binary with a few changes to match the Tattoo's Kernel source.
It doesn't compile yet unfortunately.
Here are the errors:
http://pastebin.com/rwbePAd0
gnu gcc compiler? version?
mr.bang said:
gnu gcc compiler? version?
Click to expand...
Click to collapse
arm-eabi-gcc 4.4.0 from the Android source toolchain.
You won't be able to; the ABI has changed, but good luck anyway.
adwinp said:
You won't be able to; the ABI has changed, but good luck anyway.
Click to expand...
Click to collapse
What do you mean with ABI?
the app binary int.
The kernel source should be shortly available after the rom release, so why the bother?
There were a few 2.6.29 projects in the past (loxk's among others), you might have a look at those, not that any serious work was done.
Unless you're a kernel dev., you shouldn't waste your time.
Ok... down to a lot less compile errors:
Code:
arch/arm/mach-msm/board-hero-panel.c: In function 'hero_panel_detect':
arch/arm/mach-msm/board-hero-panel.c:444: error: 'panel_type' undeclared (first use in this function)
arch/arm/mach-msm/board-hero-panel.c:444: error: (Each undeclared identifier is reported only once
arch/arm/mach-msm/board-hero-panel.c:444: error: for each function it appears in.)
arch/arm/mach-msm/board-hero-panel.c: In function 'hero_init_panel':
arch/arm/mach-msm/board-hero-panel.c:680: error: 'engineer_id' undeclared (first use in this function)
make[1]: *** [arch/arm/mach-msm/board-hero-panel.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC kernel/hrtimer.o
arch/arm/mach-msm/board-hero.c:155: error: unknown field 'enable_emc_protect_delay' specified in initializer
arch/arm/mach-msm/board-hero.c:155: warning: excess elements in struct initializer
arch/arm/mach-msm/board-hero.c:155: warning: (near initialization for 'hero_x_axis.info')
arch/arm/mach-msm/board-hero.c:174: error: unknown field 'enable_emc_protect_delay' specified in initializer
arch/arm/mach-msm/board-hero.c:174: warning: excess elements in struct initializer
arch/arm/mach-msm/board-hero.c:174: warning: (near initialization for 'hero_y_axis.info')
arch/arm/mach-msm/board-hero.c:253: error: unknown field 'sensitivity' specified in initializer
arch/arm/mach-msm/board-hero.c:267: error: unknown field 'display_width' specified in initializer
arch/arm/mach-msm/board-hero.c:268: error: unknown field 'display_height' specified in initializer
arch/arm/mach-msm/board-hero.c:276: error: unknown field 'display_width' specified in initializer
arch/arm/mach-msm/board-hero.c:277: error: unknown field 'display_height' specified in initializer
arch/arm/mach-msm/board-hero.c:290: error: variable 'hero_s5k3e2fx_sensor_info' has initializer but incomplete type
arch/arm/mach-msm/board-hero.c:291: error: unknown field 'sensor_i2c_read' specified in initializer
arch/arm/mach-msm/board-hero.c:291: warning: excess elements in struct initializer
arch/arm/mach-msm/board-hero.c:291: warning: (near initialization for 'hero_s5k3e2fx_sensor_info')
arch/arm/mach-msm/board-hero.c:292: error: unknown field 'sensor_i2c_write' specified in initializer
arch/arm/mach-msm/board-hero.c:292: warning: excess elements in struct initializer
arch/arm/mach-msm/board-hero.c:292: warning: (near initialization for 'hero_s5k3e2fx_sensor_info')
arch/arm/mach-msm/board-hero.c:293: error: unknown field 'sensor_probe_initial' specified in initializer
arch/arm/mach-msm/board-hero.c:293: warning: excess elements in struct initializer
arch/arm/mach-msm/board-hero.c:293: warning: (near initialization for 'hero_s5k3e2fx_sensor_info')
arch/arm/mach-msm/board-hero.c:294: error: unknown field 'sensor_deinit' specified in initializer
arch/arm/mach-msm/board-hero.c:294: warning: excess elements in struct initializer
arch/arm/mach-msm/board-hero.c:294: warning: (near initialization for 'hero_s5k3e2fx_sensor_info')
arch/arm/mach-msm/board-hero.c:295: error: unknown field 'sensor_write_exposuregain' specified in initializer
arch/arm/mach-msm/board-hero.c:295: warning: excess elements in struct initializer
arch/arm/mach-msm/board-hero.c:295: warning: (near initialization for 'hero_s5k3e2fx_sensor_info')
arch/arm/mach-msm/board-hero.c:296: error: unknown field 'sensor_set_pclk' specified in initializer
arch/arm/mach-msm/board-hero.c:296: warning: excess elements in struct initializer
arch/arm/mach-msm/board-hero.c:296: warning: (near initialization for 'hero_s5k3e2fx_sensor_info')
arch/arm/mach-msm/board-hero.c:297: error: unknown field 'sensor_setting' specified in initializer
arch/arm/mach-msm/board-hero.c:297: warning: excess elements in struct initializer
arch/arm/mach-msm/board-hero.c:297: warning: (near initialization for 'hero_s5k3e2fx_sensor_info')
arch/arm/mach-msm/board-hero.c:298: error: unknown field 'sensor_resume' specified in initializer
arch/arm/mach-msm/board-hero.c:298: warning: excess elements in struct initializer
arch/arm/mach-msm/board-hero.c:298: warning: (near initialization for 'hero_s5k3e2fx_sensor_info')
arch/arm/mach-msm/board-hero.c:299: error: unknown field 'sensor_suspend' specified in initializer
arch/arm/mach-msm/board-hero.c:299: warning: excess elements in struct initializer
arch/arm/mach-msm/board-hero.c:299: warning: (near initialization for 'hero_s5k3e2fx_sensor_info')
arch/arm/mach-msm/board-hero.c:300: error: unknown field 'sensor_power_down' specified in initializer
arch/arm/mach-msm/board-hero.c:300: warning: excess elements in struct initializer
arch/arm/mach-msm/board-hero.c:300: warning: (near initialization for 'hero_s5k3e2fx_sensor_info')
arch/arm/mach-msm/board-hero.c:301: error: unknown field 'sensor_power_up' specified in initializer
arch/arm/mach-msm/board-hero.c:301: warning: excess elements in struct initializer
arch/arm/mach-msm/board-hero.c:301: warning: (near initialization for 'hero_s5k3e2fx_sensor_info')
arch/arm/mach-msm/board-hero.c:302: error: unknown field 'msmclk_rate_set' specified in initializer
arch/arm/mach-msm/board-hero.c:302: warning: excess elements in struct initializer
arch/arm/mach-msm/board-hero.c:302: warning: (near initialization for 'hero_s5k3e2fx_sensor_info')
arch/arm/mach-msm/board-hero.c:303: error: unknown field 'msmclk_disable' specified in initializer
arch/arm/mach-msm/board-hero.c:303: warning: excess elements in struct initializer
arch/arm/mach-msm/board-hero.c:303: warning: (near initialization for 'hero_s5k3e2fx_sensor_info')
arch/arm/mach-msm/board-hero.c:304: error: unknown field 'msmclk_enable' specified in initializer
arch/arm/mach-msm/board-hero.c:304: warning: excess elements in struct initializer
arch/arm/mach-msm/board-hero.c:304: warning: (near initialization for 'hero_s5k3e2fx_sensor_info')
arch/arm/mach-msm/board-hero.c:305: error: unknown field 'msmclk_camif_clk_select' specified in initializer
arch/arm/mach-msm/board-hero.c:305: warning: excess elements in struct initializer
arch/arm/mach-msm/board-hero.c:305: warning: (near initialization for 'hero_s5k3e2fx_sensor_info')
arch/arm/mach-msm/board-hero.c:306: error: unknown field 'msmio_camif_pad_reg_reset' specified in initializer
arch/arm/mach-msm/board-hero.c:306: warning: excess elements in struct initializer
arch/arm/mach-msm/board-hero.c:306: warning: (near initialization for 'hero_s5k3e2fx_sensor_info')
arch/arm/mach-msm/board-hero.c:307: error: unknown field 'msmio_camif_app_reset' specified in initializer
arch/arm/mach-msm/board-hero.c:307: warning: excess elements in struct initializer
arch/arm/mach-msm/board-hero.c:307: warning: (near initialization for 'hero_s5k3e2fx_sensor_info')
arch/arm/mach-msm/board-hero.c:308: error: unknown field 'msmio_camif_Reset2' specified in initializer
arch/arm/mach-msm/board-hero.c:308: warning: excess elements in struct initializer
arch/arm/mach-msm/board-hero.c:308: warning: (near initialization for 'hero_s5k3e2fx_sensor_info')
arch/arm/mach-msm/board-hero.c:317: error: unknown field 'sensor_info' specified in initializer
arch/arm/mach-msm/board-hero.c:317: warning: excess elements in struct initializer
arch/arm/mach-msm/board-hero.c:317: warning: (near initialization for 'hero_s5k3e2fx_device_data')
arch/arm/mach-msm/board-hero.c:364: error: 'MICROP_PIN_CONFIG_GPO_PWM' undeclared here (not in a function)
arch/arm/mach-msm/board-hero.c:416: error: initializer element is not constant
arch/arm/mach-msm/board-hero.c:416: error: (near initialization for 'microp_pins_skuid_1[16].config')
arch/arm/mach-msm/board-hero.c:473: error: initializer element is not constant
arch/arm/mach-msm/board-hero.c:473: error: (near initialization for 'microp_pins_skuid_2[14].config')
arch/arm/mach-msm/board-hero.c:537: error: initializer element is not constant
arch/arm/mach-msm/board-hero.c:537: error: (near initialization for 'microp_pins_skuid_3[14].config')
arch/arm/mach-msm/board-hero.c:687: error: 'BMA150_I2C_NAME' undeclared here (not in a function)
arch/arm/mach-msm/board-hero.c:687: warning: missing braces around initializer
arch/arm/mach-msm/board-hero.c:687: warning: (near initialization for 'i2c_bma150.type')
arch/arm/mach-msm/board-hero.c:687: error: initializer element is not constant
arch/arm/mach-msm/board-hero.c:687: error: (near initialization for 'i2c_bma150.type[0]')
arch/arm/mach-msm/board-hero.c: In function 'hero_init':
arch/arm/mach-msm/board-hero.c:1245: warning: passing argument 3 of 'msm_serial_debug_init' from incompatible pointer type
arch/arm/mach-msm/board-hero.c:1192: note: expected 'const char *' but argument is of type 'struct device *'
Interesting. Hope this gets a bit further.
Abandoned.
Official 2.6.29 source release is near.
maxisma said:
Abandoned.
Official 2.6.29 source release is near.
Click to expand...
Click to collapse
Let's hope they release the sources too..
rom ahero 0.7 comes with 2.6.29 kernel...
pol18 said:
rom ahero 0.7 comes with 2.6.29 kernel...
Click to expand...
Click to collapse
maxisma said:
A request to all noobs: Please don't post here!
Click to expand...
Click to collapse
..........
inertiax3 said:
Let's hope they release the sources too..
Click to expand...
Click to collapse
The GPL licensing of the kernel forces them to do so.
maxisma said:
Abandoned.
Official 2.6.29 source release is near.
Click to expand...
Click to collapse
that was quick...
adwinp said:
The GPL licensing of the kernel forces them to do so.
Click to expand...
Click to collapse
yeah but that didn't stop them being slow first time round..
I wasn't going to say anything... but I couldn't resist.
I really don't see any real point in this at this stage. It's an astronomical amount of work, especially when, as you say, the official 2.1 release is literally around the corner.
nprussell said:
I wasn't going to say anything... but I couldn't resist.
I really don't see any real point in this at this stage. It's an astronomical amount of work, especially when, as you say, the official 2.1 release is literally around the corner.
Click to expand...
Click to collapse
Maybe not so close anymore

[Q] Help with CM11

As the title states I need help building cm11. My problem is more like a problem building than it is with the code I think. Here's the last part of my build:
target SharedLib: libdl (/home/user/android/system/out/target/product/m7vzw/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so)
/home/user/android/system/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/user/android/system/out/target/product/m7vzw/obj/ETC/sepolicy_intermediates/policy.conf
device/htc/m7-common/sepolicy/property.te":2:ERROR 'duplicate declaration of type/attribute' at token ';' on line 8222:
type bluetooth_prop, property_type;
#line 1 "device/htc/m7-common/sepolicy/property.te"
checkpolicy: error(s) encountered while parsing configuration
make: *** [/home/user/android/system/out/target/product/m7vzw/obj/ETC/sepolicy_intermediates/sepolicy] Error 1
make: *** Waiting for unfinished jobs....
GEN /home/user/android/system/out/target/product/m7vzw/obj/KERNEL_OBJ/Makefile
warning: (ARCH_MSM_KRAITMP && ARCH_MSM_CORTEX_A5) selects HAVE_HW_BRKPT_RESERVED_RW_ACCESS which has unmet direct dependencies (HAVE_HW_BREAKPOINT)
warning: (ARCH_MSM_KRAITMP && ARCH_MSM_CORTEX_A5) selects HAVE_HW_BRKPT_RESERVED_RW_ACCESS which has unmet direct dependencies (HAVE_HW_BREAKPOINT)
#
# configuration written to .config
#
make[1]: Leaving directory `/home/user/android/system/kernel/htc/m7'
Can anyone help me out?
That error is related to sepolicy. The device either needs to be updated or selinux repo needed modification. Birdman's git might have an answer for you. https://github.com/gwe
Sent from my One using Tapatalk
Alright got the first one figured out but now I am getting this
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:353:12: warning: 'int snd_ucm_parse_verb(snd_use_case_mgr_t**, const char*, int)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:354:12: warning: 'int get_verb_count(const char*)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:358:12: warning: 'int get_usecase_type(snd_use_case_mgr_t*, const char*)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:359:12: warning: 'int parse_single_config_format(snd_use_case_mgr_t**, char*, int)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:360:12: warning: 'int get_num_verbs_config_format(const char*)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:361:12: warning: 'int get_num_device_config_format(const char*)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:362:12: warning: 'int get_num_mod_config_format(const char*)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:363:12: warning: 'int is_single_config_format(const char*)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:365:12: warning: 'int snd_ucm_parse(snd_use_case_mgr_t**)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:366:12: warning: 'int snd_ucm_parse_section(snd_use_case_mgr_t**, char**, char**, int, int)' declared 'static' but never defined [-Wunused-function]
In file included from hardware/qcom/audio-caf/alsa_sound/AudioUsbALSA.h:57:0,
from hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.h:32,
from hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.cpp:42:
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:367:12: warning: 'int snd_ucm_extract_name(char*, char**)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:368:12: warning: 'int snd_ucm_extract_acdb(char*, int*, int*)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:369:12: warning: 'int snd_ucm_extract_effects_mixer_ctl(char*, char**)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:370:12: warning: 'int snd_ucm_extract_ec_ref_rx_mixer_ctl(char*, char**)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:371:12: warning: 'int snd_ucm_extract_dev_name(char*, char**)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:372:12: warning: 'int snd_ucm_extract_controls(char*, mixer_control_t**, int)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:373:12: warning: 'int snd_ucm_extract_volume_mixer_ctl(char*, char**)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:374:12: warning: 'int snd_ucm_print(snd_use_case_mgr_t*)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:375:13: warning: 'void snd_ucm_free_mixer_list(snd_use_case_mgr_t**)' declared 'static' but never defined [-Wunused-function]
hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.cpp:66:19: warning: 'acdb_send_audio_cal' defined but not used [-Wunused-variable]
In file included from hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.cpp:42:0:
hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.h:137:12: warning: 'android_audio_legacy::USBPLAYBACKBIT_MUSIC' defined but not used [-Wunused-variable]
hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.h:144:12: warning: 'android_audio_legacy::USBRECBIT_REC' defined but not used [-Wunused-variable]
hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.h:147:12: warning: 'android_audio_legacy::USBRECBIT_FM' defined but not used [-Wunused-variable]
hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.h:216:17: warning: 'android_audio_legacy::FLUENCE_MODE_ENDFIRE' defined but not used [-Wunused-variable]
hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.h:217:17: warning: 'android_audio_legacy::FLUENCE_MODE_BROADSIDE' defined but not used [-Wunused-variable]
make: *** [/home/user/android/system/out/target/product/m7vzw/obj/SHARED_LIBRARIES/audio.primary.msm8960_intermediates/AudioHardwareALSA.o] Error 1
skiman10 said:
Alright got the first one figured out but now I am getting this
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:353:12: warning: 'int snd_ucm_parse_verb(snd_use_case_mgr_t**, const char*, int)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:354:12: warning: 'int get_verb_count(const char*)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:358:12: warning: 'int get_usecase_type(snd_use_case_mgr_t*, const char*)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:359:12: warning: 'int parse_single_config_format(snd_use_case_mgr_t**, char*, int)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:360:12: warning: 'int get_num_verbs_config_format(const char*)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:361:12: warning: 'int get_num_device_config_format(const char*)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:362:12: warning: 'int get_num_mod_config_format(const char*)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:363:12: warning: 'int is_single_config_format(const char*)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:365:12: warning: 'int snd_ucm_parse(snd_use_case_mgr_t**)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:366:12: warning: 'int snd_ucm_parse_section(snd_use_case_mgr_t**, char**, char**, int, int)' declared 'static' but never defined [-Wunused-function]
In file included from hardware/qcom/audio-caf/alsa_sound/AudioUsbALSA.h:57:0,
from hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.h:32,
from hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.cpp:42:
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:367:12: warning: 'int snd_ucm_extract_name(char*, char**)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:368:12: warning: 'int snd_ucm_extract_acdb(char*, int*, int*)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:369:12: warning: 'int snd_ucm_extract_effects_mixer_ctl(char*, char**)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:370:12: warning: 'int snd_ucm_extract_ec_ref_rx_mixer_ctl(char*, char**)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:371:12: warning: 'int snd_ucm_extract_dev_name(char*, char**)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:372:12: warning: 'int snd_ucm_extract_controls(char*, mixer_control_t**, int)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:373:12: warning: 'int snd_ucm_extract_volume_mixer_ctl(char*, char**)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:374:12: warning: 'int snd_ucm_print(snd_use_case_mgr_t*)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:375:13: warning: 'void snd_ucm_free_mixer_list(snd_use_case_mgr_t**)' declared 'static' but never defined [-Wunused-function]
hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.cpp:66:19: warning: 'acdb_send_audio_cal' defined but not used [-Wunused-variable]
In file included from hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.cpp:42:0:
hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.h:137:12: warning: 'android_audio_legacy::USBPLAYBACKBIT_MUSIC' defined but not used [-Wunused-variable]
hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.h:144:12: warning: 'android_audio_legacy::USBRECBIT_REC' defined but not used [-Wunused-variable]
hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.h:147:12: warning: 'android_audio_legacy::USBRECBIT_FM' defined but not used [-Wunused-variable]
hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.h:216:17: warning: 'android_audio_legacy::FLUENCE_MODE_ENDFIRE' defined but not used [-Wunused-variable]
hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.h:217:17: warning: 'android_audio_legacy::FLUENCE_MODE_BROADSIDE' defined but not used [-Wunused-variable]
make: *** [/home/user/android/system/out/target/product/m7vzw/obj/SHARED_LIBRARIES/audio.primary.msm8960_intermediates/AudioHardwareALSA.o] Error 1
Click to expand...
Click to collapse
try this. sets low power audio to false. https://github.com/GWe/msm8960-common/commit/fe0ea8912e5e1e789fa10a715d53bbbaa43ba2aa
im not sure if the binaries it is compiling are related to LPA but alsa is sound.
I believe they have an unofficial for m7tmo so might work
coldconfession13 said:
I believe they have an unofficial for m7tmo so might work
Click to expand...
Click to collapse
You believe they have what for m7tmo?
buckmarble said:
try this. sets low power audio to false. https://github.com/GWe/msm8960-common/commit/fe0ea8912e5e1e789fa10a715d53bbbaa43ba2aa
im not sure if the binaries it is compiling are related to LPA but alsa is sound.
Click to expand...
Click to collapse
it didn't help. any other suggestions?
This is a hack, but you could turn off the warning in your build file.
Sent from my Oney Bone.
brymaster5000 said:
This is a hack, but you could turn off the warning in your build file.
Sent from my Oney Bone.
Click to expand...
Click to collapse
where and how exactly?
golcheck said:
where and how exactly?
Click to expand...
Click to collapse
Search Wunused-function:
http://stackoverflow.com/questions/15053776/how-do-you-disable-the-unused-variable-warnings-coming-out-of-gcc
golcheck said:
where and how exactly?
Click to expand...
Click to collapse
Wondering, were you able to figure this out? I getting the same build error.
---------- Post added at 12:10 AM ---------- Previous post was at 12:06 AM ----------
skiman10 said:
Alright got the first one figured out but now I am getting this
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:353:12: warning: 'int snd_ucm_parse_verb(snd_use_case_mgr_t**, const char*, int)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:354:12: warning: 'int get_verb_count(const char*)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:358:12: warning: 'int get_usecase_type(snd_use_case_mgr_t*, const char*)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:359:12: warning: 'int parse_single_config_format(snd_use_case_mgr_t**, char*, int)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:360:12: warning: 'int get_num_verbs_config_format(const char*)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:361:12: warning: 'int get_num_device_config_format(const char*)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:362:12: warning: 'int get_num_mod_config_format(const char*)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:363:12: warning: 'int is_single_config_format(const char*)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:365:12: warning: 'int snd_ucm_parse(snd_use_case_mgr_t**)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:366:12: warning: 'int snd_ucm_parse_section(snd_use_case_mgr_t**, char**, char**, int, int)' declared 'static' but never defined [-Wunused-function]
In file included from hardware/qcom/audio-caf/alsa_sound/AudioUsbALSA.h:57:0,
from hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.h:32,
from hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.cpp:42:
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:367:12: warning: 'int snd_ucm_extract_name(char*, char**)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:368:12: warning: 'int snd_ucm_extract_acdb(char*, int*, int*)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:369:12: warning: 'int snd_ucm_extract_effects_mixer_ctl(char*, char**)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:370:12: warning: 'int snd_ucm_extract_ec_ref_rx_mixer_ctl(char*, char**)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:371:12: warning: 'int snd_ucm_extract_dev_name(char*, char**)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:372:12: warning: 'int snd_ucm_extract_controls(char*, mixer_control_t**, int)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:373:12: warning: 'int snd_ucm_extract_volume_mixer_ctl(char*, char**)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:374:12: warning: 'int snd_ucm_print(snd_use_case_mgr_t*)' declared 'static' but never defined [-Wunused-function]
/home/user/android/system/out/target/product/m7vzw/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h:375:13: warning: 'void snd_ucm_free_mixer_list(snd_use_case_mgr_t**)' declared 'static' but never defined [-Wunused-function]
hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.cpp:66:19: warning: 'acdb_send_audio_cal' defined but not used [-Wunused-variable]
In file included from hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.cpp:42:0:
hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.h:137:12: warning: 'android_audio_legacy::USBPLAYBACKBIT_MUSIC' defined but not used [-Wunused-variable]
hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.h:144:12: warning: 'android_audio_legacy::USBRECBIT_REC' defined but not used [-Wunused-variable]
hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.h:147:12: warning: 'android_audio_legacy::USBRECBIT_FM' defined but not used [-Wunused-variable]
hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.h:216:17: warning: 'android_audio_legacy::FLUENCE_MODE_ENDFIRE' defined but not used [-Wunused-variable]
hardware/qcom/audio-caf/alsa_sound/AudioHardwareALSA.h:217:17: warning: 'android_audio_legacy::FLUENCE_MODE_BROADSIDE' defined but not used [-Wunused-variable]
make: *** [/home/user/android/system/out/target/product/m7vzw/obj/SHARED_LIBRARIES/audio.primary.msm8960_intermediates/AudioHardwareALSA.o] Error 1
Click to expand...
Click to collapse
skiman10, were you able to get past this build error?
I don't know how roms are set up, but with kernels, there is a makefile (the main one) that has cflags in it. These can control your warnings.
Sent from my Oney Bone.
ackmke said:
Wondering, were you able to figure this out? I getting the same build error.
---------- Post added at 12:10 AM ---------- Previous post was at 12:06 AM ----------
skiman10, were you able to get past this build error?
Click to expand...
Click to collapse
No I have not been able to fix this and it is frustrating me. Anyone got a fix so I can get this build out?

compile cm11 error

Checking build tools versions...
/home/blackcat/cm11/out/target/product/ancora/obj/APPS/SignatureTest_intermediates
find: `src': No such file or directory
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/blackcat/cm11/out/target/product/ancora/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/blackcat/cm11/out/target/product/ancora/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/blackcat/cm11/out/target/product/ancora/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/blackcat/cm11/out/target/product/ancora/obj/include/qcom/display/copybit_priv.h'
error help me
Import includes file: /home/blackcat/cm11/out/target/product/ancora/obj/EXECUTABLES/vim_intermediates/import_includes
make: *** No rule to make target `vendor/cm/proprietary/Term.apk', needed by `/home/blackcat/cm11/out/target/product/ancora/system/app/Term.apk'. Stop.
make: *** Waiting for unfinished jobs....
Export includes file: external/vim/src/Android.mk -- /home/blackcat/cm11/out/target/product/ancora/obj/EXECUTABLES/vim_intermediates/export_includes
blackcat67 said:
Checking build tools versions...
/home/blackcat/cm11/out/target/product/ancora/obj/APPS/SignatureTest_intermediates
find: `src': No such file or directory
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/blackcat/cm11/out/target/product/ancora/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/blackcat/cm11/out/target/product/ancora/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/blackcat/cm11/out/target/product/ancora/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/blackcat/cm11/out/target/product/ancora/obj/include/qcom/display/copybit_priv.h'
error help me
Import includes file: /home/blackcat/cm11/out/target/product/ancora/obj/EXECUTABLES/vim_intermediates/import_includes
make: *** No rule to make target `vendor/cm/proprietary/Term.apk', needed by `/home/blackcat/cm11/out/target/product/ancora/system/app/Term.apk'. Stop.
make: *** Waiting for unfinished jobs....
Export includes file: external/vim/src/Android.mk -- /home/blackcat/cm11/out/target/product/ancora/obj/EXECUTABLES/vim_intermediates/export_includes
Click to expand...
Click to collapse
Code:
cd vendor/cm
./get-prebuilts
then start your build again
Vendor:
git clone git://github.com/arco/android_vendor_samsung_ancora.git -b cm-10.2 ancora
Device :
git clone git://github.com/hadidjapri/android_device_samsung_ancora.git -b cm-11 ancora
Display Legacy
git clone git://github.com/alviteri/android_hardware_qcom_display-legacy -b
display-legacy
Media Legacy
git clone git://github.com/alviteri/android_hardware_qcom_media-legacy -b
media-legacy
Is it true source _?
lunch
- cm_ancora-userdebug
make -j4
target thumb C: tc <= external/iproute2/tc/q_prio.c
external/iproute2/tc/q_prio.c: In function 'prio_parse_opt':
external/iproute2/tc/q_prio.c:35:9: warning: excess elements in struct initializer [enabled by default]
external/iproute2/tc/q_prio.c:35:9: warning: (near initialization for 'opt') [enabled by default]
external/iproute2/tc/q_prio.c:60:8: error: 'struct tc_prio_qopt' has no member named 'enable_flow'
external/iproute2/tc/q_prio.c:64:8: error: 'struct tc_prio_qopt' has no member named 'enable_flow'
external/iproute2/tc/q_prio.c:85:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/iproute2/tc/q_prio.c:31:46: warning: unused parameter 'qu' [-Wunused-parameter]
external/iproute2/tc/q_prio.c: In function 'prio_print_opt':
external/iproute2/tc/q_prio.c:133:30: error: 'struct tc_prio_qopt' has no member named 'enable_flow'
make: *** [/home/blackcat/cm11/out/target/product/ancora/obj/EXECUTABLES/tc_intermediates/q_prio.o] Error 1
make: *** Waiting for unfinished jobs....
blackcat67 said:
target thumb C: tc <= external/iproute2/tc/q_prio.c
external/iproute2/tc/q_prio.c: In function 'prio_parse_opt':
external/iproute2/tc/q_prio.c:35:9: warning: excess elements in struct initializer [enabled by default]
external/iproute2/tc/q_prio.c:35:9: warning: (near initialization for 'opt') [enabled by default]
external/iproute2/tc/q_prio.c:60:8: error: 'struct tc_prio_qopt' has no member named 'enable_flow'
external/iproute2/tc/q_prio.c:64:8: error: 'struct tc_prio_qopt' has no member named 'enable_flow'
external/iproute2/tc/q_prio.c:85:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/iproute2/tc/q_prio.c:31:46: warning: unused parameter 'qu' [-Wunused-parameter]
external/iproute2/tc/q_prio.c: In function 'prio_print_opt':
external/iproute2/tc/q_prio.c:133:30: error: 'struct tc_prio_qopt' has no member named 'enable_flow'
make: *** [/home/blackcat/cm11/out/target/product/ancora/obj/EXECUTABLES/tc_intermediates/q_prio.o] Error 1
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
Same error did you fix it? and how?
Thank you
Which repos should i use for arco cm11 ?
Can some one help?
I get error
device/samsung/ancora/camerahal/cameraHAL.cpp:38:31: fatal error: ui/legacy/Overlay.h: No such file or directory
compilation terminated.
make: *** [/home/acc/cm11/out/target/product/ancora/obj/SHARED_LIBRARIES/camera.msm7x30_intermediates/cameraHAL.o] Error 1
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
Madridii said:
Same error did you fix it? and how?
Thank you
Click to expand...
Click to collapse
Any fixes yet?
blackcat67 said:
target thumb C: tc <= external/iproute2/tc/q_prio.c
external/iproute2/tc/q_prio.c: In function 'prio_parse_opt':
external/iproute2/tc/q_prio.c:35:9: warning: excess elements in struct initializer [enabled by default]
external/iproute2/tc/q_prio.c:35:9: warning: (near initialization for 'opt') [enabled by default]
external/iproute2/tc/q_prio.c:60:8: error: 'struct tc_prio_qopt' has no member named 'enable_flow'
external/iproute2/tc/q_prio.c:64:8: error: 'struct tc_prio_qopt' has no member named 'enable_flow'
external/iproute2/tc/q_prio.c:85:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/iproute2/tc/q_prio.c:31:46: warning: unused parameter 'qu' [-Wunused-parameter]
external/iproute2/tc/q_prio.c: In function 'prio_print_opt':
external/iproute2/tc/q_prio.c:133:30: error: 'struct tc_prio_qopt' has no member named 'enable_flow'
make: *** [/home/blackcat/cm11/out/target/product/ancora/obj/EXECUTABLES/tc_intermediates/q_prio.o] Error 1
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
Same error also how did you fix
Edit
I found way to fix by git revert to a earlier commit type this in terminal
Code:
cd ~/your/build/dir/external/iproute2
git revert 4c48963517f1569ce909ad2f8a4b7a675de5a1f6

Need help compiling kernel

So I am brand new at all of this and figured I would toy around with this older phone to see what I can learn. I am using directions from this link:
"htcevohacks.com/htc-evo-hacks/how-to-build-your-own-htc-evo-4g-android-kernel/"
I'm trying to make a custom kernel so I can put ubuntu on my phone following the directions from these two links:
"htcevohacks.com/htc-evo-hacks/ubuntu-evo-4g/"
"nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-android/"
So while trying to compile on step 13 off the first link this is what I get when I use the command "make":
:/kernel# make
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-arm
CALL scripts/checksyscalls.sh
<stdin>:1097: warning: #warning syscall fadvise64 not implemented
<stdin>:1265: warning: #warning syscall migrate_pages not implemented
<stdin>:1321: warning: #warning syscall pselect6 not implemented
<stdin>:1325: warning: #warning syscall ppoll not implemented
<stdin>:1365: warning: #warning syscall epoll_pwait not implemented
CHK include/linux/compile.h
CC arch/arm/mach-msm/devices.o
arch/arm/mach-msm/devices.c:391: error: variable 'android_usb_pdata' has initializer but incomplete type
arch/arm/mach-msm/devices.c:392: error: unknown field 'vendor_id' specified in initializer
arch/arm/mach-msm/devices.c:392: warning: excess elements in struct initializer
arch/arm/mach-msm/devices.c:392: warning: (near initialization for 'android_usb_pdata')
arch/arm/mach-msm/devices.c:393: error: unknown field 'product_id' specified in initializer
arch/arm/mach-msm/devices.c:393: warning: excess elements in struct initializer
arch/arm/mach-msm/devices.c:393: warning: (near initialization for 'android_usb_pdata')
arch/arm/mach-msm/devices.c:394: error: unknown field 'adb_product_id' specified in initializer
arch/arm/mach-msm/devices.c:394: warning: excess elements in struct initializer
arch/arm/mach-msm/devices.c:394: warning: (near initialization for 'android_usb_pdata')
arch/arm/mach-msm/devices.c:395: error: unknown field 'version' specified in initializer
arch/arm/mach-msm/devices.c:395: warning: excess elements in struct initializer
arch/arm/mach-msm/devices.c:395: warning: (near initialization for 'android_usb_pdata')
arch/arm/mach-msm/devices.c:396: error: unknown field 'product_name' specified in initializer
arch/arm/mach-msm/devices.c:396: warning: excess elements in struct initializer
arch/arm/mach-msm/devices.c:396: warning: (near initialization for 'android_usb_pdata')
arch/arm/mach-msm/devices.c:397: error: unknown field 'manufacturer_name' specified in initializer
arch/arm/mach-msm/devices.c:397: warning: excess elements in struct initializer
arch/arm/mach-msm/devices.c:397: warning: (near initialization for 'android_usb_pdata')
arch/arm/mach-msm/devices.c:398: error: unknown field 'nluns' specified in initializer
arch/arm/mach-msm/devices.c:398: warning: excess elements in struct initializer
arch/arm/mach-msm/devices.c:398: warning: (near initialization for 'android_usb_pdata')
arch/arm/mach-msm/devices.c: In function 'msm_set_ums_device_id':
arch/arm/mach-msm/devices.c:452: error: 'usb_mass_storage_device' undeclared (first use in this function)
arch/arm/mach-msm/devices.c:452: error: (Each undeclared identifier is reported only once
arch/arm/mach-msm/devices.c:452: error: for each function it appears in.)
arch/arm/mach-msm/devices.c: In function 'msm_enable_car_kit_detect':
arch/arm/mach-msm/devices.c:463: error: 'struct msm_hsusb_platform_data' has no member named 'enable_car_kit_detect'
arch/arm/mach-msm/devices.c: In function 'msm_init_ums_lun':
arch/arm/mach-msm/devices.c:469: error: 'mass_storage_pdata' undeclared (first use in this function)
arch/arm/mach-msm/devices.c: In function 'msm_add_usb_id_pin_gpio':
arch/arm/mach-msm/devices.c:486: error: 'struct msm_hsusb_platform_data' has no member named 'usb_id_pin_gpio'
arch/arm/mach-msm/devices.c: At top level:
arch/arm/mach-msm/devices.c:490: warning: 'struct msm_hsusb_product' declared inside parameter list
arch/arm/mach-msm/devices.c:490: warning: its scope is only this definition or declaration, which is probably not what you want
arch/arm/mach-msm/devices.c: In function 'msm_hsusb_set_product':
arch/arm/mach-msm/devices.c:491: error: 'struct msm_hsusb_platform_data' has no member named 'products'
arch/arm/mach-msm/devices.c:492: error: 'struct msm_hsusb_platform_data' has no member named 'num_products'
arch/arm/mach-msm/devices.c: In function 'board_serialno_setup':
arch/arm/mach-msm/devices.c:1159: error: invalid use of undefined type 'struct android_usb_platform_data'
make[1]: *** [arch/arm/mach-msm/devices.o] Error 1
make: *** [arch/arm/mach-msm] Error 2
Click to expand...
Click to collapse
Like I said, I'm new to this so I don't really know what any of that means. The lines should be all correct but I did have to separate them manually after copying it. I'm using Lubuntu and my phone is running CyanogenMod 7
yep
So, I also am having this problem... does anyone have an answer? My issue is exactly the same, and I tried it a second time with the same results, even though I tried different options prior to it starting to compile. Or does anyone have a ready made kernel for this that they would be willing to post?
thanks

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

Categories

Resources