Make error on Ubuntu 16.04 Mate

132 views
Skip to first unread message

Agustin Lo Castro

unread,
Aug 18, 2016, 2:36:28 PM8/18/16
to CSipSimple Development


I follow howtobuild.wiki instructions but make result in this error:

// ERROR
//--------------------------------------------------------------------------------------------------------------------------------------------------------

desa33@ubuntu:~/CSipSimple$ make
make[1]: Entering directory '/home/desa33/CSipSimple/jni/pjsip'
Applying patch patches/002pjsip-webrtc-aec.diff
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: pjsip/sources/aconfigure
|===================================================================
|--- pjsip.orig/sources/aconfigure    2015-02-08 15:54:26.373648300 +0100
|+++ pjsip/sources/aconfigure    2015-02-08 15:54:26.313642835 +0100
--------------------------
No file to patch.  Skipping patch.
4 out of 4 hunks ignored
can't find file to patch at input line 56
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: pjsip/sources/aconfigure.ac
|===================================================================
|--- pjsip.orig/sources/aconfigure.ac    2015-02-08 15:54:26.373648300 +0100
|+++ pjsip/sources/aconfigure.ac    2015-02-08 15:54:26.317643198 +0100
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 92
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: pjsip/sources/build/rules.mak
|===================================================================
|--- pjsip.orig/sources/build/rules.mak    2015-02-08 15:54:26.373648300 +0100
|+++ pjsip/sources/build/rules.mak    2015-02-08 15:54:26.317643198 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 108
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: pjsip/sources/pjmedia/build/os-auto.mak.in
|===================================================================
|--- pjsip.orig/sources/pjmedia/build/os-auto.mak.in    2015-02-08 15:54:26.373648300 +0100
|+++ pjsip/sources/pjmedia/build/os-auto.mak.in    2015-02-08 15:54:26.317643198 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 122
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: pjsip/sources/pjmedia/build/os-darwinos.mak
|===================================================================
|--- pjsip.orig/sources/pjmedia/build/os-darwinos.mak    2015-02-08 15:54:26.373648300 +0100
|+++ pjsip/sources/pjmedia/build/os-darwinos.mak    2015-02-08 15:54:26.317643198 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 136
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: pjsip/sources/pjmedia/build/os-linux.mak
|===================================================================
|--- pjsip.orig/sources/pjmedia/build/os-linux.mak    2015-02-08 15:54:26.373648300 +0100
|+++ pjsip/sources/pjmedia/build/os-linux.mak    2015-02-08 15:54:26.317643198 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 150
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: pjsip/sources/pjmedia/build/os-win32.mak
|===================================================================
|--- pjsip.orig/sources/pjmedia/build/os-win32.mak    2015-02-08 15:54:26.373648300 +0100
|+++ pjsip/sources/pjmedia/build/os-win32.mak    2015-02-08 15:54:26.317643198 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 164
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: pjsip/sources/pjmedia/include/pjmedia/echo.h
|===================================================================
|--- pjsip.orig/sources/pjmedia/include/pjmedia/echo.h    2015-02-08 15:54:26.373648300 +0100
|+++ pjsip/sources/pjmedia/include/pjmedia/echo.h    2015-02-08 15:54:26.317643198 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 181
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: pjsip/sources/pjmedia/src/pjmedia/echo_common.c
|===================================================================
|--- pjsip.orig/sources/pjmedia/src/pjmedia/echo_common.c    2015-02-08 15:54:26.373648300 +0100
|+++ pjsip/sources/pjmedia/src/pjmedia/echo_common.c    2015-02-08 15:54:26.317643198 +0100
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 220
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: pjsip/sources/pjmedia/src/pjmedia/echo_internal.h
|===================================================================
|--- pjsip.orig/sources/pjmedia/src/pjmedia/echo_internal.h    2015-02-08 15:54:26.373648300 +0100
|+++ pjsip/sources/pjmedia/src/pjmedia/echo_internal.h    2015-02-08 15:54:26.373648300 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
patching file sources/pjmedia/src/pjmedia/echo_webrtc_aec.c
can't find file to patch at input line 594
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: pjsip/sources/third_party/build/os-auto.mak.in
|===================================================================
|--- pjsip.orig/sources/third_party/build/os-auto.mak.in    2015-02-08 15:54:26.373648300 +0100
|+++ pjsip/sources/third_party/build/os-auto.mak.in    2015-02-08 15:54:26.373648300 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 606
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: pjsip/sources/third_party/build/os-darwinos.mak
|===================================================================
|--- pjsip.orig/sources/third_party/build/os-darwinos.mak    2015-02-08 15:54:26.373648300 +0100
|+++ pjsip/sources/third_party/build/os-darwinos.mak    2015-02-08 15:54:26.373648300 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 617
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: pjsip/sources/third_party/build/os-linux.mak
|===================================================================
|--- pjsip.orig/sources/third_party/build/os-linux.mak    2015-02-08 15:54:26.373648300 +0100
|+++ pjsip/sources/third_party/build/os-linux.mak    2015-02-08 15:54:26.373648300 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
patching file sources/third_party/build/webrtc/Makefile
patching file sources/third_party/build/webrtc/os-auto.mak.in
patching file sources/third_party/build/webrtc/os-darwinos.mak
patching file sources/third_party/build/webrtc/os-linux.mak
patching file sources/third_party/build/webrtc/os-win32.mak
Patch patches/002pjsip-webrtc-aec.diff does not apply (enforce with -f)
Makefile:11: recipe for target '.patched_sources' failed
make[1]: *** [.patched_sources] Error 1
make[1]: Leaving directory '/home/desa33/CSipSimple/jni/pjsip'
Makefile:35: recipe for target 'jni/pjsip/.patched_sources' failed
make: *** [jni/pjsip/.patched_sources] Error 2

//--------------------------------------------------------------------------------------------------------------------------------------------------------
// END ERROR

I think patch can not find aconfigure file, but how i set the config? Is needed the pjsip proyect to be included in somewhere?
Im not idea how to continue, help me please.

Thks you very mutch, im so exiting about countinuing developt my android app.
Reply all
Reply to author
Forward
0 new messages