Android CSipSimple-编译失败

时间:2018-09-15 14:57:50

标签: android java-native-interface csip-simple

我正在尝试编译CSIPsimple,但出现以下错误。

当我尝试通过此链接进行修复时,发生了与以下错误不同的错误: Compilation fails in libvpx while building CSipSimple source

android-virtual-machine:~/csipsimple/trunk/CSipSimple$ sudo make
    [sudo] password for inmoadmin:
    make[1]: Entering directory '/home/inmoadmin/csipsimple/trunk/CSipSimple/jni/libvpx'
    dirname: missing operand
    Try 'dirname --help' for more information.
    Applying patch patches/000toolchain_for_embedding.diff
    patching file sources/build/make/Android.mk
    Hunk #1 FAILED at 41.
    Hunk #2 FAILED at 51.
    Hunk #3 FAILED at 102.
    Hunk #4 FAILED at 114.
    Hunk #5 FAILED at 141.
    Hunk #6 FAILED at 168.
    6 out of 6 hunks FAILED -- rejects in file sources/build/make/Android.mk
    patching file sources/libs.mk
    Hunk #1 succeeded at 31 with fuzz 2 (offset 14 lines).
    Hunk #2 FAILED at 111.
    Hunk #3 succeeded at 196 with fuzz 2 (offset 45 lines).
    Hunk #4 FAILED at 199.
    Hunk #5 FAILED at 212.
    Hunk #6 succeeded at 352 with fuzz 1 (offset 92 lines).
    Hunk #7 FAILED at 338.
    Hunk #8 succeeded at 580 (offset 138 lines).
    4 out of 8 hunks FAILED -- rejects in file sources/libs.mk
    patching file sources/configure
    Hunk #1 FAILED at 97.
    Hunk #2 succeeded at 133 with fuzz 2 (offset 21 lines).
    Hunk #3 FAILED at 361.
    Hunk #4 succeeded at 511 (offset 69 lines).
    Hunk #5 FAILED at 595.
    3 out of 5 hunks FAILED -- rejects in file sources/configure
    patching file sources/build/make/configure.sh
    Hunk #1 FAILED at 787.
    Hunk #2 FAILED at 897.
    Hunk #3 FAILED at 925.
    Hunk #4 FAILED at 944.
    Hunk #5 FAILED at 1114.
    5 out of 5 hunks FAILED -- rejects in file sources/build/make/configure.sh
    patching file sources/vp8/common/systemdependent.h
    Hunk #1 FAILED at 10.
    1 out of 1 hunk FAILED -- rejects in file sources/vp8/common/systemdependent.h
    patching file sources/vp8/common/postproc.c
    Hunk #1 FAILED at 738.
    1 out of 1 hunk FAILED -- rejects in file sources/vp8/common/postproc.c
    can't find file to patch at input line 520
    Perhaps you used the wrong -p or --strip option?
    The text leading up to this was:
    --------------------------
    |Index: libvpx/sources/build/make/rtcd.sh
    |===================================================================
    |--- libvpx.orig/sources/build/make/rtcd.sh     2012-11-02 19:53:47.689818898 +0100
    |+++ libvpx/sources/build/make/rtcd.sh  2012-11-02 19:54:19.409817571 +0100
    --------------------------
    No file to patch.  Skipping patch.
    1 out of 1 hunk ignored
    Patch patches/000toolchain_for_embedding.diff does not apply (enforce with -f)
    Makefile:56: recipe for target '.patched_sources' failed
    make[1]: *** [.patched_sources] Error 1
    make[1]: Leaving directory '/home/inmoadmin/csipsimple/trunk/CSipSimple/jni/libvpx'
    Makefile:35: recipe for target 'jni/libvpx/.patched_sources' failed
    make: *** [jni/libvpx/.patched_sources] Error 2

0 个答案:

没有答案