[Q] Compiling PA CM10 for the Wildfire S - How do I fix this error? - HTC Wildfire S

Sorry if this is the wrong section (the dev section seemed just for roms), but I'm trying to compile Paranoid Android CM10 for the Wildfire S. However, I encounter an error when I attempt it.
Code:
target thumb C++: hwcomposer.msm7x27 <= hardware/qcom/display/libhwcomposer/hwc.cpp
target thumb C++: hwcomposer.msm7x27 <= hardware/qcom/display/libhwcomposer/hwc_video.cpp
In file included from hardware/qcom/display/liboverlay/overlay.h:33:0,
from hardware/qcom/display/libhwcomposer/hwc_video.cpp:19:
hardware/qcom/display/liboverlay/overlayUtils.h: In function 'bool overlay::utils::isYuv(__u32)':
hardware/qcom/display/liboverlay/overlayUtils.h:565:14: error: 'MDP_Y_CRCB_H1V1' was not declared in this scope
hardware/qcom/display/liboverlay/overlayUtils.h:567:9: error: duplicate case value
hardware/qcom/display/liboverlay/overlayUtils.h:564:9: error: previously used here
hardware/qcom/display/liboverlay/overlayUtils.h:568:9: error: duplicate case value
hardware/qcom/display/liboverlay/overlayUtils.h:563:9: error: previously used here
hardware/qcom/display/liboverlay/overlayUtils.h:570:9: error: duplicate case value
hardware/qcom/display/liboverlay/overlayUtils.h:569:9: error: previously used here
In file included from hardware/qcom/display/liboverlay/overlayImpl.h:34:0,
from hardware/qcom/display/liboverlay/overlayState.h:34,
from hardware/qcom/display/liboverlay/overlay.h:34,
from hardware/qcom/display/libhwcomposer/hwc_video.cpp:19:
hardware/qcom/display/liboverlay/overlayRotator.h: In member function 'virtual void overlay::MdpRot::setDownscale(int)':
hardware/qcom/display/liboverlay/overlayRotator.h:378:17: error: 'struct msm_rotator_img_info' has no member named 'downscale_ratio'
make: *** [/mnt/windows/root/root/android/system/out/target/product/marvel/obj/SHARED_LIBRARIES/hwcomposer.msm7x27_intermediates/hwc_video.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from hardware/qcom/display/liboverlay/overlay.h:33:0,
from hardware/qcom/display/libhwcomposer/hwc.cpp:25:
hardware/qcom/display/liboverlay/overlayUtils.h: In function 'bool overlay::utils::isYuv(__u32)':
hardware/qcom/display/liboverlay/overlayUtils.h:565:14: error: 'MDP_Y_CRCB_H1V1' was not declared in this scope
hardware/qcom/display/liboverlay/overlayUtils.h:567:9: error: duplicate case value
hardware/qcom/display/liboverlay/overlayUtils.h:564:9: error: previously used here
hardware/qcom/display/liboverlay/overlayUtils.h:568:9: error: duplicate case value
hardware/qcom/display/liboverlay/overlayUtils.h:563:9: error: previously used here
hardware/qcom/display/liboverlay/overlayUtils.h:570:9: error: duplicate case value
hardware/qcom/display/liboverlay/overlayUtils.h:569:9: error: previously used here
In file included from hardware/qcom/display/liboverlay/overlayImpl.h:34:0,
from hardware/qcom/display/liboverlay/overlayState.h:34,
from hardware/qcom/display/liboverlay/overlay.h:34,
from hardware/qcom/display/libhwcomposer/hwc.cpp:25:
hardware/qcom/display/liboverlay/overlayRotator.h: In member function 'virtual void overlay::MdpRot::setDownscale(int)':
hardware/qcom/display/liboverlay/overlayRotator.h:378:17: error: 'struct msm_rotator_img_info' has no member named 'downscale_ratio'
make: *** [/mnt/windows/root/root/android/system/out/target/product/marvel/obj/SHARED_LIBRARIES/hwcomposer.msm7x27_intermediates/hwc.o] Error 1
How would I go about fixing this? I've been following the instructions in this thread: http://forum.xda-developers.com/showthread.php?t=1940778
Here is my local_manifest.xml,
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="cryptomilk"
fetch="git://git.cryptomilk.org/" />
<project name="projects/marvel/kernel_htc_msm7227.git" path="kernel/htc/msm7227" remote="cryptomilk" />
<project name="CyanogenMod/android_device_htc_common" path="device/htc/common" revision="refs/heads/gingerbread" />
<project name="projects/marvel/android_device_htc_msm7x27-recovery.git" path="device/htc/msm7x27-recovery" remote="cryptomilk" />
<project name="projects/marvel/android_device_htc_msm7x27-common.git" path="device/htc/msm7x27-common" remote="cryptomilk" />
<project name="projects/marvel/android_device_htc_marvel-common.git" path="device/htc/marvel-common" remote="cryptomilk" />
<project name="projects/marvel/android_device_htc_marvel.git" path="device/htc/marvel" remote="cryptomilk" />
<project name="projects/marvel/android_vendor_qcom_msm7x27.git" path="vendor/qcom/msm7x27" remote="cryptomilk" />
<project name="projects/marvel/android_vendor_htc_marvel.git" path="vendor/htc/marvel" remote="cryptomilk" />
</manifest>
And here is my manifest.xml http://pastebin.com/FVTdBKg1
Any help will be appreciated

Related

[Q] Noob developer need help.

Im writing my first app, and right off the start, when creating a new project in eclipse, I get 2 errors in the manifest.
this is my manifest, note that I didn't change anything. The line of *'s is where eclipse gives me the error. It says;
"no resource identifier found for attribute 'allowBackup' in package 'android' ... line 11"
"no resource identifier found for attribute 'tragetSdkVersion' in package 'android' ... line 7"
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.helloworld"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk ****************************************************************************************
android:minSdkVersion="3"
android:targetSdkVersion="3" />
<application ****************************************************************************************
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.helloworld.HelloWorld"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
thanks in advance!

[Q] How We Can Fix camera.msm7x30.so error?

Hello mates
During a brunch ancora for Ubuntu Touch i got the following error:
HTML:
device/samsung/ancora/camerahal/cameraHAL.cpp:517: error: undefined reference to 'android::eek:verlay::eek:verlay(void (*)(void*, int), void (*)(void*, unsigned int, unsigned int, unsigned int, unsigned int), void (*)(void*, void*), void*)'
collect2: error: ld returned 1 exit status
make: *** [/root/WORKING_DIRECTORY/out/target/product/ancora/obj/SHARED_LIBRARIES/camera.msm7x30_intermediates/LINKED/camera.msm7x30.so] Error 1
make: *** Waiting for unfinished jobs....
Here my .repo/local_manifests/roomservice.xml configuration and if are there any other repos should be downloaded?
HTML:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="hak86/android_device_samsung_ancora" path="device/samsung/ancora" remote="github" revision="cm-10.1" />
<project name="hak86/samsung-kernel-msm7x30" path="kernel/samsung/msm7x30" remote="github" revision="cm-10.1" />
<project name="hak86/android_vendor_samsung_ancora" path="vendor/samsung/ancora" remote="github" revision="cm-10.1" />
<project name="hak86/android_device_samsung_msm8930-common" path="device/samsung/msm8930-common" remote="github" revision="cm-10.1" />
</manifest>
Any suggestions to fix it?
Thanks
No Answers
Admin please close this post because there are no answers, thanks.

mondrianwifi CM14 breakfast error

I'm trying to build Nougat for this device, which has recently been given a CM14 branch.
I'm getting binary blobs from TheMuppets and after syncing, breakfast gives me this error.
Code:
$ breakfast mondrianwifi
including vendor/cm/vendorsetup.sh
build/core/config.mk:671: COMMON_GLOBAL_C(PP)FLAGS changed
build/core/config.mk:675: *** bailing.... Alto.
Device mondrianwifi not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_samsung_mondrianwifi
Default revision: staging/cm-14.0
Checking branch info
Using fallback branch: cm-14.0
Checking if device/samsung/mondrianwifi is fetched from android_device_samsung_mondrianwifi
CyanogenMod/android_device_samsung_mondrianwifi already fetched to device/samsung/mondrianwifi
Syncing repository to retrieve project.
Fetching project CyanogenMod/android_device_samsung_mondrianwifi
Fetching projects: 100% (1/1), done.
Repository synced!
Looking for dependencies
Done
build/core/config.mk:671: COMMON_GLOBAL_C(PP)FLAGS changed
build/core/config.mk:675: *** bailing.... Alto.
build/core/config.mk:671: COMMON_GLOBAL_C(PP)FLAGS changed
build/core/config.mk:675: *** bailing.... Alto.
** Don't have a product spec for: 'cm_mondrianwifi'
** Do you have the right repo manifest?
This is my local manifest.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_samsung_mondrianwifi" path="device/samsung/mondrianwifi" remote="github" revision="cm-14.0" />
<project name="CyanogenMod/android_external_sony_boringssl-compat" path="external/sony/boringssl-compat" remote="github" revision="cm-14.0" />
<project name="CyanogenMod/android_device_samsung_msm8974-common" path="device/samsung/msm8974-common" remote="github" revision="cm-14.0" />
<project name="CyanogenMod/android_kernel_samsung_mondrianwifi" path="kernel/samsung/mondrianwifi" remote="github" revision="cm-14.0" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" revision="cm-14.0" />
<project name="CyanogenMod/android_device_samsung_qcom-common" path="device/samsung/qcom-common" remote="github" revision="cm-14.0" />
<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="cm-14.0" />
</manifest>
Any clue?
Thanks.
Did you forget to run envsetup.sh first?
Which version of the MSM are you attempting to use?
Ichijoe said:
Did you forget to run envsetup.sh first?
Which version of the MSM are you attempting to use?
Click to expand...
Click to collapse
I didn't forget to run envsetup.sh
I'm using the MSM8974 repo that appears on github.
https://github.com/CyanogenMod/android_device_samsung_mondrianwifi/blob/cm-14.0/cm.dependencies
Which is this one
https://github.com/CyanogenMod/android_device_samsung_msm8974-common/tree/cm-14.0
Thanks for your reply.
(ratafraking stupid spellcheck!!)
It corrected JDK (Java Development Kit), back to MSM... Which is (if we're to be quite honest) a redundant question. As you really don't have much choice beyond the 8974.
But, my rational thinking is either telling me that JDK 7 is no longer supported, or you might have missed some dependency for JDK 8.
I only have JDK 8 installed, I have successfully compiled CM13 with it.

Problem building ROM (LineageOS CM14.1)

Hi, I'm not sure this is the right place to deal with this issue and I apologize in advance if I'm wrong.
I'm trying to build a ROM for my hlte (Galaxy Note 3 N9005) but when i use the command "brunch hlte", i get this error:
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/root/android/system/out/target/product/hlte/obj/STATIC_LIBRARIES/libinit_msm_intermediates/export_includes', needed by '/root/android/system/out/target/product/hlte/obj/EXECUTABLES/init_intermediates/import_includes', missing and no known rule to make it
build/core/ninja.mk:151: set di istruzioni per l'obiettivo "ninja_wrapper" non riuscito
make: *** [ninja_wrapper] Errore 1
make: uscita dalla directory "/root/android/system"
#### make failed to build some targets (01:48 (mm:ss)) ####
Thorn655 said:
Hi, I'm not sure this is the right place to deal with this issue and I apologize in advance if I'm wrong.
I'm trying to build a ROM for my hlte (Galaxy Note 3 N9005) but when i use the command "brunch hlte", i get this error:
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/root/android/system/out/target/product/hlte/obj/STATIC_LIBRARIES/libinit_msm_intermediates/export_includes', needed by '/root/android/system/out/target/product/hlte/obj/EXECUTABLES/init_intermediates/import_includes', missing and no known rule to make it
build/core/ninja.mk:151: set di istruzioni per l'obiettivo "ninja_wrapper" non riuscito
make: *** [ninja_wrapper] Errore 1
make: uscita dalla directory "/root/android/system"
#### make failed to build some targets (01:48 (mm:ss)) ####
Click to expand...
Click to collapse
You are missing the source that calls and builds a libinit module. Most likely missing a msm...-common device source dependency.
Sent from my SM-T310 using Tapatalk
Strange, this is my local manifest:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="lineage" fetch="https://github.com/LineageOS" />
<remote name="muppets" fetch="https://github.com/TheMuppets" />
<project path="vendor/samsung" name="proprietary_vendor_samsung" remote="muppets" revision="cm-14.1"/>
<project path="device/samsung/hlte" name="android_device_samsung_hlte" remote="lineage" revision="cm-13.0"/>
<project path="device/samsung/hlte-common" name="android_device_samsung_hlte-common" remote="lineage" revision="cm-13.0"/>
<project path="device/samsung/msm8974-common" name="android_device_samsung_msm8974-common" remote="lineage" revision="cm-13.0"/>
<project path="kernel/samsung/hlte" name="android_kernel_samsung_hlte" remote="lineage" revision="cm-13.0"/>
<project path="device/qcom/common" name="android_device_qcom_common" remote="lineage" revision="cm-13.0"/>
<project path="device/samsung/qcom-common" name="android_device_samsung_qcom-common" remote="lineage" revision="cm-13.0"/>
<project path="hardware/samsung" name="android_hardware_samsung" remote="lineage" revision="cm-13.0"/>
<project path="packages/resources/devicesettings" name="android_packages_resources_devicesettings" remote="lineage" revision="cm-14.1"/>
</manifest>
I began from "android_device_samsung_hlte" and then I added all cm.depancancies or lineage.depandancies here

Make error during brunch, cm-14.1

Hi all, getting an odd error during brunch when building cm-14.1. I don't understand what is happening here - I guess it's trying to build kernel modules and can't find the kernel source. Any ideas??
Brunch:
Code:
make: Entering directory '/home/kalpol/Documents/android/lineage/kernel/lge/msm8992'
INSTALL block/test-iosched.ko
INSTALL drivers/gud/mcDrvModule.ko
Can't read private key
make[2]: *** [/home/kalpol/Documents/android/lineage/kernel/lge/msm8992/scripts /Makefile.modinst:30: block/test-iosched.ko] Error 255
make[2]: *** Waiting for unfinished jobs....
Can't read private key
make[2]: *** [/home/kalpol/Documents/android/lineage/kernel/lge/msm8992/scripts /Makefile.modinst:30: drivers/gud/mcDrvModule.ko] Error 255
make[1]: *** [/home/kalpol/Documents/android/lineage/kernel/lge/msm8992/Makefile:1002: modinst_] Error 2
make: *** [Makefile:130: sub-make] Error 2
make: Leaving directory '/home/kalpol/Documents/android/lineage/kernel/lge/msm8992' [ 8% 4439/50348] target Java: android...t-core-ui-api21_intermediates/classes)
ninja: build stopped: subcommand failed.
make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1
make: Leaving directory '/home/kalpol/Documents/android/lineage'
make failed to build some targets (45:23 (mm:ss))
Roomservice:
Code:
<manifest>
<project name="LineageOS/android_device_lge_h815" path="device/lge/h815" remote="github" />
<project name="LineageOS/android_device_lge_g4-common" path="device/lge/g4-common" remote="github" />
<project name="LineageOS/android_kernel_lge_msm8992" path="kernel/lge/msm8992" remote="github" />
<project name="LineageOS/android_device_lge_common" path="device/lge/common" remote="github" />
<project name="LineageOS/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="LineageOS/android_hardware_sony_thermanager" path="hardware/sony/thermanager" remote="github" />
<project name="LineageOS/android_hardware_sony_timekeep" path="hardware/sony/timekeep" remote="github" />
<project name="LineageOS/android_packages_apps_FlipFlap" path="packages/apps/FlipFlap" remote="github" />
<project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" />
<project name="TheMuppets/proprietary_vendor_lge" path="vendor/lge" depth="1" /> </manifest>

Categories

Resources