hello, about half a mouth before,I done step by step in https://wiki.videolan.org/AndroidCompile ,and I succeed to compile it. yesterday,for some reason,I delete the sourse code,and do step by step again according to https://wiki.videolan.org/AndroidCompile.this time,it has some errors after "sh compile.sh",my Operating System is debian 7.0 i386,in root permission.I am sure the sourses are newest from git.I really don't know the reason. the followings are the errors(with the red color appearance):
root@debian:/home/android/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
Generating EGL pkg-config file
Generating GLESv2 pkg-config file
Guessing build system... i486-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
/bin/sh: 1: arm-linux-androideabi-gcc: not found
/bin/sh: 1: arm-linux-androideabi-gcc: not found
dirname: missing operand
Try `dirname --help' for more information.
make: Nothing to be done for `fetch'.
/bin/sh: 1: arm-linux-androideabi-gcc: not found
/bin/sh: 1: arm-linux-androideabi-gcc: not found
dirname: missing operand
Try `dirname --help' for more information.
mkdir -p --
/home/android/android/vlc/contrib/arm-linux-androideabi/share/aclocal && cd
a52dec && autoreconf -fiv
-I/home/android/android/vlc/contrib/arm-linux-androideabi/share/aclocal
mkdir -p --
/home/android/android/vlc/contrib/arm-linux-androideabi/share/aclocal && cd
fribidi && autoreconf -fiv
-I/home/android/android/vlc/contrib/arm-linux-androideabi/share/aclocal
rm -f -R dvdnav && tar xvJf ../../contrib/tarballs/libdvdnav-git.tar.xz
cd ffmpeg && CC="arm-linux-androideabi-gcc
--sysroot=/home/android/android-ndk-r10/platforms/android-9/arch-arm"
CXX="arm-linux-androideabi-g++
--sysroot=/home/android/android-ndk-r10/platforms/android-9/arch-arm"
LD="arm-linux-androideabi-ld" AR="arm-linux-androideabi-ar"
CCAS="arm-linux-androideabi-gcc
--sysroot=/home/android/android-ndk-r10/platforms/android-9/arch-arm -c"
RANLIB="arm-linux-androideabi-ranlib" STRIP="arm-linux-androideabi-strip"
PATH="/home/android/android/vlc/contrib/arm-linux-androideabi/bin:/home/android/android/vlc/extras/tools/build/bin:/home/android/android/vlc/extras/tools/build/bin:/home/android/android-ndk-r10/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-*/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/android/android/vlc/contrib/contrib-android-arm-linux-androideabi/../arm-linux-androideabi/bin"
CPPFLAGS=" -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -O2
-I/home/android/android-ndk-r10/sources/cxx-stl/gnu-libstdc++/4.8/include
-I/home/android/android-ndk-r10/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include
-I/home/android/android/vlc/contrib/arm-linux-androideabi/include" CFLAGS=" -g
-mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -O2
-I/home/android/android-ndk-r10/sources/cxx-stl/gnu-libstdc++/4.8/include
-I/home/android/android-ndk-r10/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include
-I/home/android/android/vlc/contrib/arm-linux-androideabi/include -g"
CXXFLAGS=" -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -O2
-I/home/android/android-ndk-r10/sources/cxx-stl/gnu-libstdc++/4.8/include
-I/home/android/android-ndk-r10/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include
-I/home/android/android/vlc/contrib/arm-linux-androideabi/include -g"
LDFLAGS=" -L/home/android/android/vlc/contrib/arm-linux-androideabi/lib"
./configure \
--extra-ldflags="
-L/home/android/android/vlc/contrib/arm-linux-androideabi/lib"
--cc="arm-linux-androideabi-gcc
--sysroot=/home/android/android-ndk-r10/platforms/android-9/arch-arm"
--pkg-config="pkg-config" --disable-doc --disable-encoder=vorbis
--enable-libgsm --enable-libopenjpeg --disable-debug --disable-avdevice
--disable-devices --disable-avfilter --disable-filters --disable-bsfs
--disable-bzlib --disable-programs --disable-avresample --disable-encoders
--disable-muxers --enable-thumb --enable-cross-compile
--cross-prefix=arm-linux-androideabi- --arch=arm --enable-neon --cpu=cortex-a8
--target-os=linux --enable-pic --enable-pthreads \
--prefix="/home/android/android/vlc/contrib/arm-linux-androideabi"
--enable-static --disable-shared
libdvdnav-git/
libdvdnav-git/README
libdvdnav-git/configure.ac
libdvdnav-git/m4/
libdvdnav-git/m4/attributes.m4
libdvdnav-git/AUTHORS
libdvdnav-git/doc/
libdvdnav-git/doc/searching.jump_to_time.readme
libdvdnav-git/doc/library_layout
libdvdnav-git/doc/mainpage.cpp
libdvdnav-git/doc/dvd_structures
libdvdnav-git/doc/doxy.conf
libdvdnav-git/doc/tutorial.cpp
libdvdnav-git/src/
libdvdnav-git/src/dvdnav/
libdvdnav-git/src/dvdnav/dvdnav_events.h
libdvdnav-git/src/dvdnav/dvd_types.h
libdvdnav-git/src/dvdnav/dvdnav.h
libdvdnav-git/src/highlight.c
libdvdnav-git/src/read_cache.c
libdvdnav-git/src/vm/
libdvdnav-git/src/vm/vmget.c
libdvdnav-git/src/vm/play.c
libdvdnav-git/src/vm/vmcmd.h
libdvdnav-git/src/vm/getset.c
libdvdnav-git/src/vm/vm.c
libdvdnav-git/src/vm/play.h
libdvdnav-git/src/vm/decoder.h
libdvdnav-git/src/vm/vm.h
libdvdnav-git/src/vm/decoder.c
libdvdnav-git/src/vm/getset.h
libdvdnav-git/src/vm/vmcmd.c
libdvdnav-git/src/dvdnav.c
libdvdnav-git/src/settings.c
libdvdnav-git/src/read_cache.h
libdvdnav-git/src/dvdnav_internal.h
libdvdnav-git/src/navigation.c
libdvdnav-git/src/searching.c
libdvdnav-git/COPYING
libdvdnav-git/misc/
libdvdnav-git/misc/dvdnavmini.pc.in
libdvdnav-git/misc/Makefile.common
libdvdnav-git/misc/libdvdnav.spec.in
libdvdnav-git/misc/dvdnav.pc.in
libdvdnav-git/ChangeLog
libdvdnav-git/DEVELOPMENT-POLICY.txt
libdvdnav-git/examples/
libdvdnav-git/examples/menus.c
libdvdnav-git/TODO
libdvdnav-git/msvc/
libdvdnav-git/msvc/play_title.dsp
libdvdnav-git/msvc/libdvdcss.def
libdvdnav-git/msvc/contrib/
libdvdnav-git/msvc/contrib/bcopy.c
libdvdnav-git/msvc/contrib/dlfcn.c
libdvdnav-git/msvc/contrib/dirent/
libdvdnav-git/msvc/contrib/dirent/dirent.c
libdvdnav-git/msvc/contrib/dirent/dirent.h
libdvdnav-git/msvc/contrib/getopt.c
libdvdnav-git/msvc/contrib/timer/
libdvdnav-git/msvc/contrib/timer/timer.h
libdvdnav-git/msvc/contrib/timer/timer.c
libdvdnav-git/msvc/libwin32utils.def
libdvdnav-git/msvc/libwin32utils.dsp
libdvdnav-git/msvc/title_info.dsp
libdvdnav-git/msvc/libdvdcss.dsp
libdvdnav-git/msvc/libdvdnav.dsw
libdvdnav-git/msvc/include/
libdvdnav-git/msvc/include/inttypes.h
libdvdnav-git/msvc/include/sys/
libdvdnav-git/msvc/include/sys/time.h
libdvdnav-git/msvc/include/getopt.h
libdvdnav-git/msvc/include/timer.h
libdvdnav-git/msvc/include/pthreads/
libdvdnav-git/msvc/include/pthreads/sched.h
libdvdnav-git/msvc/include/pthreads/pthread.h
libdvdnav-git/msvc/include/dvdnav_internal.h
libdvdnav-git/msvc/include/os_types.h
libdvdnav-git/msvc/include/unistd.h
libdvdnav-git/msvc/include/dlfcn.h
libdvdnav-git/msvc/install/
libdvdnav-git/msvc/install/README
libdvdnav-git/msvc/scripts/
libdvdnav-git/msvc/scripts/libdvdnav_install.bat
libdvdnav-git/msvc/scripts/libdvdcss_install.bat
libdvdnav-git/msvc/config.h
libdvdnav-git/msvc/ifo_dump.dsp
libdvdnav-git/msvc/libdvdnav.dsp
libdvdnav-git/msvc/libdvdnav.def
libdvdnav-git/.relignore
libdvdnav-git/Makefile.am
libdvdnav-git/.gitignore
cd libdvdnav-git && sed -i -e 's,Requires.private,Requires,g' misc/*.pc.in
cd libdvdnav-git && autoreconf -ivf
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
arm-linux-androideabi-gcc
--sysroot=/home/android/android-ndk-r10/platforms/android-9/arch-arm is unable
to create an executable file.
C compiler test failed.
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
[email protected] mailing list or IRC #libav on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
make: *** [.ffmpeg] Error 1
make: *** Waiting for unfinished jobs....
autoreconf: running: aclocal -I
/home/android/android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
autoreconf: running: aclocal -I
/home/android/android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
aclocal: warning: autoconf input should be named 'configure.ac', not
'configure.in'
autoreconf: running: aclocal --force -Im4
autoreconf: configure.in: tracing
autoreconf: configure.ac: tracing
autoreconf: configure.ac: tracing
autoreconf: configure.in: not using Libtool
autoreconf: running: /home/android/android/vlc/extras/tools/build/bin/autoconf
--include=/home/android/android/vlc/contrib/arm-linux-androideabi/share/aclocal
--force
autoreconf: configure.ac: not using Libtool
autoreconf: running: /home/android/android/vlc/extras/tools/build/bin/autoconf
--include=/home/android/android/vlc/contrib/arm-linux-androideabi/share/aclocal
--force
autoreconf: configure.ac: not using Libtool
autoreconf: running: /home/android/android/vlc/extras/tools/build/bin/autoconf
--force
autoreconf: running:
/home/android/android/vlc/extras/tools/build/bin/autoheader
--include=/home/android/android/vlc/contrib/arm-linux-androideabi/share/aclocal
--force
configure.in:74: error: possibly undefined macro: AC_DISABLE_SHARED
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:75: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
configure.in:76: error: possibly undefined macro: AC_PROG_LIBTOOL
autoreconf: /home/android/android/vlc/extras/tools/build/bin/autoconf failed
with exit status: 1
make: *** [.a52] Error 1
autoreconf: running:
/home/android/android/vlc/extras/tools/build/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: running: automake --add-missing --copy --force-missing
charset/Makefile.am:1: error: Libtool library used but 'LIBTOOL' is undefined
charset/Makefile.am:1: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
charset/Makefile.am:1: to 'configure.ac' and run 'aclocal' and 'autoconf'
again.
charset/Makefile.am:1: If 'LT_INIT' is in 'configure.ac', make sure
charset/Makefile.am:1: its definition is in aclocal's search path.
/home/android/android/vlc/extras/tools/build/share/automake-1.14/am/ltlibrary.am:
warning: 'libfribidi-char-sets.la': linking libtool libraries using a non-POSIX
/home/android/android/vlc/extras/tools/build/share/automake-1.14/am/ltlibrary.am:
archiver requires 'AM_PROG_AR' in 'configure.ac'
charset/Makefile.am:1: while processing Libtool library
'libfribidi-char-sets.la'
Makefile.am:14: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:14: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:14: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:14: If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:14: its definition is in aclocal's search path.
lib/Headers.mk:22: warning: shell cat $(top_srcdir: non-POSIX variable name
lib/Headers.mk:22: (probably a GNU make extension)
doc/Makefile.am:26: 'lib/Headers.mk' included from here
autoreconf: automake failed with exit status: 1
make: *** [dvdnav] Error 1
lib/Headers.mk:22: warning: shell cat $(top_srcdir: non-POSIX variable name
lib/Headers.mk:22: (probably a GNU make extension)
lib/Makefile.am:28: 'lib/Headers.mk' included from here
lib/Makefile.am:3: error: Libtool library used but 'LIBTOOL' is undefined
lib/Makefile.am:3: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
lib/Makefile.am:3: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
lib/Makefile.am:3: If 'LT_INIT' is in 'configure.ac', make sure
lib/Makefile.am:3: its definition is in aclocal's search path.
/home/android/android/vlc/extras/tools/build/share/automake-1.14/am/ltlibrary.am:
warning: 'libfribidi.la': linking libtool libraries using a non-POSIX
/home/android/android/vlc/extras/tools/build/share/automake-1.14/am/ltlibrary.am:
archiver requires 'AM_PROG_AR' in 'configure.ac'
lib/Makefile.am:3: while processing Libtool library 'libfribidi.la'
test/Makefile.am:30: warning: '%'-style pattern rules are a GNU make extension
autoreconf: automake failed with exit status: 1
make: *** [.fribidi] Error 1
the accessory is the log in automake holder.
best wishes,
YanDongyao
config.log
Description: Binary data
_______________________________________________ libav-tools mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-tools
