← Back to team overview

ubuntu-phone team mailing list archive

Re: Compiererror while porting to Xperia Neo V

 

Hello, I just rebuild everything and got a more detailed error this time:

frameworks/av/services/audioflinger/AudioPolicyService.cpp:1571:5: sorry, unimplemented: non-trivial designated initializers not supported frameworks/av/services/audioflinger/AudioPolicyService.cpp:1571:5: sorry, unimplemented: non-trivial designated initializers not supported frameworks/av/services/audioflinger/AudioPolicyService.cpp:1571:5: sorry, unimplemented: non-trivial designated initializers not supported frameworks/av/services/audioflinger/AudioPolicyService.cpp:1571:5: warning: missing initializer for member 'audio_policy_service_ops::open_input_on_module' [-Wmissing-field-initializers] make: *** [/home/daniel/xperia/out/target/product/haida/obj/SHARED_LIBRARIES/libaudioflinger_intermediates/AudioPolicyService.o] Fehler 1
make: *** Warte auf noch nicht beendete Prozesse...
In file included from frameworks/av/services/audioflinger/AudioFlinger.cpp:60:0: frameworks/av/services/audioflinger/AudioFlinger.h: In constructor 'android::AudioFlinger::DirectAudioTrack::DirectAudioTrack(const android::sp<android::AudioFlinger>&, int, android::AudioFlinger::AudioSessionDescriptor*, android::IDirectTrackClient*, audio_output_flags_t)': frameworks/av/services/audioflinger/AudioFlinger.h:1516:26: warning: 'android::AudioFlinger::DirectAudioTrack::mAudioFlinger' will be initialized after [-Wreorder] frameworks/av/services/audioflinger/AudioFlinger.h:1464:14: warning: 'int android::AudioFlinger::DirectAudioTrack::mOutput' [-Wreorder] frameworks/av/services/audioflinger/AudioFlinger.cpp:6131:1: warning: when initialized here [-Wreorder] In file included from frameworks/av/services/audioflinger/AudioFlinger.cpp:60:0: frameworks/av/services/audioflinger/AudioFlinger.h:1464:14: warning: 'android::AudioFlinger::DirectAudioTrack::mOutput' will be initialized after [-Wreorder] frameworks/av/services/audioflinger/AudioFlinger.h:1463:33: warning: 'android::AudioFlinger::AudioSessionDescriptor* android::AudioFlinger::DirectAudioTrack::mOutputDesc' [-Wreorder] frameworks/av/services/audioflinger/AudioFlinger.cpp:6131:1: warning: when initialized here [-Wreorder] In file included from frameworks/av/services/audioflinger/AudioFlinger.cpp:60:0: frameworks/av/services/audioflinger/AudioFlinger.h:1463:33: warning: 'android::AudioFlinger::DirectAudioTrack::mOutputDesc' will be initialized after [-Wreorder] frameworks/av/services/audioflinger/AudioFlinger.h:1462:29: warning: 'android::IDirectTrackClient* android::AudioFlinger::DirectAudioTrack::mClient' [-Wreorder] frameworks/av/services/audioflinger/AudioFlinger.cpp:6131:1: warning: when initialized here [-Wreorder] In file included from frameworks/av/services/audioflinger/AudioFlinger.cpp:60:0: frameworks/av/services/audioflinger/AudioFlinger.h:1496:14: warning: 'android::AudioFlinger::DirectAudioTrack::mEffectConfigChanged' will be initialized after [-Wreorder] frameworks/av/services/audioflinger/AudioFlinger.h:1494:14: warning: 'bool android::AudioFlinger::DirectAudioTrack::mKillEffectsThread' [-Wreorder] frameworks/av/services/audioflinger/AudioFlinger.cpp:6131:1: warning: when initialized here [-Wreorder] In file included from frameworks/av/services/audioflinger/AudioFlinger.cpp:60:0: frameworks/av/services/audioflinger/AudioFlinger.h:1494:14: warning: 'android::AudioFlinger::DirectAudioTrack::mKillEffectsThread' will be initialized after [-Wreorder] frameworks/av/services/audioflinger/AudioFlinger.h:1466:30: warning: 'audio_output_flags_t android::AudioFlinger::DirectAudioTrack::mFlag' [-Wreorder] frameworks/av/services/audioflinger/AudioFlinger.cpp:6131:1: warning: when initialized here [-Wreorder] frameworks/av/services/audioflinger/AudioFlinger.cpp: In member function 'android::sp<android::AudioFlinger::EffectModule> android::AudioFlinger::EffectChain::getEffectFromIndex_l(int)': frameworks/av/services/audioflinger/AudioFlinger.cpp:10044:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

Hope someone can help me,
Daniel Winzen

Am 03.03.2013 08:25, schrieb Daniel Winzen:
Hello, I'm not using CM10.1, because CM10 is the latest for my Neo V.

