-
Notifications
You must be signed in to change notification settings - Fork 471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
didn't get libffmpeg.so as expected #1
Comments
you get: if you have more troubles you can get me by jacek.marchwicki@gmail.com On Wed, Aug 1, 2012 at 10:49 AM, Oliver
|
Thank you, you show me how to read the error message. My ndk is fine, but it's ndk-r8b, a little bit different from yours. In $NDK/toolchains/x86-4.4.3/prebuilt/darwin-x86/bin/, the prefix is i686-linux-android-, not i686-android-linux- I modify the build_android.sh and it worked fine. Thanks to you guys' work. I got libffmpeg.so under jni/ffmpeg-build/x86/ Regards, 在 2012-8-1,下午9:36,jenkins-appunite reply@reply.github.com 写道:
|
On Wed, Aug 1, 2012 at 5:29 PM, Oliver
|
Yes I've got all the libffmpeg.so, thanks for the reminding. I believe i've got the newest NDK. I downloaded it today, it's android-ndk-r8b. 在 2012-8-1,下午11:42,jenkins-appunite reply@reply.github.com 写道:
|
Working on Mac, OSX 10.8, with command line tools of XCode and Android NDK r8b
Followed the instructions, got autoconf, autoconf-archive, automake.
All were OK until this command:
./build_android.sh
under repository: FFmpegLibrary/jni/
did't get libffmpeg.so
here's the error:
configure: error: in
/Users/orange-22/Documents/workspace/AndroidFFmpeg/FFmpegLibrary/jni/vo-amrwbenc': configure: error: C compiler cannot create executables See
config.log' for more detailsconfig.log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by vo-amrwbenc configure 0.1.2, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/Users/orange-22/Documents/workspace/AndroidFFmpeg/FFmpegLibrary/jni/vo-amrwbenc/../ffmpeg-build/x86 --host=x86-linux --disable-dependency-tracking --disable-shared --enable-static --with-pic --disable-asm
---------
Platform.
---------
hostname = orange.local
uname -m = x86_64
uname -r = 12.0.0
uname -s = Darwin
uname -v = Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64
Kernel configured for up to 4 processors.
2 processors are physically available.
4 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3
Primary memory available: 4.00 gigabytes
Default processor set: 139 tasks, 727 threads, 4 processors
Load average: 3.72, Mach factor: 0.74
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /opt/X11/bin
PATH: /Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86/bin/
PATH: /Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86/bin/
PATH: /Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//toolchains/x86-4.4.3/prebuilt/darwin-x86/bin/
-----------
Core tests.
-----------
configure:2189: checking for a BSD-compatible install
configure:2257: result: /usr/bin/install -c
configure:2268: checking whether build environment is sane
configure:2323: result: yes
configure:2382: checking for x86-linux-strip
configure:2409: result: /Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//toolchains/x86-4.4.3/prebuilt/darwin-x86/bin/i686-android-linux-strip
configure:2474: checking for a thread-safe mkdir -p
configure:2513: result: ./install-sh -c -d
configure:2520: checking for gawk
configure:2550: result: no
configure:2520: checking for mawk
configure:2550: result: no
configure:2520: checking for nawk
configure:2550: result: no
configure:2520: checking for awk
configure:2536: found /usr/bin/awk
configure:2547: result: awk
configure:2558: checking whether make sets $(MAKE)
configure:2580: result: yes
configure:2661: checking how to create a ustar tar archive
configure:2674: tar --version
bsdtar 2.8.3 - libarchive 2.8.3
configure:2677: $? = 0
configure:2717: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
configure:2720: $? = 0
configure:2724: tar -xf - <conftest.tar
configure:2727: $? = 0
configure:2740: result: gnutar
configure:2758: checking whether make supports nested variables
configure:2775: result: yes
configure:2789: checking whether to enable maintainer-specific portions of Makefiles
configure:2798: result: no
configure:2817: checking build system type
configure:2831: result: i386-apple-darwin12.0.0
configure:2851: checking host system type
configure:2864: result: x86-unknown-linux-gnu
configure:2947: checking for style of include used by make
configure:2975: result: GNU
configure:3006: checking for x86-linux-gcc
configure:3033: result: /Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//toolchains/x86-4.4.3/prebuilt/darwin-x86/bin/i686-android-linux-gcc --sysroot=/Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//platforms/android-9/arch-x86/
configure:3302: checking for C compiler version
configure:3311: /Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//toolchains/x86-4.4.3/prebuilt/darwin-x86/bin/i686-android-linux-gcc --sysroot=/Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//platforms/android-9/arch-x86/ --version >&5
./configure: line 3313: /Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//toolchains/x86-4.4.3/prebuilt/darwin-x86/bin/i686-android-linux-gcc: No such file or directory
configure:3322: $? = 127
configure:3311: /Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//toolchains/x86-4.4.3/prebuilt/darwin-x86/bin/i686-android-linux-gcc --sysroot=/Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//platforms/android-9/arch-x86/ -v >&5
./configure: line 3313: /Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//toolchains/x86-4.4.3/prebuilt/darwin-x86/bin/i686-android-linux-gcc: No such file or directory
configure:3322: $? = 127
configure:3311: /Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//toolchains/x86-4.4.3/prebuilt/darwin-x86/bin/i686-android-linux-gcc --sysroot=/Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//platforms/android-9/arch-x86/ -V >&5
./configure: line 3313: /Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//toolchains/x86-4.4.3/prebuilt/darwin-x86/bin/i686-android-linux-gcc: No such file or directory
configure:3322: $? = 127
configure:3311: /Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//toolchains/x86-4.4.3/prebuilt/darwin-x86/bin/i686-android-linux-gcc --sysroot=/Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//platforms/android-9/arch-x86/ -qversion >&5
./configure: line 3313: /Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//toolchains/x86-4.4.3/prebuilt/darwin-x86/bin/i686-android-linux-gcc: No such file or directory
configure:3322: $? = 127
configure:3342: checking whether the C compiler works
configure:3364: /Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//toolchains/x86-4.4.3/prebuilt/darwin-x86/bin/i686-android-linux-gcc --sysroot=/Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//platforms/android-9/arch-x86/ -m32 -m32 -m32 -Wl,-rpath-link=/Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//platforms/android-9/arch-x86//usr/lib -L/Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//platforms/android-9/arch-x86//usr/lib -nostdlib -lc -lm -ldl -llog conftest.c >&5
./configure: line 3366: /Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//toolchains/x86-4.4.3/prebuilt/darwin-x86/bin/i686-android-linux-gcc: No such file or directory
configure:3368: $? = 127
configure:3406: result: no
configure: failed program was:
| /* confdefs.h /
| #define PACKAGE_NAME "vo-amrwbenc"
| #define PACKAGE_TARNAME "vo-amrwbenc"
| #define PACKAGE_VERSION "0.1.2"
| #define PACKAGE_STRING "vo-amrwbenc 0.1.2"
| #define PACKAGE_BUGREPORT "http://sourceforge.net/projects/opencore-amr/"
| #define PACKAGE_URL ""
| #define PACKAGE "vo-amrwbenc"
| #define VERSION "0.1.2"
| / end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3411: error: in
/Users/orange-22/Documents/workspace/AndroidFFmpeg/FFmpegLibrary/jni/vo-amrwbenc': configure:3413: error: C compiler cannot create executables See
config.log' for more details----------------
Cache variables.
----------------
ac_cv_build=i386-apple-darwin12.0.0
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value='/Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//toolchains/x86-4.4.3/prebuilt/darwin-x86/bin/i686-android-linux-gcc --sysroot=/Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//platforms/android-9/arch-x86/'
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-m32 -m32'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=-m32
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,-rpath-link=/Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//platforms/android-9/arch-x86//usr/lib -L/Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//platforms/android-9/arch-x86//usr/lib -nostdlib -lc -lm -ldl -llog'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86-linux
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86-unknown-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_CC='/Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//toolchains/x86-4.4.3/prebuilt/darwin-x86/bin/i686-android-linux-gcc --sysroot=/Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//platforms/android-9/arch-x86/'
ac_cv_prog_STRIP=/Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//toolchains/x86-4.4.3/prebuilt/darwin-x86/bin/i686-android-linux-strip
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes
am_cv_prog_tar_ustar=gnutar
-----------------
Output variables.
-----------------
ACLOCAL='${SHELL} /Users/orange-22/Documents/workspace/AndroidFFmpeg/FFmpegLibrary/jni/vo-amrwbenc/missing --run aclocal-1.12'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE='#'
AMTAR='$${TAR-tar}'
AM_BACKSLASH=''
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR='/Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//toolchains/x86-4.4.3/prebuilt/darwin-x86/bin/i686-android-linux-ar'
ARMV5E_FALSE=''
ARMV5E_TRUE='#'
ARMV7NEON_FALSE=''
ARMV7NEON_TRUE='#'
AUTOCONF='${SHELL} /Users/orange-22/Documents/workspace/AndroidFFmpeg/FFmpegLibrary/jni/vo-amrwbenc/missing --run autoconf'
AUTOHEADER='${SHELL} /Users/orange-22/Documents/workspace/AndroidFFmpeg/FFmpegLibrary/jni/vo-amrwbenc/missing --run autoheader'
AUTOMAKE='${SHELL} /Users/orange-22/Documents/workspace/AndroidFFmpeg/FFmpegLibrary/jni/vo-amrwbenc/missing --run automake-1.12'
AWK='awk'
CC='/Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//toolchains/x86-4.4.3/prebuilt/darwin-x86/bin/i686-android-linux-gcc --sysroot=/Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//platforms/android-9/arch-x86/'
CCAS=''
CCASDEPMODE=''
CCASFLAGS=''
CCDEPMODE=''
CFLAGS='-m32 -m32'
CPP=''
CPPFLAGS='-m32'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP=''
EXAMPLE_FALSE=''
EXAMPLE_TRUE='#'
EXEEXT=''
FGREP=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS='-Wl,-rpath-link=/Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//platforms/android-9/arch-x86//usr/lib -L/Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//platforms/android-9/arch-x86//usr/lib -nostdlib -lc -lm -ldl -llog'
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBTOOL_DEPS=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /Users/orange-22/Documents/workspace/AndroidFFmpeg/FFmpegLibrary/jni/vo-amrwbenc/missing --run makeinfo'
MANIFEST_TOOL=''
MKDIR_P='./install-sh -c -d'
NM='/Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//toolchains/x86-4.4.3/prebuilt/darwin-x86/bin/i686-android-linux-nm'
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='vo-amrwbenc'
PACKAGE_BUGREPORT='http://sourceforge.net/projects/opencore-amr/'
PACKAGE_NAME='vo-amrwbenc'
PACKAGE_STRING='vo-amrwbenc 0.1.2'
PACKAGE_TARNAME='vo-amrwbenc'
PACKAGE_URL=''
PACKAGE_VERSION='0.1.2'
PATH_SEPARATOR=':'
RANLIB='/Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//toolchains/x86-4.4.3/prebuilt/darwin-x86/bin/i686-android-linux-ranlib'
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP='/Users/orange-22/Documents/workspace/ENV/android-ndk-r8b//toolchains/x86-4.4.3/prebuilt/darwin-x86/bin/i686-android-linux-strip'
VERSION='0.1.2'
VO_AMRWBENC_VERSION=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCCAS_FALSE=''
am__fastdepCCAS_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='tar --format=ustar -chf - "$$tardir"'
am__untar='tar -xf -'
bindir='${exec_prefix}/bin'
build='i386-apple-darwin12.0.0'
build_alias=''
build_cpu='i386'
build_os='darwin12.0.0'
build_vendor='apple'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86-unknown-linux-gnu'
host_alias='x86-linux'
host_cpu='x86'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /Users/orange-22/Documents/workspace/AndroidFFmpeg/FFmpegLibrary/jni/vo-amrwbenc/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/Users/orange-22/Documents/workspace/AndroidFFmpeg/FFmpegLibrary/jni/vo-amrwbenc/../ffmpeg-build/x86'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
-----------
confdefs.h.
-----------
/* confdefs.h */
define PACKAGE_NAME "vo-amrwbenc"
define PACKAGE_TARNAME "vo-amrwbenc"
define PACKAGE_VERSION "0.1.2"
define PACKAGE_STRING "vo-amrwbenc 0.1.2"
define PACKAGE_BUGREPORT "http://sourceforge.net/projects/opencore-amr/"
define PACKAGE_URL ""
define PACKAGE "vo-amrwbenc"
define VERSION "0.1.2"
configure: exit 77
The text was updated successfully, but these errors were encountered: