linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Linphone-developers Digest, Vol 181, Issue 5


From: Amir DYnamo
Subject: Re: [Linphone-developers] Linphone-developers Digest, Vol 181, Issue 5
Date: Fri, 9 Mar 2018 10:20:21 -0500

Unsubscribe 

On Mar 8, 2018 12:04 PM, <address@hidden> wrote:
Send Linphone-developers mailing list submissions to
        address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.nongnu.org/mailman/listinfo/linphone-developers
or, via email, send a message with subject or body 'help' to
        linphone-developers-request@nongnu.org

You can reach the person managing the list at
        linphone-developers-owner@nongnu.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linphone-developers digest..."


Today's Topics:

   1. [linphone-desktop] [Compiling procedure] (B. KRiST?F)


----------------------------------------------------------------------

Message: 1
Date: Wed, 7 Mar 2018 21:40:54 +0000
From: B. KRiST?F <address@hidden>
To: "address@hiddenorg" <address@hiddenorg>
Subject: [Linphone-developers] [linphone-desktop] [Compiling
        procedure]
Message-ID:
        <VI1PR0802MB2270D081C11FE68283address@hiddeneurprd08.prod.outlook.com>

Content-Type: text/plain; charset="windows-1250"

Hello!


Today (2018-03-07) I was compiling the linphone-desktop project (commit 732a5b7e5e9fa64a4ac34453385153b3d3c12f57) from the GitHub repository.

I encountered some errors, like this one:

LINPHONE/submodules/mswebrtc/webrtc/webrtc/modules/audio_processing/aec/aec_core_sse2.c:61:7: error: called from here
       _mm_storeu_ps(&yf[1][j], h);
       ^
In file included from /usr/lib/gcc/i686-linux-gnu/5/include/emmintrin.h:31:0,
                 from LINPHONE/submodules/mswebrtc/webrtc/webrtc/modules/audio_processing/aec/aec_core_sse2.c:15:
/usr/lib/gcc/i686-linux-gnu/5/include/xmmintrin.h:978:1: error: inlining failed in call to always_inline ?_mm_storeu_ps?: target specific option mismatch
 _mm_storeu_ps (float *__P, __m128 __A)
 ^
That occoured only in the MSWEBRTC submodule. The problem is that it claims that the CPU does not support SSE2 instructions.

However, it does support.


To fix this issue, please follow the steps below.


In the following file
"LINPHONE-DIRECTORY/submodules/mswebrtc/CMakeLists.txt"
add the lines
set(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} "-msse -msse2 -msse3")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse -msse2 -msse3")
after the statements like
set(ISAC_FLAVOUR "fix" CACHE STRING "ISAC audio codec flavour.")
set_property(CACHE ISAC_FLAVOUR PROPERTY STRINGS "fix" "main")
around line 43-44.

It now enables 32 bit builds. I don't know if it is necessary for the 64 bit builds but it would be appreciated if the 32 bit builds can be built easier.
I have no knowledge on CMake. If it is only a 32-bit issue please wrap it in a conditional.
LINPHONE and LINPHONE-DIRECTORY denotes a path where the dowloaded repository is located.

Also, if technically possible, take into consideration that the compiled output has hardcoded paths in binaries and shared objects. Since the compilation creates a reasonable hierarchy of directories, it would be so simple to move to another machine the entire output directory. It seems to me that it is carrying its important dependencies. (Excluding Qt, but it is okay.) To clarify this issue, I'm talking about the Linux build. (There's no option to create any kind of installable package on this platform.)

Best Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nongnu.org/archive/html/linphone-developers/attachments/20180307/b5b5e2ce/attachment.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


------------------------------

End of Linphone-developers Digest, Vol 181, Issue 5
***************************************************

reply via email to

[Prev in Thread] Current Thread [Next in Thread]