linphone-users
[Top][All Lists]
Advanced

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

[Linphone-users] Port the ortp to the uclinux platform for arm and meet


From: yan yin
Subject: [Linphone-users] Port the ortp to the uclinux platform for arm and meet some problems
Date: Sat, 7 Jan 2006 10:59:08 +0800 (CST)

Hi all,
When I ported the ortp to the uclinux platform for arm and meet some problems ,so I wrote to Simon,no reply.Maybe Simon must be too busy to read my letter,so I posted my letter to here.I hope some one can help me.Thank you very much!
Best Regard!
                      Sunny
Hi Simon,
   Did you receive my last letter?My problems han't resolved.I had installed the include and lib of the ortp because the errors happend on the test folder.Maybe the include and the lib can works.But when I wrote the small program:
 
#include<ortp/rtpsignaltable.h>
#include<ortp/ortp.h>
#include<ortp/payloadtype>
#include<ortp/rtcp.h>
#include<ortp/rtp.h>
#include<ortp/rtpport.h>
#include<ortp/rtpsession.h>
#include<ortp/sessionset.h>
#include<ortp/str_utils.h>
#include<ortp/telephonyevents.h>
 
int main(void)
{
  int i;
  ortp_init();
  return 0;
}
 
compiled it on my uclinux platform,some errors happend on the rtpsignaltable.h
RtpCallback,  RtpSignalTable was redefined.When I deleted the
#include<ortp/rtpsignaltable.h>,the compiling is ok.I don't know why? I had port  the libexosip and the osip2 to my uclinux platform,and now I hope the ortp can work on my board.
  I'm waiting for your reply.
  Best Regards
  Sunny
Hi Simon,
    I'm Sunny.I know you are very busy,so when I meet the problems ,the first I check lists.gnu.org/archive,but I can't find the answer,I have to wdrite to you.
I want to port ortp to my board :arm uclinux platform.my config:
1.
../ortp-0.8.1/configure ----enable-pthread --enable-sysv --enable-semaphore --prefix=/home/yyl/uClinux/ --exec-prefix=/home/yyl/uClinux/ --libdir=/home/yyl/uClinux/uClibc/lib --includedir=/home/yyl/uClinux/uClibc/include --build=arm-uclinux --host=arm-elf  --disable-glib --disable-glibtest CFLAGS=-c
 
2.make
the errors happened on the src/test folder:
make[3]: Leaving directory `/home/yyl/Osip/ortp/src'
Making all in tests
make[3]: Entering directory `/home/yyl/Osip/ortp/src/tests'
source='../../../ortp-0.8.1/src/tests/rtpsend.c' object='rtpsend.o' libtool=no \
depfile='.deps/rtpsend.Po' tmpdepfile='.deps/rtpsend.TPo' \
depmode=gcc /bin/sh ../../../ortp-0.8.1/depcomp \
arm-elf-gcc -DHAVE_CONFIG_H -I. -I../../../ortp-0.8.1/src/tests -I../.. -I../../../ortp-0.8.1/include/   -D_ORTP_SOURCE -D_REENTRANT  -c -Wall -Werror  -c ../../../ortp-0.8.1/src/tests/rtpsend.c
/bin/sh ../../libtool --mode=link arm-elf-gcc -D_ORTP_SOURCE -D_REENTRANT  -c -Wall -Werror    -o rtpsend  rtpsend.o ../../src/libortp.la
mkdir .libs
arm-elf-gcc -D_ORTP_SOURCE -D_REENTRANT -c -Wall -Werror -o rtpsend rtpsend.o  ../../src/.libs/libortp.a -lpthread -lm
arm-elf-gcc: cannot specify -o with -c or -S and multiple compilations
make[3]: Leaving directory `/home/yyl/Osip/ortp/src/tests'
make[2]: Leaving directory `/home/yyl/Osip/ortp/src'
make[1]: Leaving directory `/home/yyl/Osip/ortp'
make[3]: ***[rtpsend] error 1
make[2]: ***[all-recursive] error 1
make[1]: ***[all-recursive] error 1
make: ***[all] error 2
I don't know why? Could you give me some advice? How to resolved it? Thank you very much.
 
Best Regards
 
         Sunny


雅虎1G免费邮箱百分百防垃圾信
雅虎助手¨D搜索、杀毒、防骚扰
reply via email to

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