Recherche avancée

Médias (0)

Mot : - Tags -/signalement

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (21)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (4684)

  • no c compiler found libx264 build [closed]

    24 août 2012, par kerim yucel

    I have been trying to build ffmpeg for Android and I have managed to do so by using roman10's tutorial.

    However, I needed x264 and I enabled libx264 in the configurations but it wasn't able to find the library. A quick internet search led me to the answer that I have to build x264 seperately and include it to ffmpeg config by editing ExternalLibs flags.

    Currently I am using this script to build x264. Everything is fine except the fact that the error saying "No working C compiler is found" pops up. I have updated and installed build-essential and my gcc version is up to date.

    Any help will be appreciated. Thanks a lot.

    P.S. I am using ndk 4 just to make everything compatible with the tutorial link given above. I am running Ubuntu with VirtualBox from Windows 7.

    Edit : I have been trying this tutorial as well, I am getting the same error along with unknown options error for each configuration options.

    Another edit :
    I have tried this code and obtained the following.

    echo 'int main() return 0 ;' > main.c && arm-eabi-gcc main.c || echo $ ?

    /home/mehmet/Android_NDK_r4/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld : crt0.o : No such file : No such file or directory collect2 : ld returned
    1 exit status 1

    I have checked the flags as well, flags seem ok or I can't see the faulty line. Above you may find the build script I am using.

    export ARM_ROOT=/home/mehmet/Android_NDK_r4
    export ARM_INC=$ARM_ROOT/build/platforms/android-8/arch-arm/usr/include/
    export ARM_LIB=$ARM_ROOT/build/platforms/android-8/arch-arm/usr/lib/
    export ARM_TOOL=$ARM_ROOT/build/prebuilt/linux-x86/arm-eabi-4.4.0
    export ARM_LIBO=$ARM_TOOL/lib/gcc/arm-eabi/4.4.0
    export PATH=$ARM_TOOL/bin:$PATH
    export PATH=$ARM_TOOL/arm-eabi/bin:$PATH
    export ARM_PRE=arm-eabi
    ./configure --prefix=/sdcard/arm_and \
    --disable-gpac \
    --extra-cflags=" -I$ARM_INC -fPIC -DANDROID -fpic -mthumb-interwork -ffunction-sections -funwind-tables -fstack-prote
    ctor -fno-short-enums -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -Wno-psabi -march=armv5te -mtu
    ne=xscale -msoft-float -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -DANDROID -Wa,--noexecstack -
    MMD -MP " \
    --extra-ldflags=" -nostdlib -Bdynamic -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,nocopyreloc -Wl,-soname,/system
    /lib/libz.so -Wl,-rpath-link=$ARM_LIB,-dynamic-linker=/system/bin/linker -L$ARM_LIB -nostdlib $ARM_LIB/crtbegin_dynamic.o $ARM_LIB/crtend_android.o -lc -lm -ldl -lgcc " \
    --cross-prefix=${ARM_PRE}- \
    --disable-asm\
    --host=arm-linux \

    Third edit :

    Config.log gives the following.

    x264 configure script
    Command line options: "--prefix=/sdcard/arm_and" "--disable-gpac" "--extra-cflags=" "-I/home/mehmet/Android_NDK_r4/build/platforms/android-8/arch-arm/usr/include/" "-fPIC" "-DANDROID" "-fpic" "-mthumb-interwork" "-ffunction-sections" "-funwind-tables" "-fstack-prote" "ctor" "-fno-short-enums" "-D__ARM_ARCH_5__" "-D__ARM_ARCH_5T__" "-D__ARM_ARCH_5E__" "-D__ARM_ARCH_5TE__" "-Wno-psabi" "-march=armv5te" "-mtu" "ne=xscale" "-msoft-float" "-mthumb" "-Os" "-fomit-frame-pointer" "-fno-strict-aliasing" "-finline-limit=64" "-DANDROID" "-Wa,--noexecstack" "-" "MMD" "-MP" "--extra-ldflags=" "-nostdlib" "-Bdynamic" "-Wl,--no-undefined" "-Wl,-z,noexecstack" "-Wl,-z,nocopyreloc" "-Wl,-soname,/system" "/lib/libz.so" "-Wl,-rpath-link=/home/mehmet/Android_NDK_r4/build/platforms/android-8/arch-arm/usr/lib/,-dynamic-linker=/system/bin/linker" "-L/home/mehmet/Android_NDK_r4/build/platforms/android-8/arch-arm/usr/lib/" "-nostdlib" "/home/mehmet/Android_NDK_r4/build/platforms/android-8/arch-arm/usr/lib//crtbegin_dynamic.o" "/home/mehmet/Android_NDK_r4/build/platforms/android-8/arch-arm/usr/lib//crtend_android.o" "-lc" "-lm" "-ldl" "-lgcc" "--cross-prefix=arm-eabi-" "--disable-asm" "--host=arm-linux"

       checking whether arm-eabi-gcc works... no
       Failed commandline was:
       --------------------------------------------------
       arm-eabi-gcc conftest.c -Wall -I. -I$(SRCPATH) -I/home/mehmet/Android_NDK_r4/build/platforms/android-8/arch-arm/usr/include/ -fPIC -DANDROID -fpic -mthumb-interwork -ffunction-sections -funwind-tables -fstack-prote
       ctor -fno-short-enums -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -Wno-psabi -march=armv5te -mtu
       ne=xscale -msoft-float -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -DANDROID -Wa,--noexecstack -
       MMD -MP -nostdlib -Bdynamic -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,nocopyreloc -Wl,-soname,/system
       /lib/libz.so -Wl,-rpath-link=/home/mehmet/Android_NDK_r4/build/platforms/android-8/arch-arm/usr/lib/,-dynamic-linker=/system/bin/linker -L/home/mehmet/Android_NDK_r4/build/platforms/android-8/arch-arm/usr/lib/ -nostdlib /home/mehmet/Android_NDK_r4/build/platforms/android-8/arch-arm/usr/lib//crtbegin_dynamic.o /home/mehmet/Android_NDK_r4/build/platforms/android-8/arch-arm/usr/lib//crtend_android.o -lc -lm -ldl -lgcc -lm -o conftest
       arm-eabi-gcc: ctor: No such file or directory
       arm-eabi-gcc: ne=xscale: No such file or directory
       arm-eabi-gcc: MMD: No such file or directory
       arm-eabi-gcc: /lib/libz.so: No such file or directory
       cc1: error: unrecognized command line option "-mtu"
       cc1: error: unrecognized command line option "-fstack-prote"
       cc1: error: to generate dependencies you must specify either -M or -MM
       arm-eabi-gcc: -E or -x required when input is from standard input
       --------------------------------------------------
       Failed program was:
       --------------------------------------------------
       int main () { return 0; }
       --------------------------------------------------
       DIED: No working C compiler found.

    Last edit
    Problem solved. It was just a mistake related to typos. It works well now.

  • no c compiler found libx264 build [closed]

    24 août 2012, par kerim yucel

    I have been trying to build ffmpeg for Android and I have managed to do so by using roman10's tutorial.

    However, I needed x264 and I enabled libx264 in the configurations but it wasn't able to find the library. A quick internet search led me to the answer that I have to build x264 seperately and include it to ffmpeg config by editing ExternalLibs flags.

    Currently I am using this script to build x264. Everything is fine except the fact that the error saying "No working C compiler is found" pops up. I have updated and installed build-essential and my gcc version is up to date.

    Any help will be appreciated. Thanks a lot.

    P.S. I am using ndk 4 just to make everything compatible with the tutorial link given above. I am running Ubuntu with VirtualBox from Windows 7.

    Edit : I have been trying this tutorial as well, I am getting the same error along with unknown options error for each configuration options.

    Another edit :
    I have tried this code and obtained the following.

    echo 'int main() return 0 ;' > main.c && arm-eabi-gcc main.c || echo $ ?

    /home/mehmet/Android_NDK_r4/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld : crt0.o : No such file : No such file or directory collect2 : ld returned
    1 exit status 1

    I have checked the flags as well, flags seem ok or I can't see the faulty line. Above you may find the build script I am using.

    export ARM_ROOT=/home/mehmet/Android_NDK_r4
    export ARM_INC=$ARM_ROOT/build/platforms/android-8/arch-arm/usr/include/
    export ARM_LIB=$ARM_ROOT/build/platforms/android-8/arch-arm/usr/lib/
    export ARM_TOOL=$ARM_ROOT/build/prebuilt/linux-x86/arm-eabi-4.4.0
    export ARM_LIBO=$ARM_TOOL/lib/gcc/arm-eabi/4.4.0
    export PATH=$ARM_TOOL/bin:$PATH
    export PATH=$ARM_TOOL/arm-eabi/bin:$PATH
    export ARM_PRE=arm-eabi
    ./configure --prefix=/sdcard/arm_and \
    --disable-gpac \
    --extra-cflags=" -I$ARM_INC -fPIC -DANDROID -fpic -mthumb-interwork -ffunction-sections -funwind-tables -fstack-prote
    ctor -fno-short-enums -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -Wno-psabi -march=armv5te -mtu
    ne=xscale -msoft-float -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -DANDROID -Wa,--noexecstack -
    MMD -MP " \
    --extra-ldflags=" -nostdlib -Bdynamic -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,nocopyreloc -Wl,-soname,/system
    /lib/libz.so -Wl,-rpath-link=$ARM_LIB,-dynamic-linker=/system/bin/linker -L$ARM_LIB -nostdlib $ARM_LIB/crtbegin_dynamic.o $ARM_LIB/crtend_android.o -lc -lm -ldl -lgcc " \
    --cross-prefix=${ARM_PRE}- \
    --disable-asm\
    --host=arm-linux \

    Third edit :

    Config.log gives the following.

    x264 configure script
    Command line options: "--prefix=/sdcard/arm_and" "--disable-gpac" "--extra-cflags=" "-I/home/mehmet/Android_NDK_r4/build/platforms/android-8/arch-arm/usr/include/" "-fPIC" "-DANDROID" "-fpic" "-mthumb-interwork" "-ffunction-sections" "-funwind-tables" "-fstack-prote" "ctor" "-fno-short-enums" "-D__ARM_ARCH_5__" "-D__ARM_ARCH_5T__" "-D__ARM_ARCH_5E__" "-D__ARM_ARCH_5TE__" "-Wno-psabi" "-march=armv5te" "-mtu" "ne=xscale" "-msoft-float" "-mthumb" "-Os" "-fomit-frame-pointer" "-fno-strict-aliasing" "-finline-limit=64" "-DANDROID" "-Wa,--noexecstack" "-" "MMD" "-MP" "--extra-ldflags=" "-nostdlib" "-Bdynamic" "-Wl,--no-undefined" "-Wl,-z,noexecstack" "-Wl,-z,nocopyreloc" "-Wl,-soname,/system" "/lib/libz.so" "-Wl,-rpath-link=/home/mehmet/Android_NDK_r4/build/platforms/android-8/arch-arm/usr/lib/,-dynamic-linker=/system/bin/linker" "-L/home/mehmet/Android_NDK_r4/build/platforms/android-8/arch-arm/usr/lib/" "-nostdlib" "/home/mehmet/Android_NDK_r4/build/platforms/android-8/arch-arm/usr/lib//crtbegin_dynamic.o" "/home/mehmet/Android_NDK_r4/build/platforms/android-8/arch-arm/usr/lib//crtend_android.o" "-lc" "-lm" "-ldl" "-lgcc" "--cross-prefix=arm-eabi-" "--disable-asm" "--host=arm-linux"

       checking whether arm-eabi-gcc works... no
       Failed commandline was:
       --------------------------------------------------
       arm-eabi-gcc conftest.c -Wall -I. -I$(SRCPATH) -I/home/mehmet/Android_NDK_r4/build/platforms/android-8/arch-arm/usr/include/ -fPIC -DANDROID -fpic -mthumb-interwork -ffunction-sections -funwind-tables -fstack-prote
       ctor -fno-short-enums -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -Wno-psabi -march=armv5te -mtu
       ne=xscale -msoft-float -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -DANDROID -Wa,--noexecstack -
       MMD -MP -nostdlib -Bdynamic -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,nocopyreloc -Wl,-soname,/system
       /lib/libz.so -Wl,-rpath-link=/home/mehmet/Android_NDK_r4/build/platforms/android-8/arch-arm/usr/lib/,-dynamic-linker=/system/bin/linker -L/home/mehmet/Android_NDK_r4/build/platforms/android-8/arch-arm/usr/lib/ -nostdlib /home/mehmet/Android_NDK_r4/build/platforms/android-8/arch-arm/usr/lib//crtbegin_dynamic.o /home/mehmet/Android_NDK_r4/build/platforms/android-8/arch-arm/usr/lib//crtend_android.o -lc -lm -ldl -lgcc -lm -o conftest
       arm-eabi-gcc: ctor: No such file or directory
       arm-eabi-gcc: ne=xscale: No such file or directory
       arm-eabi-gcc: MMD: No such file or directory
       arm-eabi-gcc: /lib/libz.so: No such file or directory
       cc1: error: unrecognized command line option "-mtu"
       cc1: error: unrecognized command line option "-fstack-prote"
       cc1: error: to generate dependencies you must specify either -M or -MM
       arm-eabi-gcc: -E or -x required when input is from standard input
       --------------------------------------------------
       Failed program was:
       --------------------------------------------------
       int main () { return 0; }
       --------------------------------------------------
       DIED: No working C compiler found.

    Last edit
    Problem solved. It was just a mistake related to typos. It works well now.

  • warning on compilation of ffmpeg on android

    21 août 2012, par swapnil adsure

    hey guys i am going to share my script and error please help me to solve it
    i want to compile ffmpeg on android

    '# !/bin/bash
    # Author : Dmitry Dzakhov (based on Guo Mingyu's script)

    # Creating conf.sh in ffmpeg directory
    NDK=~/android-ndk
    PLATFORM=$NDK/platforms/android-14/arch-arm
    PREBUILT=$NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86
    output="conf.sh"

    [ -f conf.sh ] && echo "Old $output has been removed."
    echo '#!/bin/bash' > $output
    echo "PREBUILT=$PREBUILT" >> $output
    echo "PLATFORM=$PLATFORM" >> $output
    echo './configure --target-os=linux \
       --prefix=./android/armv7-a \
       --enable-cross-compile \
       --extra-libs="-lgcc" \
       --arch=arm \
       --cc=$PREBUILT/bin/arm-linux-androideabi-gcc \
       --cross-prefix=$PREBUILT/bin/arm-linux-androideabi- \
       --nm=$PREBUILT/bin/arm-linux-androideabi-nm \
       --sysroot=$PLATFORM \
       --extra-cflags=" -O3 -fpic -DANDROID -DHAVE_SYS_UIO_H=1 -Dipv6mr_interface=ipv6mr_ifindex -fasm -Wno-psabi -fno-short-enums -fno-strict-aliasing -finline-limit=300 -mfloat-abi=softfp -mfpu=neon -marm -march=armv7-a -mtune=cortex-a8 " \
       --disable-shared \
       --enable-static \
       --extra-ldflags="-Wl,-rpath-link=$PLATFORM/usr/lib -L$PLATFORM/usr/lib -nostdlib -lc -lm -ldl -llog" \
       --enable-parsers \
       --enable-encoders \
       --enable-decoders \
       --enable-muxers \
       --enable-demuxers \
       --enable-swscale \
       --enable-swscale-alpha \
       --disable-ffplay \
       --disable-ffprobe \
       --enable-ffserver \
       --enable-network \
       --enable-indevs \
       --disable-bsfs \
       --enable-filters \
       --enable-avfilter \
       --enable-protocols \
       --disable-asm \
       --enable-neon' >> $output

    # start configure
    sudo chmod +x $output
    echo "configuring..."
    ./$output || (echo configure failed && exit 1)

    # modify the config.h
    echo "modifying the config.h..."
    sed -i "s/#define restrict restrict/#define restrict/g" config.h

    # remove static functions in libavutil/libm.h
    echo "removing static functions in libavutil/libm.h..."
    sed -i "/static/,/}/d" libavutil/libm.h

    # modify Makefiles
    echo "modifying Makefiles..."
    sed -i "/include \$(SUBDIR)..\/subdir.mak/d" libavcodec/Makefile
    sed -i "/include \$(SUBDIR)..\/config.mak/d" libavcodec/Makefile
    sed -i "/include \$(SUBDIR)..\/subdir.mak/d" libavfilter/Makefile
    sed -i "/include \$(SUBDIR)..\/config.mak/d" libavfilter/Makefile
    sed -i "/include \$(SUBDIR)..\/subdir.mak/d" libavformat/Makefile
    sed -i "/include \$(SUBDIR)..\/config.mak/d" libavformat/Makefile
    sed -i "/include \$(SUBDIR)..\/subdir.mak/d" libavutil/Makefile
    sed -i "/include \$(SUBDIR)..\/config.mak/d" libavutil/Makefile
    sed -i "/include \$(SUBDIR)..\/subdir.mak/d" libpostproc/Makefile
    sed -i "/include \$(SUBDIR)..\/config.mak/d" libpostproc/Makefile
    sed -i "/include \$(SUBDIR)..\/subdir.mak/d" libswscale/Makefile
    sed -i "/include \$(SUBDIR)..\/config.mak/d" libswscale/Makefile

    # generate av.mk in ffmpeg
    echo "generating av.mk in ffmpeg..."
    echo '# LOCAL_PATH is one of libavutil, libavcodec, libavformat, or libswscale

    #include $(LOCAL_PATH)/../config-$(TARGET_ARCH).mak
    include $(LOCAL_PATH)/../config.mak

    OBJS :=
    OBJS-yes :=
    MMX-OBJS-yes :=
    include $(LOCAL_PATH)/Makefile

    # collect objects
    OBJS-$(HAVE_MMX) += $(MMX-OBJS-yes)
    OBJS += $(OBJS-yes)

    FFNAME := lib$(NAME)
    FFLIBS := $(foreach,NAME,$(FFLIBS),lib$(NAME))
    FFCFLAGS  = -DHAVE_AV_CONFIG_H -Wno-sign-compare -Wno-switch -Wno-pointer-sign
    FFCFLAGS += -DTARGET_CONFIG=\"config-$(TARGET_ARCH).h\"

    ALL_S_FILES := $(wildcard $(LOCAL_PATH)/$(TARGET_ARCH)/*.S)
    ALL_S_FILES := $(addprefix $(TARGET_ARCH)/, $(notdir $(ALL_S_FILES)))

    ifneq ($(ALL_S_FILES),)
    ALL_S_OBJS := $(patsubst %.S,%.o,$(ALL_S_FILES))
    C_OBJS := $(filter-out $(ALL_S_OBJS),$(OBJS))
    S_OBJS := $(filter $(ALL_S_OBJS),$(OBJS))
    else
    C_OBJS := $(OBJS)
    S_OBJS :=
    endif

    C_FILES := $(patsubst %.o,%.c,$(C_OBJS))
    S_FILES := $(patsubst %.o,%.S,$(S_OBJS))

    FFFILES := $(sort $(S_FILES)) $(sort $(C_FILES))' > av.mk

    echo 'include $(all-subdir-makefiles)' > ../Android.mk

    echo 'LOCAL_PATH := $(call my-dir)
    include $(CLEAR_VARS)
    LOCAL_STATIC_LIBRARIES := libavformat libavcodec libavutil libpostproc libswscale
    LOCAL_MODULE := ffmpeg
    include $(BUILD_SHARED_LIBRARY)
    include $(call all-makefiles-under,$(LOCAL_PATH))' > Android.mk

    echo 'LOCAL_PATH := $(call my-dir)
    include $(CLEAR_VARS)
    include $(LOCAL_PATH)/../av.mk
    LOCAL_SRC_FILES := $(FFFILES)
    LOCAL_C_INCLUDES :=        \
       $(LOCAL_PATH)        \
       $(LOCAL_PATH)/..
    LOCAL_CFLAGS += $(FFCFLAGS)
    LOCAL_CFLAGS += -include "string.h" -Dipv6mr_interface=ipv6mr_ifindex
    LOCAL_LDLIBS := -lz
    LOCAL_STATIC_LIBRARIES := $(FFLIBS)
    LOCAL_MODULE := $(FFNAME)
    include $(BUILD_STATIC_LIBRARY)' > libavformat/Android.mk

    echo 'LOCAL_PATH := $(call my-dir)
    include $(CLEAR_VARS)
    include $(LOCAL_PATH)/../av.mk
    LOCAL_SRC_FILES := $(FFFILES)
    LOCAL_C_INCLUDES :=        \
       $(LOCAL_PATH)        \
       $(LOCAL_PATH)/..
    LOCAL_CFLAGS += $(FFCFLAGS)
    LOCAL_CFLAGS += -std=c99
    LOCAL_LDLIBS := -lz
    LOCAL_STATIC_LIBRARIES := $(FFLIBS)
    LOCAL_MODULE := $(FFNAME)
    include $(BUILD_STATIC_LIBRARY)' > libavcodec/Android.mk

    echo 'LOCAL_PATH := $(call my-dir)
    include $(CLEAR_VARS)
    include $(LOCAL_PATH)/../av.mk
    LOCAL_SRC_FILES := $(FFFILES)
    LOCAL_C_INCLUDES :=        \
       $(LOCAL_PATH)        \
       $(LOCAL_PATH)/..
    LOCAL_CFLAGS += $(FFCFLAGS)
    LOCAL_STATIC_LIBRARIES := $(FFLIBS)
    LOCAL_MODULE := $(FFNAME)
    include $(BUILD_STATIC_LIBRARY)' > libavfilter/Android.mk

    echo 'LOCAL_PATH := $(call my-dir)
    include $(CLEAR_VARS)
    include $(LOCAL_PATH)/../av.mk
    LOCAL_SRC_FILES := $(FFFILES)
    LOCAL_C_INCLUDES :=        \
       $(LOCAL_PATH)        \
       $(LOCAL_PATH)/..
    LOCAL_CFLAGS += $(FFCFLAGS)
    LOCAL_STATIC_LIBRARIES := $(FFLIBS)
    LOCAL_MODULE := $(FFNAME)
    include $(BUILD_STATIC_LIBRARY)' > libavutil/Android.mk

    echo 'LOCAL_PATH := $(call my-dir)
    include $(CLEAR_VARS)
    include $(LOCAL_PATH)/../av.mk
    LOCAL_SRC_FILES := $(FFFILES)
    LOCAL_C_INCLUDES :=        \
       $(LOCAL_PATH)        \
       $(LOCAL_PATH)/..
    LOCAL_CFLAGS += $(FFCFLAGS)
    LOCAL_STATIC_LIBRARIES := $(FFLIBS)
    LOCAL_MODULE := $(FFNAME)
    include $(BUILD_STATIC_LIBRARY)' > libpostproc/Android.mk

    echo 'LOCAL_PATH := $(call my-dir)
    include $(CLEAR_VARS)
    include $(LOCAL_PATH)/../av.mk
    LOCAL_SRC_FILES := $(FFFILES)
    LOCAL_C_INCLUDES :=        \
       $(LOCAL_PATH)        \
       $(LOCAL_PATH)/..
    LOCAL_CFLAGS += $(FFCFLAGS)
    LOCAL_STATIC_LIBRARIES := $(FFLIBS)
    LOCAL_MODULE := $(FFNAME)
    include $(BUILD_STATIC_LIBRARY)' > libswscale/Android.mk

    # start build!
    echo "start ndk-building..."
    cd ../..
    $NDK/ndk-build
    # Change previous line to "$NDK/ndk-build V=1" if you'll get errors. This will give some more information.'

    and here is the error i got

    WARNING : /Users/swapnil/android-ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86/bin/arm-linux-androideabi-pkg-config not found, library detection may fail.
    WARNING : Compiler does not indicate floating-point ABI, guessing soft.
    modifying the config.h