[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-developers] Compiling linphone on raspberryPi Error with miniz
From: |
ratten |
Subject: |
[Linphone-developers] Compiling linphone on raspberryPi Error with minizip and immintrin.h solved |
Date: |
Tue, 12 Mar 2019 22:25:11 +0100 |
User-agent: |
NeoMutt/20180716 |
Hello,
I just wanna share a solution I found with the minizip immintrin.h problem. The
file is not in ARM architects like the raspberry Pi. On the githup in the
original minizip repo, I found a exclusion. It works for me.
Please do not expext anything from me, I do not have any knowlege of what I
have done. I cannot code C or C++, I was just try to compile linphone on a
raspberry PI and playing. My aim was to build a smartphone.
Here is a git diff maybe you can use it:
diff --git a/lib/liblzma/common/memcmplen.h b/lib/liblzma/common/memcmplen.h
index c1efc9e..fe10d6d 100644
--- a/lib/liblzma/common/memcmplen.h
+++ b/lib/liblzma/common/memcmplen.h
@@ -16,9 +16,12 @@
#include "common.h"
#ifdef HAVE_IMMINTRIN_H
+#if (defined(__GNUC__) && defined(__SSE2_MATH__)) || \
+ (defined(__INTEL_COMPILER) && defined(__SSE2__)) || \
+ (defined(_MSC_VER) && defined(_M_IX86_FP) && _M_IX86_FP >= 2)
# include <immintrin.h>
#endif
-
+#endif
/// Find out how many equal bytes the two buffers have.
///
and one thing i also find out, if you wanna habe da working database after
build run the prepare.py -sys this will link the installed dependencies.
bye
Susanne
PS: Sorry for my english, I'm not a native speaker and hope you could
understand.
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Linphone-developers] Compiling linphone on raspberryPi Error with minizip and immintrin.h solved,
ratten <=