linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Did someone get a working linphone build on An


From: Martin Hörlin
Subject: Re: [Linphone-developers] Did someone get a working linphone build on Android?
Date: Tue, 06 Sep 2011 09:09:32 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1

Hi Bruno,

on cygwin these kind of errors:

cc1.exe: error: /cygdrive/c/ProgettoVFStationVoIP/Workspace/linphone-android/jni/..//submodules/linphone/oRTP/build/android/../..//build/android/ortp_AndroidConfig.h: No such file or directory


can be avoided by moving the path in "-include ..._AndroidConfig.h" statements  to the LOCAL_C_INCLUDE variable in the android.mk files, see example last in the mail. If you change this on all places where similar statements are used linphone-android compiles with cygwin and android-ndk-r6 as a build environment, at least for me.

Martin


example:

diff --git a/build/android/Android.mk b/build/android/Android.mk
index 1c32ebc..0cf33f1
--- a/build/android/Android.mk
+++ b/build/android/Android.mk
@@ -55,7 +55,7 @@ LOCAL_SRC_FILES := \
 LOCAL_CFLAGS += \
        -DORTP_INET6 \
        -UHAVE_CONFIG_H \
-       -include $(LOCAL_PATH)/build/android/ortp_AndroidConfig.h
+       -include ortp_AndroidConfig.h
 
 
 ifeq ($(BUILD_GPLV3_ZRTP), 1)
@@ -80,7 +80,8 @@ endif #SRTP
 
 LOCAL_C_INCLUDES += \
        $(LOCAL_PATH) \
-       $(LOCAL_PATH)/include
+       $(LOCAL_PATH)/include \
+       $(LOCAL_PATH)/build/android
 
 LOCAL_LDLIBS += -lpthread

Bruno Francesco skrev 2011-09-06 08:13:

Hi Simon,

I see.

Anyway the same problem is seen in Linux Build Environment L

 

It seem there is something wrong with –include in LOCAL_CFLAGS, but I’m not able to figure out what is.

 

Thanks

Regards

 

Francesco

 

 

From: Simon MORLAT [mailto:address@hidden] On Behalf Of Simon Morlat
Sent: lunedì 5 settembre 2011 22.39
To: address@hidden
Cc: Bruno Francesco
Subject: Re: [Linphone-developers] Did someone get a working linphone build on Android?

 

Hi Bruno,

Well, I'm sorry we don't use cygwin for building linphone-android, we only support the linux build environment. As a result it is not surprising that you find bugs.
We have nothing against cygwin, it is just that we prefer using linux or mac os to develop on android.

Simon

On 02/09/2011 09:21, Bruno Francesco wrote:

Dear all,

 

I’m still facing problems while trying to build linphone for Android.

I’m using NDK r6b and Cygwin to emulate Unix environment.

 

I’m getting 2 errors.

The first one is during the execution or the prepare_sources.sh script and it is:

 

[…]

configure: creating ./config.status

/bin/sh ./config.status

.in'ig.status: error: cannot find input file:

make: *** [Makefile] Error 1

iLBC prepare stage failed

Converting : ../../libvpx/asm_com_offsets.asm -> ../../libvpx/asm_com_offsets.s

Converting : ../../libvpx/asm_enc_offsets.asm -> ../../libvpx/asm_enc_offsets.s

Converting : ../../libvpx/vp8/common/arm/armv6/bilinearfilter_v6.asm -> ../../libvpx/vp8/common/arm/armv6/bilinearfilter_v6.s

Converting : ../../libvpx/vp8/common/arm/armv6/copymem16x16_v6.asm -> ../../libvpx/vp8/common/arm/armv6/copymem16x16_v6.s

This error did’t stop the whole process since the script goes ahead and convert .asm files to .s.

[…]

 

The second error is during native build (yes I tried to build despite the first error with the script):

 

$ C:/android-ndk-r6b/ndk-build

Compile arm    : mediastreamer2 <= mscommon.c

Compile arm    : mediastreamer2 <= msfilter.c

Compile arm    : mediastreamer2 <= msqueue.c

Compile arm    : mediastreamer2 <= msticker.c

Compile arm    : mediastreamer2 <= alaw.c

Compile arm    : mediastreamer2 <= ulaw.c

Compile arm    : mediastreamer2 <= mssndcard.c

Compile arm    : mediastreamer2 <= msfileplayer.c

Compile arm    : mediastreamer2 <= msrtp.c

Compile arm    : mediastreamer2 <= dtmfgen.c

Compile arm    : mediastreamer2 <= msfilerec.c

Compile arm    : mediastreamer2 <= ice.c

Compile arm    : mediastreamer2 <= tee.c

Compile arm    : mediastreamer2 <= msconf.c

Compile arm    : mediastreamer2 <= msjoin.c

Compile arm    : mediastreamer2 <= msvolume.c

Compile arm    : mediastreamer2 <= mtu.c

Compile arm    : mediastreamer2 <= mswebcam.c

Compile arm    : mediastreamer2 <= equalizer.c

Compile arm    : mediastreamer2 <= dsptools.c

Compile arm    : mediastreamer2 <= kiss_fft.c

Compile arm    : mediastreamer2 <= kiss_fftr.c

Compile arm    : mediastreamer2 <= void.c

Compile++ arm    : mediastreamer2 <= msandroid.cpp

Compile arm    : mediastreamer2 <= eventqueue.c

Compile arm    : mediastreamer2 <= msjava.c

Compile arm    : mediastreamer2 <= tonedetector.c

Compile arm    : mediastreamer2 <= audiostream.c

Compile arm    : mediastreamer2 <= qualityindicator.c

Compile arm    : mediastreamer2 <= bitratecontrol.c

Compile arm    : mediastreamer2 <= shaders.c

Compile arm    : mediastreamer2 <= opengles_display.c

Compile arm    : mediastreamer2 <= android-opengl-display.c

Compile arm    : mediastreamer2 <= msresample.c

Compile arm    : mediastreamer2 <= msspeex.c

Compile arm    : mediastreamer2 <= speexec.c

Compile arm    : mediastreamer2 <= gsm.c

Compile thumb  : ortp <= str_utils.c

cc1.exe: error: /cygdrive/c/ProgettoVFStationVoIP/Workspace/linphone-android/jni/..//submodules/linphone/oRTP/build/android/../..//build/android/ortp_AndroidConfig.h: No such file or directory

make: *** [/cygdrive/c/ProgettoVFStationVoIP/Workspace/linphone-android/obj/local/armeabi/objs/ortp/src/str_utils.o] Error 1

 

Could someone help me please?

 

Thanks in advance

My best regards

 

 

 



--
The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

 
 
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers

 




--
The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


reply via email to

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