ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #14073
audio_policy.msm8960 Fails to Build
Hello,
I have troubles building Ubuntu Touch for a new device (Photon Q). I
downloaded the code, using phablet-dev-bootstrap.
The build fails with the following error:
target thumb C++: audio_policy.msm8960 <=
hardware/qcom/audio/legacy/alsa_sound/AudioPolicyManagerALSA.cpp
Import includes file:
/home/vladislav/Projects/razrqcom/out/target/product/moto_msm8960_jbbl/obj/SHARED_LIBRARIES/copybit.msm8960_intermediates/import_includes
hardware/qcom/audio/legacy/alsa_sound/AudioPolicyManagerALSA.cpp: In member
function 'virtual void
android_audio_legacy::AudioPolicyManager::setPhoneState(int)':
hardware/qcom/audio/legacy/alsa_sound/AudioPolicyManagerALSA.cpp:124:42:
warning: comparison between signed and unsigned integer expressions
[-Wsign-compare]
hardware/qcom/audio/legacy/alsa_sound/AudioPolicyManagerALSA.cpp:128:23:
error: 'class
android_audio_legacy::AudioPolicyManagerBase::AudioOutputDescriptor' has no
member named 'strategyRefCount'
build/core/binary.mk:432: recipe for target
'/home/vladislav/Projects/razrqcom/out/target/product/moto_msm8960_jbbl/obj/SHARED_LIBRARIES/audio_policy.msm8960_intermediates/AudioPolicyManagerALSA.o'
failed
make: ***
[/home/vladislav/Projects/razrqcom/out/target/product/moto_msm8960_jbbl/obj/SHARED_LIBRARIES/audio_policy.msm8960_intermediates/AudioPolicyManagerALSA.o]
Error 1
This code comes from Ubuntu:
git remote -v
phablet
https://code-review.phablet.ubuntu.com/aosp/platform/hardware/qcom/audio
(fetch)
phablet
https://code-review.phablet.ubuntu.com/aosp/platform/hardware/qcom/audio
(push)
Is it OK to replace everything in the hardware/qcom folder in the local
manifest, to use the respective code from CyanogenMod?
Thank you,
Vladislav
P.S.
This is just the first of many errors.
--
Vladislav Evgeniev
Software Engineer
Web: http://www.vladislavonline.com