linphone-users
[Top][All Lists]
Advanced

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

Re: [Linphone-users] compiling linphonerc version 1.4.1


From: Simon Morlat
Subject: Re: [Linphone-users] compiling linphonerc version 1.4.1
Date: Tue, 10 Oct 2006 15:09:34 +0200
User-agent: KMail/1.9.4

clock_gettime is definied in librt .
Adding -lrt to the link command should solve the problem.

Simon

Le vendredi 6 octobre 2006 14:55, Raja Mallik a écrit :
> Hi again,
>
> I have worked with linphone-1.2 early and was quite successful in
> compiling.
>
> At the moment, I trying to cross compile and found the mediastreamer2 is
> giving error as:
>
> Making all in tests
> make[4]: Entering directory
> `/home/raja/Desktop/VoIP/new-source1/linphone-1.4.1/mediastreamer2/tests'
> /bin/sh ../libtool --tag=CC --mode=link arm-linux-gcc -I..
> -I../../oRTP/include   -DORTP_INET6 -O2 -fno-exceptions  -DINET6 -Wall
> -O2 -g  -Werror  -pthread -D_REENTRANT -rdynamic  -o mediastream
> mediastream.o ../src/libquickstream.la ../src/libmediastreamer.la
> ../../oRTP/src/libortp.la   -I/home/raja/Desktop/VoIP/armbuild/lib -lspeex
> ../../gsmlib/libgsm.la  -pthread -lpthread arm-linux-gcc -I..
> -I../../oRTP/include -DORTP_INET6 -O2 -fno-exceptions -DINET6 -Wall -O2 -g
> -Werror -pthread -D_REENTRANT -rdynamic
> -o .libs/mediastream mediastream.o
> -I/home/raja/Desktop/VoIP/armbuild/lib
> -pthread  ../src/.libs/libquickstream.so ../src/.libs/libmediastreamer.so
> ../../oRTP/src/.libs/libortp.so
> /home/raja/Desktop/VoIP/armbuild/lib/libspeex.so
> ../../gsmlib/.libs/libgsm.a -lpthread -Wl,--rpath
> -Wl,/home/raja/Desktop/VoIP/armbuild/lib ../src/.libs/libmediastreamer.so:
> undefined reference to `clock_gettime' collect2: ld returned 1 exit status
> make[4]: *** [mediastream] Error 1
> make[4]: Leaving directory
> `/home/raja/Desktop/VoIP/new-source1/linphone-1.4.1/mediastreamer2/tests'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/home/raja/Desktop/VoIP/new-source1/linphone-1.4.1/mediastreamer2'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/home/raja/Desktop/VoIP/new-source1/linphone-1.4.1/mediastreamer2'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/raja/Desktop/VoIP/new-source1/linphone-1.4.1'
> make: *** [all] Error 2
>
>
> Let me know if high resolution timer API "clock_gettime" . where do I
> get this?
>
> Pl, share your thoughts.
>
> Regards
> Raja Mallik
>
>
>
>
> _______________________________________________
> Linphone-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-users




reply via email to

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