Install linphone.1.2.0 in Ubuntu

Source: Internet
Author: User
Tags linphone

Install linphone.1.2.0 in Ubuntu
1. libosip2-2.2.2
./Configure -- prefix =/home/linux/linphone/install -- disable-static
Make; make install
2. libogg-1.1.0
./Configure -- prefix =/home/linux/linphone/install -- disable-static -- enable-fixed-point
Make; make install
 
3. libspeex Compilation
. /Configure -- prefix =/home/linux/linphone/install -- disable-static -- enable-fixed-point -- enable-arm-asm -- with-ogg =/home/linux/linphone /install -- with-ogg-libraries =/home/linux/linphone/install/lib -- with-ogg-headers =/home/linux/linphone/install/include/ogg
Make; make install
 
4. ORTP
./Configure -- prefix =/home/linux/linphone/install -- disable-static -- enable-fixed-point -- disable-glib
Make; make install
The following error may be prompted during compilation using make:
1. write does not detect the return value -- find the relevant code, and add err = write,
2. printf (help); this sentence will report an error. You can change it to puts (help );
 
5. Compile linphone
. /Configure -- prefix =/home/linux/linphone/install -- disable-static -- disable-glib -- enable-gnome_ui = no -- disable-manual -- enable-ipv6 -- enable-alsa -- with-osip = /home/linux/linphone/install -- with-speex =/home/linux/linphone/install -- enable-video = no -- enable-gtk_ui = no
At this time, you may be prompted to not find the relevant file osip2, then you can copy the libosip2-2.2.2/src/osip2 directory, re-configure
Make; make install
Make may prompt:
Configure. in: 265: error: AC_SUBST: '$ {NAME} _ CFLAGS' is not a valid shell variable name
In this case, you can comment out the variable of row 265th in the configure. in file.
The following prompt is displayed when you directly make:
Cc: @ VIDEO_CFLAGS @: No such file or directory
Solution:
Make-j2 VIDEO_CFLAGS =
 
The system will also prompt that the return value of a function is not verified, so you can find the line of code and define a variable of the return value type to receive the return value:
Int err = 0;
Err = write (...);
 
 
Configure parameter description:
// -- Prefix =/...: Specifies the file compilation and installation directory.
// -- Host =...: Specifies the compilation tool. The default value is gcc, Which is arm-linux (compiled to arm)
// -- Disable-static: disable the link of the static library (. a) and compile the dynamic library (. so)
// -- With-ogg: Specifies the directory of the library generated by ogg
// -- With-ogg-libraries: ogg library. If not, copy the generated file to the directory
// -- With-ogg-headers: Specifies the ogg header file
// -- Enable-alsa: enable alsa speech codec mode. Another mode of speech transmission is oss.
// -- Enable-ipv6: enables ipv6
// -- Enable-video = no -- enable-gtk_ui = no remove the video module
 
The source code is included in:
 
Http://download.csdn.net/detail/wuquan_1230/4062812

Column of the author wuquan_1230

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.