|
From: | Johan Pascal |
Subject: | Re: [Linphone-users] linphone 3.8.5 compilation error |
Date: | Mon, 25 Jan 2016 17:07:41 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
the belle-sip version you have shall be ok for
linphone 3.8.5. If you want to compile the dev version found on the linphone git repository, then you shall install first the belle-sip version from the repository too: git://git.linphone.org/belle-sip.git You may want to install it in a dedicated directory and not /usr/local using ./configure --prefix=~/my_local_install_tree or cmake -DCMAKE_INSTALL_PREFIX="~/my_local_install_tree" in order not to mess your system with updated version of some library mixed with old ones from debian packages. regards, johan On 25/01/16 16:21, Petr Hanousek wrote:
Dear Johan, thank you. Liblinphone_gitversion.h issue could be considered as solved, I have found it in tar.gz archive when took a look in Midnight Commander. You are right, there was something weird with my unpack action. Belle-sip is already the newest in my system: # apt-cache policy libbellesip-dev libbellesip-dev: Installed: 1.4.1-1 Candidate: 1.4.1-1 Version table: *** 1.4.1-1 400 400 http://ftp.cvut.cz/debian unstable/main amd64 Packages 100 /var/lib/dpkg/status I tried to use BELLESIP_CFLAGS and BELLESIP_LIBS variables to point it out now. But the error remain the same. Maybe there is something wrong with the debian package? Or should I use other implementation of belle-sip? Thank you for explanation about mediastreamer and ffmpeg versions. Petr On 25.1.2016 15:42, Johan Pascal wrote:Hi Petr, to compile the latest linphone git version, you also need an updated belle-sip installed. For the 3.8.5 version you shall install a belle-sip 1.4.1: http://www.linphone.org/releases/sources/belle-sip/belle-sip-1.4.1.tar.gz but the error you report on the 3.8.5 compilation doesn't seem related to this. I reproduce the deprecated attribute problem when not using --disable-strict, this is due to the ffmpeg version you use(too recent for this version of mediastreamer2), more recent version of mediastreamer2 doesn't use anymore this deprecated attribute but yours shall work anyway with the disable-strict. I don't reproduce the liblinphone_gitversion.h missing file error, it shall be in linphone/coreapi/ directory if not, may be something went wrong when you unpacked the archive. regards, johan On 25/01/16 15:18, Petr Hanousek wrote:Hi, currently I am trying to compile linphone 3.8.5 from http://www.linphone.org/releases/sources/linphone/linphone-3.8.5.tar.gz and getting a missing file error. The procedure is: ./autogen.sh ./configure --disable-strict make ===cut=== linphonecore.c:49:37: fatal error: liblinphone_gitversion.h: No such file or directory compilation terminated. ===end of cut=== Even clonning source from git repository don't give me the requested file. The newer version (from git) has it's own compilation problems: ===cut=== chat_file_transfer.c: In function 'linphone_chat_message_process_response_from_post_file': chat_file_transfer.c:218:9: error: too many arguments to function 'belle_sip_multipart_body_handler_new' bh = belle_sip_multipart_body_handler_new(linphone_chat_message_file_transfer_on_progress, msg, first_part_bh, NULL); ===end of cut=== By the way, without --disable-strict in 3.8.5 configure option I am ending here: ===cut=== videofilters/videoenc.c: In function 'process_frame': videofilters/videoenc.c:840:3: error: 'coded_frame' is deprecated [-Werror=deprecated-declarations] if (c->coded_frame->pict_type==FF_I_TYPE){ ^ cc1: all warnings being treated as errors ===end of cut=== Gcc version is 5.3.1. Linphone version 3.8.4 compiles fine without errors. More details in attachments. Sincerely Petr _______________________________________________ Linphone-users mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/linphone-users_______________________________________________ Linphone-users mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/linphone-users |
[Prev in Thread] | Current Thread | [Next in Thread] |