linphone-users
[Top][All Lists]
Advanced

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

回复: Re: [Linphone-users] Port the ort p to the uclinux platform for arm


From: yan yin
Subject: 回复: Re: [Linphone-users] Port the ort p to the uclinux platform for arm and meet s ome problems
Date: Mon, 9 Jan 2006 09:16:26 +0800 (CST)

Hi Aymeric,
   Thank you very much for your help.If I can't choice "CFLAGS=-c", the new error happens.

configure:2377: arm-elf-gcc -V </dev/null >&5
arm-elf-gcc: argument to `-V' is missing
configure:2380: $? = 1
configure:2403: checking for C compiler default output file name
configure:2406: arm-elf-gcc -O2   conftest.c  >&5
/usr/local/lib/gcc-lib/arm-elf/2.95.3/libgcc.a(__main.o): In function `__do_global_ctors':
__main.o(.text+0xc4): undefined reference to `__CTOR_LIST__'
/usr/local/lib/gcc-lib/arm-elf/2.95.3/libgcc.a(__main.o)(.data+0x0): undefined reference to `__DTOR_LIST__'
collect2: ld returned 1 exit status
configure:2409: $? = 1
configure: failed program was:
| /* confdefs.h.  */

The configure can be stopped here.The osip2 and libeXosip2  can be ported to the uclinux platform for arm by the same ways.Why?

  Best Regards
                   Sunny

Aymeric Moizard <address@hidden> 写道:
"CFLAGS=-c" is not valid in you ./configure command line.
Aymeric

On Sat, 7 Jan 2006, yan yin wrote:

> 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
> #include
> #include
> #include
> #include
> #include
> #include
> #include
> #include
> #include
>
> 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,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]