linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Error linking libortp


From: Hervé Ledv
Subject: Re: [Linphone-developers] Error linking libortp
Date: Tue, 18 Apr 2006 21:12:08 +0200

Hi,

Tried adding -lpthread to LDFLAG, but I am still getting the same error.

I am using the following cross-compiler:
        •       GCC version 4.0.2 for ARM-Linux
        •       Binutils 2.16.1
        •       glibc-2.3.5
        •       linux-libc-headers-2.6.12.0
        •       glibc-linuxthreads-2.3.5

Did anyone successfully cross-compiled the latest Linphone sources for arm-linux ?

The last binary package (ipk) I could find is rather old (version 0.12.2 from Oct 2004).

Thanks,
Hervé

From: Frederik Ferner <address@hidden>
To: address@hidden
Subject: Re: [Linphone-developers] Error linking libortp
Date: Tue, 18 Apr 2006 20:06:40 +0200

[resent due to wrong sender address in first try]
Hi,

On Tue, Apr 18, 2006 at 04:25:10PM +0200, Hervé Ledv wrote:
> I am getting the following error when linking libortp in Linphone-1.3.5:
>
> /bin/sh ../../libtool --mode=link arm-linux-gcc -D_ORTP_SOURCE -O2 -fno-exceptions -Wall -Werror -DORTP_INET6 -o
> rtpsend  rtpsend.o ../../src/libortp.la
> arm-linux-gcc -D_ORTP_SOURCE -O2 -fno-exceptions -Wall -Werror -DORTP_INET6 -o .libs/rtpsend rtpsend.o > ../../src/.libs/libortp.so -Wl,--rpath -Wl,/opt/local/devkitpro/devkitGP2X/sysroot/usr/lib
> ../../src/.libs/libortp.so: undefined reference to `pthread_create'
> ../../src/.libs/libortp.so: undefined reference to `pthread_join'

Untested and without looking at any code, but from this error I'd guess
you need to at -lphtread to you invokation of gcc (no idea about
libtool).

HTH,

Frederik


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

_________________________________________________________________
Retrouvez tout en un clin d'oeil avec la barre d'outil MSN Search ! http://desktop.msn.fr/





reply via email to

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