Summary: | net-misc/linphone-1.0.1 doesn't compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Miroslav Šulc <fordfrog> |
Component: | Current packages | Assignee: | voip herd (OBSOLETE) <voip+disabled> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | spamlover |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Miroslav Šulc
2005-07-15 01:55:59 UTC
please try again with ipv6 flag enabled USE="ipv6" emerge -uDva linphone results in this error: mkdir .libs i686-pc-linux-gnu-gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DENABLE_TRACE -D_ORTP_SOURCE -O2 -march=pentium4 -fomit-frame-pointer -o .libs/linphonec linphonec.o commands.o -pthread ../coreapi/.libs/liblinphone.so -ldl ../coreapi/.libs/liblinphone.so: undefined reference to `osip_mutex_unlock' ../coreapi/.libs/liblinphone.so: undefined reference to `osip_mutex_destroy' ../coreapi/.libs/liblinphone.so: undefined reference to `osip_cond_init' ../coreapi/.libs/liblinphone.so: undefined reference to `osip_thread_join' ../coreapi/.libs/liblinphone.so: undefined reference to `osip_thread_exit' ../coreapi/.libs/liblinphone.so: undefined reference to `osip_cond_destroy' ../coreapi/.libs/liblinphone.so: undefined reference to `osip_cond_signal' ../coreapi/.libs/liblinphone.so: undefined reference to `osip_mutex_init' ../coreapi/.libs/liblinphone.so: undefined reference to `osip_mutex_lock' ../coreapi/.libs/liblinphone.so: undefined reference to `osip_thread_create' collect2: ld returned 1 exit status make[2]: *** [linphonec] Error 1 make[2]: Leaving directory `/var/tmp/portage/linphone-1.0.1/work/linphone-1.0.1/console' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/linphone-1.0.1/work/linphone-1.0.1' make: *** [all] Error 2 I don't know whether this error is related to libosip package - I have net-libs/libosip-2.2.1. This time, setting USE="-doc" does not even help. Instead of enabling ipv6, removing the ipv6 ifdef from linphonecore.c solves the first problem. -#ifdef INET6 #include <netdb.h> -#endif The second issue is fixed by compiling libosip with USE="threads". i've revived the ipv6 patch from the 0.12.x ebuilds Fixed the libosip-2.2.1 ebuild to always build with threading support, going to close this bug if everything works fine now(?) |