LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-26-2005, 08:19 PM   #1
supadawg
LQ Newbie
 
Registered: Aug 2004
Posts: 10

Rep: Reputation: 0
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
 
Old 03-26-2005, 08:29 PM   #2
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Rep: Reputation: 48
Does ldconfig help? LinuxPackages has both libosip and linphone available as slackware packages and they work fine.
 
Old 03-26-2005, 08:36 PM   #3
supadawg
LQ Newbie
 
Registered: Aug 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for the quick reply. Two questions:

1. What is ldconfig and how do I use it?

2. Do Slackware packages include source code? I need to use linphone and libosip in a program I'm making.
 
Old 03-26-2005, 08:45 PM   #4
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Rep: Reputation: 48
ldconfig is a program that updates your shared library links, you should run it whenever you install new libraries to your system. To use you simply open a terminal (or login to a console), become root and type ldconfig (see: man ldconfig). Slackware packages don't include the source, only compiled binaries.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Codec problem in linphone for Bulverde ojas Linux - Software 2 08-06-2005 12:03 PM
Linphone with msn-messenger alienDog Linux - Software 0 02-17-2005 04:31 PM
Problems installing linphone-im for gaim-vv Hungry ghost Linux - Software 0 02-14-2005 07:31 AM
Linphone on Fedora ? jonty_11 Programming 0 10-28-2004 12:54 PM
Linphone/Kphone and X-Lite n3tw0rk Linux - Software 0 10-22-2004 04:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration