vlc编译错误

wufen@wufenPC:~/code/VLC/android$ sh compile.sh
For an ARMv6 device without FPU:
$ export NO_FPU=1
For an ARMv5 device:
$ export NO_ARMV6=1

If you plan to use a release build, run 'compile.sh release'
VLC source found
Building tools
You are ready to build VLC and its contribs
Building the contribs
Guessing build system... x86_64-linux-gnu
Creating configuration file... config.mak
Bootstrap completed.

Run "make" to start compilation.

Other targets:
 * make install      same as "make"
 * make prebuilt     fetch and install prebuilt binaries
 * make list         list packages
 * make fetch        fetch required source tarballs
 * make fetch-all    fetch all source tarballs
 * make distclean    clean everything and undo bootstrap
 * make mostlyclean  clean everything except source tarballs
 * make clean        clean everything
 * make package      prepare prebuilt packages
make: 没有什么可以做的为 `fetch'。
cd libebml && make -C make/linux prefix="/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi" CC="arm-linux-androideabi-gcc --sysroot=/home/wufen/ide/android-ndk-r8e/platforms/android-9/arch-arm" CXX="arm-linux-androideabi-g++ --sysroot=/home/wufen/ide/android-ndk-r8e/platforms/android-9/arch-arm" LD="arm-linux-androideabi-ld" AR="arm-linux-androideabi-ar" CCAS="arm-linux-androideabi-gcc --sysroot=/home/wufen/ide/android-ndk-r8e/platforms/android-9/arch-arm -c" RANLIB="arm-linux-androideabi-ranlib" STRIP="arm-linux-androideabi-strip" PATH="/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/bin:/home/wufen/code/VLC/android/vlc/extras/tools/build/bin:/home/wufen/code/VLC/android/vlc/extras/tools/build/bin:/home/wufen/ide/android-ndk-r8e/toolchains/arm-linux-androideabi-4.7/prebuilt/linux-x86/bin:/usr/jvm/jdk1.6.0_43/bin:/usr/jvm/jdk1.6.0_43/jre/bin:/home/wufen/bin:/usr/jvm/jdk1.6.0_43/bin:/usr/jvm/jdk1.6.0_43/jre/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/wufen/ide/android-sdk-linux/platform-tools:/home/wufen/ide/android-sdk-linux/tools:/home/wufen/ide/android-ndk-r8d-linux-x86:/home/wufen/ide/android-sdk-linux/platform-tools:/home/wufen/ide/android-sdk-linux/tools:/home/wufen/ide/android-ndk-r8e" CPPFLAGS=" -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -O2 -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/include -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/libs/armeabi-v7a/include -I/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include" CFLAGS=" -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -O2 -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/include -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/libs/armeabi-v7a/include -I/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include -g" CXXFLAGS=" -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -O2 -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/include -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/libs/armeabi-v7a/include -I/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include -g" LDFLAGS=" -L/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/lib" CXXFLAGS=" -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -O2 -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/include -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/libs/armeabi-v7a/include -I/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include -g -fexceptions" CPPFLAGS="" staticlib
make[1]: 正在进入目录 `/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux'
arm-linux-androideabi-g++ --sysroot=/home/wufen/ide/android-ndk-r8e/platforms/android-9/arch-arm -c -Wall -Wextra -Wno-unknown-pragmas -fno-gnu-keywords -Wshadow -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -O2 -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/include -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/libs/armeabi-v7a/include -I/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include -g -fexceptions   -I/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../.. -fPIC -o /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlFloat.o /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlFloat.cpp
arm-linux-androideabi-g++ --sysroot=/home/wufen/ide/android-ndk-r8e/platforms/android-9/arch-arm -c -Wall -Wextra -Wno-unknown-pragmas -fno-gnu-keywords -Wshadow -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -O2 -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/include -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/libs/armeabi-v7a/include -I/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include -g -fexceptions   -I/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../.. -fPIC -o /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.o /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.cpp
arm-linux-androideabi-g++ --sysroot=/home/wufen/ide/android-ndk-r8e/platforms/android-9/arch-arm -c -Wall -Wextra -Wno-unknown-pragmas -fno-gnu-keywords -Wshadow -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -O2 -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/include -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/libs/armeabi-v7a/include -I/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include -g -fexceptions   -I/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../.. -fPIC -o /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlString.o /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlString.cpp
arm-linux-androideabi-g++ --sysroot=/home/wufen/ide/android-ndk-r8e/platforms/android-9/arch-arm -c -Wall -Wextra -Wno-unknown-pragmas -fno-gnu-keywords -Wshadow -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -O2 -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/include -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/libs/armeabi-v7a/include -I/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include -g -fexceptions   -I/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../.. -fPIC -o /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSubHead.o /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSubHead.cpp
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.cpp:58:1: error: prototype for 'libebml::EbmlSInteger::operator int8() const' does not match any in class 'libebml::EbmlSInteger'
In file included from /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.cpp:37:0:
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:74:3: error: candidates are: libebml::EbmlSInteger::operator int8()
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:75:3: error:                 libebml::EbmlSInteger::operator int16()
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:76:3: error:                 libebml::EbmlSInteger::operator int32()
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:77:3: error:                 libebml::EbmlSInteger::operator int64()
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.cpp:59:1: error: prototype for 'libebml::EbmlSInteger::operator int16() const' does not match any in class 'libebml::EbmlSInteger'
In file included from /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.cpp:37:0:
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:74:3: error: candidates are: libebml::EbmlSInteger::operator int8()
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:75:3: error:                 libebml::EbmlSInteger::operator int16()
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:76:3: error:                 libebml::EbmlSInteger::operator int32()
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:77:3: error:                 libebml::EbmlSInteger::operator int64()
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.cpp:60:1: error: prototype for 'libebml::EbmlSInteger::operator int32() const' does not match any in class 'libebml::EbmlSInteger'
In file included from /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.cpp:37:0:
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:74:3: error: candidates are: libebml::EbmlSInteger::operator int8()
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:75:3: error:                 libebml::EbmlSInteger::operator int16()
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:76:3: error:                 libebml::EbmlSInteger::operator int32()
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:77:3: error:                 libebml::EbmlSInteger::operator int64()
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.cpp:61:1: error: prototype for 'libebml::EbmlSInteger::operator int64() const' does not match any in class 'libebml::EbmlSInteger'
In file included from /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.cpp:37:0:
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:74:3: error: candidates are: libebml::EbmlSInteger::operator int8()
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:75:3: error:                 libebml::EbmlSInteger::operator int16()
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:76:3: error:                 libebml::EbmlSInteger::operator int32()
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:77:3: error:                 libebml::EbmlSInteger::operator int64()
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.cpp:63:32: error: no 'int64 libebml::EbmlSInteger::GetValue() const' member function declared in class 'libebml::EbmlSInteger'
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.cpp:65:53: error: no 'libebml::EbmlSInteger& libebml::EbmlSInteger::SetValue(int64)' member function declared in class 'libebml::EbmlSInteger'
make[1]: *** [/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.o] 错误 1
make[1]: *** 正在等待未完成的任务....
In file included from /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlFloat.cpp:39:0:
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlFloat.h:82:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlFloat.h:83:27: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlFloat.h:87:29: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlFloat.cpp:70:8: error: prototype for 'double libebml::EbmlFloat::DefaultVal() const' does not match any in class 'libebml::EbmlFloat'
In file included from /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlFloat.cpp:39:0:
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlFloat.h:87:16: error: candidate is: const double libebml::EbmlFloat::DefaultVal() const
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlFloat.cpp:76:29: error: no 'libebml::EbmlFloat::operator float() const' member function declared in class 'libebml::EbmlFloat'
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlFloat.cpp:77:30: error: no 'libebml::EbmlFloat::operator double() const' member function declared in class 'libebml::EbmlFloat'
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlFloat.cpp:79:30: error: no 'double libebml::EbmlFloat::GetValue() const' member function declared in class 'libebml::EbmlFloat'
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlFloat.cpp:81:48: error: no 'libebml::EbmlFloat& libebml::EbmlFloat::SetValue(double)' member function declared in class 'libebml::EbmlFloat'
make[1]: *** [/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlFloat.o] 错误 1
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlString.cpp:125:61: error: no 'libebml::EbmlString& libebml::EbmlString::SetValue(const string&)' member function declared in class 'libebml::EbmlString'
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlString.cpp:129:36: error: no 'std::string libebml::EbmlString::GetValue() const' member function declared in class 'libebml::EbmlString'
make[1]: *** [/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlString.o] 错误 1
make[1]:正在离开目录 `/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux'
make: *** [.ebml] 错误 2

wufen@wufenPC:~/code/VLC/android$





最后通过:

sudo apt-get build-dep vlc

解决

你可能感兴趣的:(vlc编译错误)