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

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.