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.
Related
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
Hello mates
I build successfully Cyanogen Mod 10.1 for my ancora device as test, i got many warning during compilation without any stop, if got warning during compilation did mean can't boot or what depend from?
i use this repos as source:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="arco" fetch="https://github.com/arco" />
<remote name="ralisi" fetch="ssh://[email protected]/ralisi" />
<project path="device/samsung/ancora" name="android_device_samsung_ancora" remote="ralisi" revision="cm-10.1"/>
<project path="vendor/samsung/ancora" name="android_vendor_samsung_ancora" remote="arco" revision="cm-10.1"/>
<project path="kernel/samsung/samsung-kernel-msm7x30" name="samsung-kernel-msm7x30" remote="arco" revision="cm-10.1"/>
</manifest>
Click to expand...
Click to collapse
Any one can help me, thanks
First time building CyanogenMod from source and I've run into a roadblock.
I am at the point where I have CM12 repo synced and when i run
Code:
breakfast d2spr
I get the error:
** Don't have a product spec for: 'cm_d2spr'
** Do you have the right repo manifest?
so then I run
Code:
breakfast
it returns a list of devices and d2spr is not in the list.
So I'm kinda stuck here. how do I get the vendor files for d2spr?
Thanks!
I had to add a roomservice.xml to the local_manifests folder (under .repo in your main directory), to get it up and running:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="Hrubak/d2spr-tools.git" path="d2spr-tools" remote="github" revision="cm-12.0" />
<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" revision="cm-12.0" />
<project name="CyanogenMod/android_device_samsung_d2spr" path="device/samsung/d2spr" remote="github" />
<project name="CyanogenMod/android_device_samsung_qcom-common" path="device/samsung/qcom-common" remote="github" />
<project name="CyanogenMod/android_device_samsung_msm8960-common" path="device/samsung/msm8960-common" />
<project name="CyanogenMod/android_device_samsung_d2-common" path="device/samsung/d2-common" remote="github" />
<project name="CyanogenMod/android_kernel_samsung_d2" path="kernel/samsung/d2" remote="github" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" />
</manifest>
and then run
Code:
d2spr-tools/apply.sh
Be advised that when I ran the shell script I got a conflict with one of the files. You can either attempt to correct the error or run "git cherry-pick --abort" in the conflicting directory.
and then finally
Code:
. build/envsetup.sh && brunch d2spr
will compile it.
got these instructions from here:
github.com/Hrubak/d2spr-tools
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.
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>