[Top][All Lists]

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

[Linphone-developers] Re: Linphone-developers Digest, Vol 40, Issue 5

From: Edwin Cordeiro
Subject: [Linphone-developers] Re: Linphone-developers Digest, Vol 40, Issue 5
Date: Mon, 12 Jun 2006 15:31:47 -0300


Thanks for your answer, but using --enable-thread=posix didn't work, on ./configure appear this message:
checking for pthread_mutex_init in -lpthread... no

So I changed the configure to force to use -lpthread on the compilation by using this lines on the end of the code of thread configuration:
LIBS="-lpthread  $LIBS"

and then I got a new error:
arm-linux-gcc -shared  .libs/str_utils.o .libs/port_fct.o .libs/rtpmod.o .libs/rtpparse.o .libs/rtpsession.o .libs/jitterctl.o .libs/rtpsignaltable.o .libs/rtptimer.o .libs/posixtimer.o .libs/ortp.o .libs/scheduler.o .libs/avprofile.o .libs/sessionset.o .libs/telephonyevents.o .libs/payloadtype.o .libs/rtcp.o .libs/utils.o .libs/rtcpparse.o  -lm -lpthread  -Wl,-soname -Wl, -o .libs/
/opt/montavista/previewkit/arm/v4t_le/bin/../lib/gcc-lib/armv4tl-hardhat-linux/3.3.1/../../../../armv4tl-hardhat-linux/bin/ld: cannot find libpthread_nonshared.a
collect2: ld returned 1 exit status
make[3]: ** [] Erro 1
make[3]: Saindo do diretório `/home/innovatech/lphone/linphone-1.2.0/oRTP/src'
make[2]: ** [all-recursive] Erro 1
make[2]: Saindo do diretório `/home/innovatech/lphone/linphone-1.2.0/oRTP/src'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/home/innovatech/lphone/linphone-1.2.0/oRTP'
make: ** [all] Erro 2

On 6/12/06, Grover Vishal-E50370 <address@hidden> wrote:
This looks as if the arm compiler was not properly configured. When you run the ./configure script. Make sure you specify the enable-threads options and set it equat to posix


You might also look at other configure options that you need to correctly set


-----Original Message-----
From: linphone-developers-bounces+vgrover= address@hidden [mailto:address@hidden] On Behalf Of address@hidden
Sent: Monday, June 12, 2006 11:02 AM
To: address@hidden
Subject: Linphone-developers Digest, Vol 40, Issue 5

Send Linphone-developers mailing list submissions to

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to

You can reach the person managing the list at

When replying, please edit your Subject line so it is more specific than "Re: Contents of Linphone-developers digest..."

Today's Topics:

   1. Compile for ARM-Linux (Edwin Cordeiro)


Message: 1
Date: Mon, 12 Jun 2006 09:51:23 -0300
From: "Edwin Cordeiro" <address@hidden >
Subject: [Linphone-developers] Compile for ARM-Linux
To: address@hidden
        < address@hidden>
Content-Type: text/plain; charset="iso-8859-1"

I'm trying to compile linphone-1.3.5 for a ARM Linux, I have installed all the requirements and was using README.arm as example for the my compilation.
But when compile oRTP I get this error message:

make[1]: Entrando no diretório `/home/innovatech/linphone /linphone-1.3.5 /oRTP/src/tests'
/bin/sh ../../libtool --mode=link arm-linux-gcc -D_ORTP_SOURCE   -g -O2
-Wall -Werror   -DORTP_INET6   -o rtpsend  rtpsend.o ../../src/
arm-linux-gcc -D_ORTP_SOURCE -g -O2 -Wall -Werror -DORTP_INET6 -o .libs/rtpsend rtpsend.o  ../../src/.libs/
../../src/.libs/ undefined reference to `pthread_create'
../../src/.libs/ undefined reference to `pthread_join'
collect2: ld returned 1 exit status
make[1]: ** [rtpsend] Erro 1
make[1]: Saindo do diretório `/home/innovatech/linphone/linphone-1.3.5
make: ** [all-recursive] Erro 1

My native language is portuguese so I'm translating the portuguese error
Entrando no diretório = Entering in the directory Saindo do diretório = Leaving the directory

Can anybody help me?

-------------- next part --------------
An HTML attachment was scrubbed...


Linphone-developers mailing list

End of Linphone-developers Digest, Vol 40, Issue 5

reply via email to

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