linphone-developers
[Top][All Lists]
Advanced

[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

Hi,

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"
PTHREAD_LIBS="-lpthread"
PTHREAD_CFLAGS="-D_REENTRANT"
ORTPDEPS_LIBS="$ORTPDEPS_LIBS $PTHREAD_LIBS"
ORTPDEPS_CFLAGS="$ORTPDEPS_CFLAGS $PTHREAD_CFLAGS"
ORTPDEPS_LDFLAGS="$ORTPDEPS_LDFLAGS $PTHREAD_LDFLAGS"

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,libortp.so.2 -o .libs/libortp.so.2.0.0
/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]: ** [libortp.la] 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

--enable-threads=posix

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

Thanks,
vishal

-----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
        address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.nongnu.org/mailman/listinfo/linphone-developers
or, via email, send a message with subject or body 'help' to
        address@hidden

You can reach the person managing the list at
         address@hidden

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
Message-ID:
        < 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/libortp.la
arm-linux-gcc -D_ORTP_SOURCE -g -O2 -Wall -Werror -DORTP_INET6 -o .libs/rtpsend rtpsend.o  ../../src/.libs/libortp.so
../../src/.libs/libortp.so: undefined reference to `pthread_create'
../../src/.libs/libortp.so: 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
/oRTP/src/tests'
make: ** [all-recursive] Erro 1

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

Can anybody help me?

Thanks,
Edwin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gnu.org/pipermail/linphone-developers/attachments/20060612/ffc375b5/attachment.html

------------------------------

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


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



--
Edwin
reply via email to

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