linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Linphone-developers Digest, Vol 105, Issue 36


From: Blak_eagle
Subject: Re: [Linphone-developers] Linphone-developers Digest, Vol 105, Issue 36
Date: Tue, 29 Nov 2011 09:14:45 +0100

Qppn991765

address@hidden a écrit :

>Send Linphone-developers mailing list submissions to
>       address@hidden
>
>To subscribe or unsubscribe via the World Wide Web, visit
>       https://lists.nongnu.org/mailman/listinfo/linphone-developers
>or, via email, send a message with subject or body 'help' to
>       address@hidden
>
>You can reach the person managing the list at
>       address@hidden
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Linphone-developers digest..."
>
>
>Today's Topics:
>
>   1. Re: Trying to build for Android  forthefirsttime (Richard Poirier)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Tue, 29 Nov 2011 01:04:36 -0500
>From: "Richard Poirier" <address@hidden>
>To: <address@hidden>
>Subject: Re: [Linphone-developers] Trying to build for Android
>       forthefirsttime
>Message-ID:
>       <address@hidden>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hi,
>
> 
>
>I resolved my problem by copying pkg.m4 from here:
>
>C:\MinGW\msys\1.0\share\aclocal
>
>To here:
>
>C:\MinGW\share\aclocal
>
> 
>
>[As a reminder:
>
>./configure: line 11437: syntax error near unexpected token `MEDIASTREAMER,'
>
>./configure: line 11437: `PKG_CHECK_MODULES(MEDIASTREAMER, mediastreamer >= 
>2.0.0)']
>
> 
>
>But then  ./prepare_sources.sh stopped further down with the following message:
>
> 
>
>  inflating: 
> SILK_SDK_SRC_v1.0.8/SILK_SDK_SRC_ARM_v1.0.8/test_vectors/test_encoder.bat
>
>  inflating: 
> SILK_SDK_SRC_v1.0.8/SILK_SDK_SRC_ARM_v1.0.8/test_vectors/test_encoder.sh
>
>cp ./patch_pic.diff SILK_SDK_SRC_v1.0.8/SILK_SDK_SRC_ARM_v1.0.8
>
>cd SILK_SDK_SRC_v1.0.8/SILK_SDK_SRC_ARM_v1.0.8 && /bin/patch -p0 < 
>patch_pic.diff
>
>patching file Makefile
>
>Hunk #1 FAILED at 26.
>
>1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
>
>make: *** [SILK_SDK_SRC_v1.0.8/SILK_SDK_SRC_ARM_v1.0.8] Error 1
>
>SILK audio plugin prepare state failed.
>
> 
>
>If anyone ever meet that error I would welcome information on how to solve it.
>
> 
>
>Nevertheless I continued and tried to compile the code using androir-ndk-r5b. 
>Firstly I had to change line # 41 of ortp.c from this:
>
>#include <srtp/srtp.h> to this:
>
>#include <../../srtp/include/srtp.h>
>
> 
>
>And now it compiles a whole bunch of files but eventually fails with this 
>error and I don't know what to do with it:
>
>...
>
>Compile arm    : vpx <= vpx_codec.c
>
>Compile arm    : vpx <= vpx_image.c
>
>Compile arm    : vpx <= arm_cpudetect.c
>
>Compile arm    : vpx <= vp8_vpxyv12_copyframe_func_neon.s
>
>awk: /c/Android/android-ndk-r5b/build/awk/convert-deps-to-cygwin.awk:37: 
>fatal: cannot open file 
>`/c/source/linphone-android/obj/local/armeabi-v7a/objs/ 
>vpx/vpx_scale/arm/neon/vp8_vpxyv12_copyframe_func_neon.o.d.org' for reading 
>(No such file or directory)
>
>make.exe: *** 
>[/c/source/linphone-android/obj/local/armeabi-v7a/objs/vpx/vpx_scale/arm/neon/vp8_vpxyv12_copyframe_func_neon.o]
> Error 2
>
> 
>
>In directory `/c/source/linphone-android/obj/local/armeabi-v7a/objs/ 
>vpx/vpx_scale/arm/neon' I see this file:
>
>vp8_vpxyv12_copyframe_func_neon.o and this file:
>
>vp8_vpxyv12_copyframe_func_neon.o but none of this file:
>
>vp8_vpxyv12_copyframe_func_neon.o.org
>
> 
>
>I inspected a few .mk files which contain the above filename without the 
>extension but it doesn't look like I'm on the right track. Any help on how to 
>attack this problem would make my day!
>
> 
>
>Thank you,
>
>Richard
>
> 
>
>From: address@hidden [mailto:address@hidden On Behalf Of Jehan Monnier
>Sent: November-28-11 15:28
>To: address@hidden
>Subject: Re: [Linphone-developers] Trying to build for Android forthefirsttime
>
> 
>
>Hi,
>
> 
>
>PKG_CHECK_MODULES is supposed to be defined in this file.
>
> 
>
>As a reminder:
>
>       ./configure: line 11437: syntax error near unexpected token 
> `MEDIASTREAMER,'
>
>       ./configure: line 11437: `PKG_CHECK_MODULES(MEDIASTREAMER, 
> mediastreamer >= 2.0.0)'
>
> 
>
>Jehan
>
>www.linphone.org
>
> 
>
> 
>
> 
>
>
>
>
>
> 
>
>Le 26 nov. 2011 ? 17:10, Richard Poirier a ?crit :
>
>
>
>
>
>In fact I do need SILK. Unfortunately, I'm having a hard time to understand 
>your last reply... I see that I have 2 files named pkg.m4. One here:
>
> 
>
>C:\sources\linphone-android\submodules\externals\libvpx\nestegg\m4
>
>And one here :
>
>C:\MinGW\msys\1.0\share\aclocal
>
> 
>
>What should I be looking for in these files?
>
> 
>
>Thanks,
>
>Richard
>
> 
>
>From: address@hidden [mailto:address@hidden On Behalf Of Jehan Monnier
>Sent: November-25-11 11:38
>To: address@hidden
>Subject: Re: [Linphone-developers] Trying to build for Android for thefirsttime
>
> 
>
>Hi Richard,
>
> 
>
>mac-book-de-jehan-monnier:linphone-android jehanmonnier$ port contents  
>pkgconfig
>
>Warning: port definitions are more than two weeks old, consider using 
>selfupdate
>
>Port pkgconfig contains:
>
>  /opt/local/bin/pkg-config
>
>  /opt/local/share/aclocal/pkg.m4
>
>  /opt/local/share/doc/pkg-config/pkg-config-guide.html
>
>  /opt/local/share/doc/pkgconfig/AUTHORS
>
>  /opt/local/share/doc/pkgconfig/COPYING
>
>  /opt/local/share/doc/pkgconfig/NEWS
>
>  /opt/local/share/doc/pkgconfig/README
>
>  /opt/local/share/man/man1/pkg-config.1.gz
>
> 
>
> 
>
> 
>
>pkg.m4 is the important file in this case.
>
> 
>
>Anyway, this last step in the prepare source is only mandatory if you plan to 
>compile with SILK support. Otherwise, just ignore this issue and continue.
>
> 
>
>Cheers
>
> 
>
>Jehan
>
>www.linphone.org
>
> 
>
> 
>
> 
>
> 
>
> 
>
>Le 25 nov. 2011 ? 17:18, Richard Poirier a ?crit :
>
>
>
>
>
>
>Hi Jehan,
>
> 
>
>But it seems that I already have pkg-config installed. I can see it in my 
>C:\MinGW\msys\1.0\bin\pkg-config.exe  directory and I have tested the that 
>pkg-config can run from my MinGS shell (/sources/linphone-android) where I 
>launch ./prepare_sources.sh.
>
> 
>
>Is there something else that I could look at.
>
> 
>
>Thanks for your help.
>
> 
>
>Richard
>
> 
>
>From: address@hidden [mailto:address@hidden On Behalf Of Jehan Monnier
>Sent: November-25-11 02:07
>To: address@hidden
>Subject: Re: [Linphone-developers] Trying to build for Android for the 
>firsttime
>
> 
>
>pkgconfig is missing. I have updated the README accordingly.
>
> 
>
>Cheer
>
> 
>
>Jehan
>
>www.linphone.org
>
> 
>
> 
>
> 
>
>
>
>
>
>
>
> 
>
>Le 24 nov. 2011 ? 21:32, Richard Poirier a ?crit :
>
>
>
>
>
>
>
>Hi,
>
> 
>
>I'm Working from a 64 bit Windows 7 OS. I was successful in building the 
>Linphone as instructed in the file README.mingw. Now I'm trying to build for 
>Android  but I am not successful using the instructions in the file 
>README-ANDROID.
>
>I have the Android ndk-r5b installed as well as the autotools: autoconf, 
>automake, aclocal and libtoolize. And I think that the later(s) are installed 
>properly given that I can build, and run, linphone for Windows. This is the 
>error that I get when I execute:
>
> 
>
>$ ./prepare_sources.sh
>
>...
>
>checking whether to build shared libraries... yes
>
>checking whether to build static libraries... no
>
>./configure: line 11437: syntax error near unexpected token `MEDIASTREAMER,'
>
>./configure: line 11437: `PKG_CHECK_MODULES(MEDIASTREAMER, mediastreamer >= 
>2.0.0)'
>
>SILK audio plugin prepare state failed.
>
> 
>
>I looked at the line 11437 but all looks fine to me. However I'm not familiar 
>with those kind of files... I would very much appreciate if someone could give 
>me some insight or leads as to where I can go from here to resolve that issue.
>
> 
>
>Thanks in advance,
>
>Richard
>
> 
>
> 
>
>_______________________________________________
>Linphone-developers mailing list
>address@hidden
>https://lists.nongnu.org/mailman/listinfo/linphone-developers
>
> 
>
>_______________________________________________
>Linphone-developers mailing list
>address@hidden
>https://lists.nongnu.org/mailman/listinfo/linphone-developers
>
> 
>
>_______________________________________________
>Linphone-developers mailing list
>address@hidden
>https://lists.nongnu.org/mailman/listinfo/linphone-developers
>
> 
>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: 
><http://lists.nongnu.org/archive/html/linphone-developers/attachments/20111129/b1c8a0f2/attachment.html>
>
>------------------------------
>
>_______________________________________________
>Linphone-developers mailing list
>address@hidden
>https://lists.nongnu.org/mailman/listinfo/linphone-developers
>
>
>End of Linphone-developers Digest, Vol 105, Issue 36
>****************************************************
>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]