I cloned the repository with "phablet-dev-bootstrap xperia"
I added these lines to the manifest.xml:
<project path="device/semc/haida" name="CyanogenMod/android_device_semc_haida" remote="github" revision="refs/heads/jellybean" /> <project path="device/semc/mogami-common" name="CyanogenMod/android_device_semc_mogami-common" remote="github" revision="refs/heads/jellybean" /> <project path="hardware/somc/dash" name="CyanogenMod/android_hardware_sony_DASH" remote="github" revision="refs/heads/cm-10.1" /> <project path="hardware/ti/fmradio" name="CyanogenMod/android_hardware_ti_fmradio" remote="github" revision="refs/heads/jellybean" /> <project path="device/semc/msm7x30-common" name="CyanogenMod/android_device_semc_msm7x30-common" remote="github" revision="refs/heads/jellybean" /> <project path="kernel/semc/msm7x30" name="CyanogenMod/semc-kernel-msm7x30" remote="github" revision="refs/heads/jellybean" />
I updated the repository with "phablet-dev-bootstrap -c xperia"
I downloaded the latest nightly for my device http://download.cyanogenmod.org/?device=haida (24.02.13) Then I looked in the "device/semc/haida/extract-files.sh" and extracted the binary files manually.
I started ./setup-makefiles.sh
I removed the ",nosuid" in "device/semc/msm7x30-common/prebuild/fstab.semc". I updated the kernelconfiguration for my device in "/kernel/semc/msm7x30/arch/arm/configs/cyanogen_haida_defgonfig" as follows:
CONFIG_SYSVIPC=y
CONFIG_NAMESPACES=y
CONFIG_UTS_NS=y
CONFIG_IPC_NS=y
CONFIG_USER_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
CONFIG_DEVTMPFS=y
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
CONFIG_FSNOTIFY=y
CONFIG_DNOTIFY=y
CONFIG_INOTIFY_USER=y
CONFIG_FANOTIFY=y
CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
CONFIG_FSNOTIFY=y
CONFIG_SWAP=y
# CONFIG_ANDROID_PARANOID_NETWORK is not set
Then I added " chmod 0666 /sys/class/leds/lcd-backlight/brightness" to the "device/semc/mogami-common/prebuild/init.semc.rc" After all these changes, I tryed ". build/envsetup.sh" and "brunch haida" but the build stopped after one or two minutes, because I'm not a programmer yet, I just disabled the failing modules in "device/semc/msm7x30-common/msm7x30.mk": I commented "libOmxVdec \" out and in "device/semc/mogami-common" I commented out "Fmapplication \".
Then I started "brunch haida" again, but after a while I got this error:
frameworks/av/services/audioflinger/AudioPolicyService.cpp:1571:5: sorry, unimplemented: non-trivial designated initializers not supported frameworks/av/services/audioflinger/AudioPolicyService.cpp:1571:5: sorry, unimplemented: non-trivial designated initializers not supported frameworks/av/services/audioflinger/AudioPolicyService.cpp:1571:5: sorry, unimplemented: non-trivial designated initializers not supported frameworks/av/services/audioflinger/AudioPolicyService.cpp:1571:5: warning: missing initializer for member 'audio_policy_service_ops::open_input_on_module' [-Wmissing-field-initializers] make: *** [/home/daniel/xperia/out/target/product/haida/obj/SHARED_LIBRARIES/libaudioflinger_intermediates/AudioPolicyService.o] Error 1

Thanks for your help,
Daniel Winzen

Am 03.03.2013 00:55, schrieb f69m:
First of all: can you compile CM 10.1? If not there might be something weird on your system.
What system are you running on?

Given you can compile CM 10.1, can you give more details on what you have done, so I can try to reproduce that? Maybe then I can help. Please document your steps, starting from cloning the phablet repositories. This includes changes to the manifest and changes to your device/kernel images.

Not sure the whole list is interested, you find my email in the header. ;-)


On 03/02/2013 11:57 PM, Andrew Black wrote:

I am having the precise same error while trying to port to the HTC sensation. Any clues would be much appreciated.

On 2 Mar 2013 22:54, "Daniel Winzen" <d@xxxxxxxxxx <mailto:d@xxxxxxxxxx>> wrote:

    Hello,

    While porting to Xperia Neo V I run "brunch haida", but I get
    this error:
    frameworks/av/services/audioflinger/AudioPolicyService.cpp:1571:5:
    sorry, unimplemented: non-trivial designated initializers not
    supported
    frameworks/av/services/audioflinger/AudioPolicyService.cpp:1571:5:
    sorry, unimplemented: non-trivial designated initializers not
    supported
    frameworks/av/services/audioflinger/AudioPolicyService.cpp:1571:5:
    sorry, unimplemented: non-trivial designated initializers not
    supported
    frameworks/av/services/audioflinger/AudioPolicyService.cpp:1571:5:
    warning: missing initializer for member
    'audio_policy_service_ops::open_input_on_module'
    [-Wmissing-field-initializers]
    make: ***
    [/home/daniel/xperia/out/target/product/haida/obj/SHARED_LIBRARIES/libaudioflinger_intermediates/AudioPolicyService.o]
    Error 1

    Can anybody help, pleas?

    Thanks,
    Daniel Winzen

-- Daniel Winzen
    d@xxxxxxxxxx <mailto:d@xxxxxxxxxx>
    My Websites:
    https://launchpad.net/~q-d <https://launchpad.net/%7Eq-d>
    http://manual.audacityteam.org/man/User:Daniel
    http://l10n.gnome.org/users/DanWin/
    https://www.transifex.com/accounts/profile/DanWin/
    https://github.com/DanWin


-- Mailing list: https://launchpad.net/~ubuntu-phone
    <https://launchpad.net/%7Eubuntu-phone>
    Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
    <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~ubuntu-phone
    <https://launchpad.net/%7Eubuntu-phone>
    More help   : https://help.launchpad.net/ListHelp








--
Daniel Winzen
d@xxxxxxxxxx
My Websites:
https://launchpad.net/~q-d
http://manual.audacityteam.org/man/User:Daniel
http://l10n.gnome.org/users/DanWin/
https://www.transifex.com/accounts/profile/DanWin/
https://github.com/DanWin


--
Daniel Winzen
d@xxxxxxxxxx
My Websites:
https://launchpad.net/~q-d
http://manual.audacityteam.org/man/User:Daniel
http://l10n.gnome.org/users/DanWin/
https://www.transifex.com/accounts/profile/DanWin/
https://github.com/DanWin


References