Friday, March 7, 2014

cygwin compile ffmpeg execute. / config pass


Before performing. / Config.sh, export TMPDIR = c :/ cygwin / tmp temporary directory
$. / Config.sh
cygwin warning:
MS-DOS style path detected: c :/ cygwin/tmp/ffconf.3cT2wgQs
Preferred POSIX equivalent is: / tmp/ffconf.3cT2wgQs
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html # using-pathnames
/ Home/Bean/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windo
ws / bin / arm-linux-androideabi-gcc is unable to create an executable file.
C compiler test failed.


Here is

WARNING: / home/kenny/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-pkg-config not found, library detection may fail mktemp-u XXXXXX
kX2WQg
check_ld
check_cc
BEGIN c :/ cygwin/tmp/ffconf.pratD0oD.c
1 int main (void) {return 0;}
END c :/ cygwin/tmp/ffconf.pratD0oD.c
/ Home/kenny/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-gcc-fPIC-DANDROID-c-o c :/ cygwin / tmp / ffconf.qkUSKIhz.o c :/ cygwin/tmp/ffconf.pratD0oD.c
/ Home/kenny/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-gcc-Wl,-T, / home / kenny / android-ndk -r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/arm-linux-androideabi/lib/ldscripts/armelf.x-Wl,-rpath-link = / home/kenny/android-ndk-r6b / platforms/android-8/arch-arm/usr/lib -L/home/kenny/android-ndk-r6b/platforms/android-8/arch-arm/usr/lib-nostdlib / home / kenny / android-ndk -r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/lib/gcc/arm-linux-androideabi/4.4.3/crtbegin.o / home/kenny/android-ndk-r6b/toolchains/arm -linux-androideabi-4.4.3/prebuilt/windows/lib/gcc/arm-linux-androideabi/4.4.3/crtend.o-lc-lm-ldl-o c :/ cygwin/tmp/ffconf.0AKElAfO c: / cygwin / tmp / ffconf.qkUSKIhz.o
arm-linux-androideabi-gcc.exe: / home/kenny/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/lib/gcc/arm-linux-androideabi/4.4.3 / crtbegin.o: No such file or directory
arm-linux-androideabi-gcc.exe: / home/kenny/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/lib/gcc/arm-linux-androideabi/4.4.3 / crtend.o: No such file or directory
C compiler test failed.
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
ndk incomplete right
Reply:
cited a floor ultrapro reply:
ndk insufficiency bar

I entered toolchains \ arm-linux-androideabi-4.4.3 \ prebuilt \ windows \ lib \ gcc \ arm-linux-androideabi \ 4.4.3 looked
arm-linux-androideabi/4.4.3/crtbegin.o and gcc/arm-linux-androideabi/4.4.3/crtend.o yes ah

Reply:
. / Config.sh is written
#! / Bin / bash

PREBUILT = / home/kenny/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows
PLATFORM = / home/kenny/android-ndk-r6b/platforms/android-8/arch-arm

. / Configure - target-os = linux \
- Arch = arm \
- Enable-version3 \
- Enable-gpl \
- Enable-nonfree \
- Disable-stripping \
- Disable-ffmpeg \
- Disable-ffplay \
- Disable-ffserver \
- Disable-ffprobe \
- Disable-encoders \
- Disable-muxers \
- Disable-devices \
- Disable-protocols \
- Enable-protocol = file \
- Enable-avfilter \
- Disable-network \
- Disable-avdevice \
- Enable-cross-compile \
- Cc = $ PREBUILT / bin / arm-linux-androideabi-gcc \
- Cross-prefix = $ PREBUILT/bin/arm-linux-androideabi- \
- Nm = $ PREBUILT / bin / arm-linux-androideabi-nm \
- Extra-cflags = "-fPIC-DANDROID" \
- Disable-asm \
- Enable-neon \
- Enable-armv5te \
- Extra-ldflags = "-Wl,-T, $ PREBUILT / arm-linux-androideabi / lib / ldscripts / armelf.x-Wl,-rpath-link = $ PLATFORM / usr / lib-L $ PLATFORM / usr / lib-nostdlib $ PREBUILT/lib/gcc/arm-linux-androideabi/4.4.3/crtbegin.o $ PREBUILT/lib/gcc/arm-linux-androideabi/4.4.3/crtend.o-lc-lm-ldl "
Reply:
Is not my export TMPDIR = c :/ cygwin / tmp to set temporary directory there is a problem? I do not know how to fix this that the
I was in front of config.sh:
PREBUILT = / home / kenny / android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows
PLATFORM = / home / kenny / android-ndk-r6b/platforms/android-8/arch-arm
Reply:
Try again last night, reported the following error:

My NDK environment variable set for
NDK_ROOT = ~ / android-ndk-r6b /
export NDK_ROOT


Reply:
Wood has compiled ah still not calm
Reply:
PREBUILT = / home/kenny/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows
PLATFORM = / home/kenny/android-ndk-r6b/platforms/android-8/arch-arm
Set absolute path like say D :/ home / ....
Reply:
Would like to ask how to solve this last problem. . . . . I have encountered this problem. . . . .
Reply:
I have this problem
Reply:
Quote: references, 5th Floor haoruifly2 reply:


The problem here is that you need to first export TMPDIR = E :/ Android_Home / Software / cygwin / home / js / ffmpeg / jni / tmp and then run. / Config.sh command!

No comments:

Post a Comment