Problem installing linphone
I'm installing linphone 0.12.2 with libosip 2.2.0 packaged. Libosip installed fine, but I'm having problems with linphone. I'm using Slackware 10.1. It gives this output when executing ./configure in osipua subdirectory:
Relevant part of ./configure output:
checking for sys/sem.h... yes
checking for an ANSI C-conforming const... yes
checking for vprintf... yes
checking for _doprnt... no
checking for cseq_init in -losip... no
configure: error: Can't find libosip. You MUST download and install libosip package from linphone web site before compiling linphone
Relevant part of config.log:
configure:22044: checking for cseq_init in -losip
configure:22074: gcc -o conftest -g -O2 -I/usr/local/include -L/usr/lo
cal/lib conftest.c -losip >&5
/tmp/ccmMIFzv.o(.text+0xa): In function `main':
/tmp/linphone-0.12.2/osipua/conftest.c:53: undefined reference to `cseq_
init'
/usr/local/lib/libosip.so: undefined reference to `pthread_create'
/usr/local/lib/libosip.so: undefined reference to `sem_destroy'
/usr/local/lib/libosip.so: undefined reference to `sem_wait'
/usr/local/lib/libosip.so: undefined reference to `sem_post'
/usr/local/lib/libosip.so: undefined reference to `sem_init'
/usr/local/lib/libosip.so: undefined reference to `sem_trywait'
/usr/local/lib/libosip.so: undefined reference to `pthread_join'
collect2: ld returned 1 exit status
configure:22080: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "osipua"
| #define VERSION "0.12.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_OSIP_OSIP_H 1
| #define HAVE_PTHREAD_H 1
| #define OSIP_MT 1
| #define ENABLE_TRACE 1
| #define STDC_HEADERS 1
| #define HAVE_STRINGS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_SIGNAL_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_SYS_SEM_H 1
| #define HAVE_VPRINTF 1
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char cseq_init ();
| int
| main ()
| {
| cseq_init ();
| ;
| return 0;
| }
configure:22105: result: no
configure:22110: error: Can't find libosip. You MUST download and instal
l libosip package from linphone web site before compiling linphone
Thanks in advance,
Alek
|