|
From: | jehan monnier |
Subject: | Re: [Linphone-users] buid linphone on android platform by using NDK |
Date: | Fri, 2 Apr 2010 13:00:34 +0200 |
Hi, All,
I am tring to build linphone on android by myself .As I have download the linphone-application on android platfrom from www.linphone.org .I just tried to simulate it .Now here is my .mk file,but I can not build mediastreamer2.so successfully ,it ocurred many problems ,gsm and vedio cann't be built smoothly , and I found linphone use gsm.h which is in linux system.
Can I get the opensource of linphone with its .mk files,some modified module for android .I can not build it by myself.
Here is part of my .mk file.
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := mediastreamer2
LOCAL_SRC_FILES := src/mediastreamer2/mscommon.c\
src/mediastreamer2/msfilter.c \
src/mediastreamer2/msqueue.c \
src/mediastreamer2/msticker.c \
src/mediastreamer2/alaw.c \
src/mediastreamer2/ulaw.c \
src/mediastreamer2/mssndcard.c \
src/mediastreamer2/msrtp.c \
src/mediastreamer2/dtmfgen.c \
src/mediastreamer2/ice.c \
src/mediastreamer2/tee.c \
src/mediastreamer2/msconf.c \
src/mediastreamer2/msjoin.c \
src/mediastreamer2/g711common.h \
src/mediastreamer2/msvolume.c \
src/mediastreamer2/mswebcam.c \
src/mediastreamer2/mtu.c \
src/mediastreamer2/void.c \
src/mediastreamer2/dsptools.c \
src/mediastreamer2/kiss_fft.c \
src/mediastreamer2/_kiss_fft_guts.h \
src/mediastreamer2/kiss_fft.h \
src/mediastreamer2/kiss_fftr.c \
src/mediastreamer2/kiss_fftr.h \
src/mediastreamer2/equalizer.c \
src/mediastreamer2/rfc2429.h \
src/mediastreamer2/rfc3984.c \
src/mediastreamer2/mire.c \
src/mediastreamer2/swscale.h \
src/mediastreamer2/ffmpeg-priv.h
LOCAL_SRC_FILES += src/mediastreamer2/gsm.c
LOCAL_SRC_FILES += src/mediastreamer2/audiostream.c
LOCAL_SRC_FILES += src/mediastreamer2/msspeex.c\
src/mediastreamer2/speexec.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_CFLAGS := -DANDROID
LOCAL_LDLIBS := -llog
include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := ortp
LOCAL_SRC_FILES := src/ortp/str_utils.c \
src/ortp/port.c \
src/ortp/rtpparse.c \
src/ortp/rtpsession.c \
src/ortp/rtpsession_inet.c \
src/ortp/rtpsession_priv.h \
src/ortp/jitterctl.c \
src/ortp/jitterctl.h \
src/ortp/rtpsignaltable.c \
src/ortp/rtptimer.c\
src/ortp/rtptimer.h \
src/ortp/posixtimer.c \
src/ortp/ortp.c \
src/ortp/scheduler.c \
src/ortp/scheduler.h \
src/ortp/avprofile.c \
src/ortp/sessionset.c \
src/ortp/telephonyevents.c \
src/ortp/payloadtype.c \
src/ortp/rtcp.c \
src/ortp/utils.c \
src/ortp/utils.h \
src/ortp/rtcpparse.c \
src/ortp/event.c \
src/ortp/stun.c \
src/ortp/stun_udp.c \
src/ortp/srtp.c \
src/ortp/b64.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_CFLAGS := -DHAVE_CONFIG_H -DHAVE_DEV_RANDOM
LOCAL_LFLAGS := -Werror
LOCAL_LDLIBS := -llog
include $(BUILD_STATIC_LIBRARY)
#src/mediastreamer2/msvideo.c
#src/mediastreamer2/videoenc.c
#src/mediastreamer2/videodec.c
#src/mediastreamer2/videoout.c
#src/mediastreamer2/pixconv.c
#src/mediastreamer2/sizeconv.c
#src/mediastreamer2/nowebcam.c
#src/mediastreamer2/nowebcam.h
--
I have a strong desire to become to a android superior; let us work hard together!
_______________________________________________
Linphone-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/linphone-users
[Prev in Thread] | Current Thread | [Next in Thread] |