[FFmpeg-user] Problem while compiling

Jaswant Panwar jaswant.panwar at dotsquares.com
Wed Jul 24 15:38:25 CEST 2013


Hi,

 

I'm facing following error while compiling FFMPEG on Windows using Android
NDKr83 and Cygwin:

 

  ./configure_make_everything.sh

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg/x264
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

Makefile:3: config.mak: No such file or directory

cat: config.h: No such file or directory

./configure

./configure: line 2: $'\r': command not found

./configure: line 59: syntax error near unexpected token `$'{\r''

'/configure: line 59: `log_check() {

Makefile:199: recipe for target `config.mak' failed

make: *** [config.mak] Error 2

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg/freet
ype2 /cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

config.mk:25: builds/unix/unix-def.mk: No such file or directory

config.mk:26: builds/unix/unix-cc.mk: No such file or directory

make: *** No rule to make target `builds/unix/unix-cc.mk'.  Stop.

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg/ffmpe
g /cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

Makefile:2: config.mak: No such file or directory

Makefile:47: /common.mak: No such file or directory

Makefile:88: /libavutil/Makefile: No such file or directory

Makefile:88: /library.mak: No such file or directory

Makefile:168: /doc/Makefile: No such file or directory

Makefile:169: /tests/Makefile: No such file or directory

make: *** No rule to make target `/tests/Makefile'.  Stop.

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg/sox
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

make: *** No rule to make target `clean'.  Stop.

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg/x264
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

./configure: line 2: $'\r': command not found

./configure: line 59: syntax error near unexpected token `$'{\r''

'/configure: line 59: `log_check() {

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg/x264
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

Makefile:3: config.mak: No such file or directory

cat: config.h: No such file or directory

./configure

./configure: line 2: $'\r': command not found

./configure: line 59: syntax error near unexpected token `$'{\r''

'/configure: line 59: `log_check() {

Makefile:199: recipe for target `config.mak' failed

make: *** [config.mak] Error 2

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg/freet
ype2 /cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

./autogen.sh: line 2: $'\r': command not found

./autogen.sh: line 11: $'\r': command not found

./autogen.sh: line 12: syntax error near unexpected token `$'\r''

'/autogen.sh: line 12: `run ()

./configure: line 15: $'\r': command not found

./configure: line 17: $'\r': command not found

./configure: line 73: syntax error near unexpected token `$'do\r''

'/configure: line 73: `  for x in "$@"; do

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg/freet
ype2 /cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

make: ver: Command not found

 

FreeType build system -- automatic system detection

 

The following settings are used:

 

  platform                    unix

  compiler                    cc

  configuration directory     ./builds/unix

  configuration rules         ./builds/unix/unix.mk

 

If this does not correspond to your system or settings please remove the
file

`config.mk' from this directory then read the INSTALL file for help.

 

Otherwise, simply type `make' again to build the library,

or `make refdoc' to build the API reference (the latter needs python).

 

cd builds/unix; ./configure

/bin/sh: ./configure: No such file or directory

builds/unix/detect.mk:85: recipe for target `setup' failed

make: *** [setup] Error 127

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

./configure_ffmpeg.sh: line 14: patch: command not found

./configure_ffmpeg.sh: line 15: patch: command not found

./configure_ffmpeg.sh: line 16: patch: command not found

./configure_ffmpeg.sh: line 18: patch: command not found

./configure_ffmpeg.sh: line 20: patch: command not found

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg/ffmpe
g /cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

d/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/cygwin_nt-6.
1-wow64-x86/bin/arm-linux-androideabi-gcc 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

ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.

Include the log file "config.log" produced by configure as this will help

solving the problem.

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg/ffmpe
g /cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

Makefile:2: config.mak: No such file or directory

Makefile:47: /common.mak: No such file or directory

Makefile:88: /libavutil/Makefile: No such file or directory

Makefile:88: /library.mak: No such file or directory

Makefile:168: /doc/Makefile: No such file or directory

Makefile:169: /tests/Makefile: No such file or directory

make: *** No rule to make target `/tests/Makefile'.  Stop.

Makefile:2: config.mak: No such file or directory

Makefile:47: /common.mak: No such file or directory

Makefile:88: /libavutil/Makefile: No such file or directory

Makefile:88: /library.mak: No such file or directory

Makefile:168: /doc/Makefile: No such file or directory

Makefile:169: /tests/Makefile: No such file or directory

make: *** No rule to make target `/tests/Makefile'.  Stop.

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg/sox
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

./configure_sox.sh: line 11: patch: command not found

autoreconf-2.69: Entering directory `.'

autoreconf-2.69: configure.ac: not using Gettext

autoreconf-2.69: running: aclocal --force -I m4

autoreconf-2.69: configure.ac: tracing

autoreconf-2.69: configure.ac: not using Libtool

autoreconf-2.69: running: /usr/bin/autoconf-2.69 --force

autoreconf-2.69: running: /usr/bin/autoheader-2.69 --force

autoreconf-2.69: running: automake --add-missing --copy --force-missing

libgsm/Makefile.am:35: error: Libtool library used but 'LIBTOOL' is
undefined

libgsm/Makefile.am:35:   The usual way to define 'LIBTOOL' is to add
'LT_INIT'

libgsm/Makefile.am:35:   to 'configure.ac' and run 'aclocal' and 'autoconf'
again.

libgsm/Makefile.am:35:   If 'LT_INIT' is in 'configure.ac', make sure

libgsm/Makefile.am:35:   its definition is in aclocal's search path.

lpc10/Makefile.am:8: error: Libtool library used but 'LIBTOOL' is undefined

lpc10/Makefile.am:8:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'

lpc10/Makefile.am:8:   to 'configure.ac' and run 'aclocal' and 'autoconf'
again.

lpc10/Makefile.am:8:   If 'LT_INIT' is in 'configure.ac', make sure

lpc10/Makefile.am:8:   its definition is in aclocal's search path.

autoreconf-2.69: automake failed with exit status: 1

configure: WARNING: unrecognized options: --with-sysroot, --enable-static,
--disable-shared

checking build system type... i686-pc-cygwin

checking host system type... arm-unknown-linux-androideabi

checking target system type... arm-unknown-linux-androideabi

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for arm-linux-androideabi-strip...
d/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/cygwin_nt-6.
1-wow64-x86/bin/arm-linux-androideabi-strip

checking for a thread-safe mkdir -p... /usr/bin/mkdir -p

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking for arm-linux-androideabi-gcc...
d/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/cygwin_nt-6.
1-wow64-x86/bin/arm-linux-androideabi-gcc
--sysroot=d/android-ndk-r8e/platforms/android-3/arch-arm

checking whether the C compiler works... no

configure: error: in
`/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg/sox'
:

configure: error: C compiler cannot create executables

See `config.log' for more details

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg/sox
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

make: *** No targets specified and no makefile found.  Stop.

make: *** No rule to make target `install-strip'.  Stop.

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg
/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

/cygdrive/d/ffmpeg/23-july/android-ffmpeg-java/external/android-ffmpeg

 



More information about the ffmpeg-user mailing list