[Android] Hai96:
Iam trying to compile XenonHD Rom for my device (Htc One S aka ville) but the build fails on some audio releated thing...

Ive found a commit releated to that and reverted it but it changed nothing... Hopefully someone here can help me solving this, since Iam not far away from finishing the build process(apks are already installing) :)

https://github.com/CyanogenMod/andr...mmit/3ca773310ade547e540e878d748cd10e8e9f1282

https://github.com/CyanogenMod/andr...mmit/13bfcc65376a5c612c6488e6d1b3677775c5c299

Error:

CUTABLES/sensorservice_intermediates/sensorservice)
target Strip: surfaceflinger (/home/julian/xenon/out/target/product/ville/obj/EXECUTABLES/surfaceflinger_intermediates/surfaceflinger)
target Java: ethernet-service (/home/julian/xenon/out/target/common/obj/JAVA_LIBRARIES/ethernet-service_intermediates/classes)
Copying: /home/julian/xenon/out/target/common/obj/JAVA_LIBRARIES/services_intermediates/noproguard.classes.jar
target SharedLib: librtp_jni (/home/julian/xenon/out/target/product/ville/obj/SHARED_LIBRARIES/librtp_jni_intermediates/LINKED/librtp_jni.so)
target Java: wifi-service (/home/julian/xenon/out/target/common/obj/JAVA_LIBRARIES/wifi-service_intermediates/classes)
target SharedLib: audio.primary.msm8960 (/home/julian/xenon/out/target/product/ville/obj/SHARED_LIBRARIES/audio.primary.msm8960_intermediates/LINKED/audio.primary.msm8960.so)
/home/julian/xenon/out/target/product/ville/obj/STATIC_LIBRARIES/libaudiohw_legacy_intermediates/libaudiohw_legacy.a(AudioHardwareInterface.o):AudioHardwareInterface.cpp:function vtable for android_audio_legacy::AudioStreamOut: error: undefined reference to 'android_audio_legacy::AudioStreamOut::getPresentationPosition(unsigned long long*, timespec*)'
collect2: error: ld returned 1 exit status
make: *** [/home/julian/xenon/out/target/product/ville/obj/SHARED_LIBRARIES/audio.primary.msm8960_intermediates/LINKED/audio.primary.msm8960.so] Error 1
make: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
julian@julian-M52LT-D3:~/xenon$

Edit: Fixed this Error but now Iam stucking on packing the zip... does anyone know what i need to to?

Optimizing: Shell.apk...
Optimizing: ExternalStorageProvider.apk...
Optimizing: Dialer.apk...
Optimizing: WallpaperCropper.apk...
Optimizing: ContactsProvider.apk...
Optimizing: Settings.apk...
Optimizing: ManagedProvisioning.apk...
Installed file list: /home/julian/xenon/out/target/product/ville/installed-files.txt
Target system fs image: /home/julian/xenon/out/target/product/ville/obj/PACKAGING/systemimage_intermediates/system.img
Running: mkuserimg.sh -s /home/julian/xenon/out/target/product/ville/system /home/julian/xenon/out/target/product/ville/obj/PACKAGING/systemimage_intermediates/system.img ext4 system 1744829440 /home/julian/xenon/out/target/product/ville/root/file_contexts
make_ext4fs -s -T -1 -S /home/julian/xenon/out/target/product/ville/root/file_contexts -l 1744829440 -a system /home/julian/xenon/out/target/product/ville/obj/PACKAGING/systemimage_intermediates/system.img /home/julian/xenon/out/target/product/ville/system
Creating filesystem with parameters:
Size: 1744826368
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 6655
Label:
Blocks: 425983
Block groups: 13
Reserved block group size: 103
Created filesystem with 1979/106496 inodes and 113724/425983 blocks
Package target files: /home/julian/xenon/out/target/product/ville/obj/PACKAGING/target_files_intermediates/xenonhd_ville-target_files-eng.julian.zip
Traceback (most recent call last):
File "./build/tools/releasetools/make_recovery_patch", line 53, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/make_recovery_patch", line 35, in main
OPTIONS.info_dict = common.LoadInfoDict(input_dir)
File "/home/julian/xenon/build/tools/releasetools/common.py", line 175, in LoadInfoDict
d["fstab"] = LoadRecoveryFSTab(read_helper, d["fstab_version"], d["device_type"])
File "/home/julian/xenon/build/tools/releasetools/common.py", line 250, in LoadRecoveryFSTab
raise ValueError("malformed recovery.fstab line: \"%s\"" % (line,))
ValueError: malformed recovery.fstab line: "-include device/htc/s4-common/BoardConfigCommon.mk"
make: *** [/home/julian/xenon/out/target/product/ville/obj/PACKAGING/target_files_intermediates/xenonhd_ville-target_files-eng.julian.zip] Error 1