<div dir="ltr">I've checkout the current git head and libstagefright.cpp doesn't compile. In build_error.txt you can find the error report.<div><br></div><div>I was also getting this error with the previous version that I was using (1.1.5) and I fixed it including the header internal.h, but if I try to apply the same simple patch, I get another error. In after_patch_build_error.txt you can find the error report.<br>
</div><div><br></div><div style>To confirm that I'm using the git head I executed git log --pretty=format:%H -1 and I got: cea8a0077fc597a11838f2f7242c01722d577b44</div><div><br></div><div>I'm using the arm-linux-androideabi-4.6 toolchain from Android NDK r8e. The Android headers I'm using were downloaded from:</div>
<div><br></div><div><div>git://<a href="http://github.com/CyanogenMod/android_frameworks_base.git">github.com/CyanogenMod/android_frameworks_base.git</a></div><div>git://<a href="http://github.com/CyanogenMod/android_system_core.git">github.com/CyanogenMod/android_system_core.git</a></div>
<div>git://<a href="http://github.com/CyanogenMod/android_frameworks_native.git">github.com/CyanogenMod/android_frameworks_native.git</a></div><div>git://<a href="http://github.com/CyanogenMod/android_frameworks_av.git">github.com/CyanogenMod/android_frameworks_av.git</a></div>
<div>git://<a href="http://github.com/CyanogenMod/android_hardware_libhardware.git">github.com/CyanogenMod/android_hardware_libhardware.git</a></div></div><div><br><div><div style>And the Android libraries were downloaded from:</div>
<div style><br></div><div style><a href="http://get.cm/get/jenkins/32371/cm-10.1.0-mako.zip">http://get.cm/get/jenkins/32371/cm-10.1.0-mako.zip</a><br></div><div style><br></div><div style>The configure line I'm using is:</div>
<div style><br></div><div style>./configure --target-os=linux --cross-prefix=arm-linux-androideabi- --enable-cross-compile --disable-optimizations --disable-stripping --enable-debug=3 --arch=arm --enable-asm --disable-symver --enable-runtime-cpudetect --disable-doc --disable-ffplay --disable-ffprobe --disable-ffserver --sysroot=/tmp/vplayer/sysroot/ --disable-avdevice --disable-decoder=h264 --disable-decoder=h264_vdpau --enable-libstagefright-h264 --enable-decoder=libstagefright_h264 --prefix=../build/stagefright/armeabi-v7a --extra-cflags='-I/tmp/vplayer/sysroot//usr/include/ -I../android-source/frameworks/base/include -I../android-source/system/core/include -I../android-source/frameworks/av/include -I../android-source/hardware/libhardware/include -I../android-source/frameworks/av/include/media/stagefright -I../android-source/frameworks/native/include -I../android-source/frameworks/native/include/media/openmax -I/home/aalonso/Desktop/Work/Android/android-ndk-r8e//sources/cxx-stl/gnu-libstdc++/4.6/include -I/home/aalonso/Desktop/Work/Android/android-ndk-r8e//sources/cxx-stl/gnu-libstdc++/4.6/libs/armeabi-v7a/include -Wall -mthumb -pipe -fpic -fasm -g -finline-limit=300 -ffast-math   -fmodulo-sched -fmodulo-sched-allow-regmoves   -fstrict-aliasing -Werror=strict-aliasing   -Wno-psabi -Wa,--noexecstack   -D__ARM_ARCH_5__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5TE__   -DANDROID -DNDEBUG -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp' --extra-ldflags='-Wl,--fix-cortex-a8 -L../android-libs -L/home/aalonso/Desktop/Work/Android/android-ndk-r8e//sources/cxx-stl/gnu-libstdc++/4.6/libs/armeabi-v7a -Wl,-rpath-link,../android-libs' --extra-cxxflags='-Wno-multichar -fno-exceptions -fno-rtti'</div>
<div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/25 Carl Eugen Hoyos <span dir="ltr"><<a href="mailto:cehoyos@ag.or.at" target="_blank">cehoyos@ag.or.at</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Abel Alonso <abelalon@...> writes:<br>
<br>
> As you can see, I had to enable the memalgin-hack to<br>
> get the app built. I did it because without that flag,<br>
> the file libavutil/mem.c didn't compile successfully<br>
<br>
</div>Please provide the error report, but please test<br>
current git head first, your version looks old.<br>
<br>
What toolchain are you using?<br>
<span class="HOEnZb"><font color="#888888"><br>
Carl Eugen<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</div></div></blockquote></div><br></div>