Latest vlc android comilation error

This forum is about all development around libVLC.
truestep
Blank Cone
Blank Cone
Posts: 11
Joined: 14 Jan 2015 08:15

Latest vlc android comilation error

Postby truestep » 14 Jan 2015 08:29

Hello.
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:
io-sim.c:128:1: error: static declaration of 'sincos' follows non-static declaration
sincos (double x,
^
Here is more complete output:
/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
Could you help me? What is wrong?
Also a few months ago I compiled it without any problem but vlc version was older there.

Andrey

truestep
Blank Cone
Blank Cone
Posts: 11
Joined: 14 Jan 2015 08:15

Re: Latest vlc android comilation error

Postby truestep » 15 Jan 2015 20:33

ok. All this was on lubuntu. On ubuntu everything builds fine except this issue https://forum.videolan.org/viewtopic.php?f=35&t=123647


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 9 guests