[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-users] linphone 3.8.5 compilation error
From: |
Petr Hanousek |
Subject: |
Re: [Linphone-users] linphone 3.8.5 compilation error |
Date: |
Mon, 25 Jan 2016 16:21:53 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 |
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
>
--
+-------------------------------------------------------------------+
Petr Hanousek e-mail: address@hidden
User Support phone: +420 950 072 112
CESNET z.s.p.o. mobile: +420 606 665 139
location: Zikova 4, Praha room: 90a
Czech Republic
+-------------------------------------------------------------------+
smime.p7s
Description: S/MIME Cryptographic Signature