I'm trying to build vlc for android. I did everything exactly like in this guide https://wiki.videolan.org/AndroidCompile/
I'm on ubuntu 14.10 with all the latest tools. Also I had gcc 4.9.1 and updated it to 4.9.2 but still getting this error:
Here is more complete output:io-sim.c:128:1: error: static declaration of 'sincos' follows non-static declaration
sincos (double x,
^
Could you help me? What is wrong?/bin/bash ../libtool --tag=CC --mode=compile arm-linux-androideabi-gcc --sysroot=/home/andrey/android/android-ndk-r9/platforms/android-9/arch-arm -DHAVE_CONFIG_H -I. -I.. -I.. -D_REENTRANT -D_GNU_SOURCE -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -O2 -I/home/andrey/android/android-ndk-r9/sources/cxx-stl/gnu-libstdc++/4.8/include -I/home/andrey/android/android-ndk-r9/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include -I/home/andrey/android/android/vlc/contrib/arm-linux-androideabi/include -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -O2 -I/home/andrey/android/android-ndk-r9/sources/cxx-stl/gnu-libstdc++/4.8/include -I/home/andrey/android/android-ndk-r9/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include -I/home/andrey/android/android/vlc/contrib/arm-linux-androideabi/include -g -c -o io-sim.lo io-sim.c
libtool: compile: arm-linux-androideabi-gcc --sysroot=/home/andrey/android/android-ndk-r9/platforms/android-9/arch-arm -DHAVE_CONFIG_H -I. -I.. -I.. -D_REENTRANT -D_GNU_SOURCE -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -O2 -I/home/andrey/android/android-ndk-r9/sources/cxx-stl/gnu-libstdc++/4.8/include -I/home/andrey/android/android-ndk-r9/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include -I/home/andrey/android/android/vlc/contrib/arm-linux-androideabi/include -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -O2 -I/home/andrey/android/android-ndk-r9/sources/cxx-stl/gnu-libstdc++/4.8/include -I/home/andrey/android/android-ndk-r9/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include -I/home/andrey/android/android/vlc/contrib/arm-linux-androideabi/include -g -c io-sim.c -fPIC -DPIC -o io-sim.o
io-sim.c:128:1: error: static declaration of 'sincos' follows non-static declaration
sincos (double x,
^
Makefile:745: recipe for target 'io-sim.lo' failed
make[3]: *** [io-sim.lo] Error 1
Also a few months ago I compiled it without any problem but vlc version was older there.
Andrey