error during azerothcore instalation on arm64(raspberry pi 4) - raspberry-pi4

hi im trying to setup an azerothcore 3.3.5a private server just for fun on a raspberry pi 4 4gb
here is system info :
Distributor ID: Ubuntu
Description: Ubuntu 20.10
Release: 20.10
Codename: groovy
Linux ubuntu 5.8.0-1006-raspi #9-Ubuntu SMP PREEMPT Fri Oct 16 12:55:30 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
gcc version 10.2.0 (Ubuntu 10.2.0-13ubuntu1)
Ubuntu clang version 11.0.0-2
cmake version 3.16.3
GNU Make 4.3
i start whit installing the requirement i found here for ubuntu :
https://www.azerothcore.org/wiki/Requirements
but unfortunatly after 16% of compiling i got an error :
enter image description here
"""
[ 16%] Building CXX object src/common/CMakeFiles/common.dir/Debugging/Errors.cpp.o In file included from /mnt/paul/azerothcore/src/common/Utilities/Util.cpp:15: In file included from /mnt/paul/azerothcore/deps/SFMT/SFMT.h:39: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/emmintrin.h:13: In file included from /usr/lib/llvm-11/lib/clang/11.0.0/include/xmmintrin.h:13: /usr/lib/llvm-11/lib/clang/11.0.0/include/mmintrin.h:33:5: fatal error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'? __builtin_ia32_emms(); ^ /usr/bin/../lib/gcc/aarch64-linux-gnu/10/../../../../include/c++/10/cmath:736:12: note: '__builtin_isless' declared here { return __builtin_isless(__x, __y); } ^ 1 error generated. make[2]: *** [src/common/CMakeFiles/common.dir/build.make:610: src/common/CMakeFiles/common.dir/Utilities/Util.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/mnt/paul/azerothcore/build' make1: *** [CMakeFiles/Makefile2:868: src/common/CMakeFiles/common.dir/all] Error 2 make1: Leaving directory '/mnt/paul/azerothcore/build' make: *** [Makefile:130: all] Error 2
someone know how to help me ? ^^

Related

Error when compiling azerothcore on debian 9

The compiling process breaks at around 11%. I'm inside the azerothcore/build/ directory and running the command
make -j4
Errors are included below.
^
23 warnings and 1 error generated.
29 warnings and 1 error generated.
src/server/shared/CMakeFiles/shared.dir/build.make:120: recipe for target 'src/server/shared/CMakeFiles/shared.dir/Realms/RealmList.cpp.o' failed
make[2]: *** [src/server/shared/CMakeFiles/shared.dir/Realms/RealmList.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
src/server/shared/CMakeFiles/shared.dir/build.make:81: recipe for target 'src/server/shared/CMakeFiles/shared.dir/DataStores/DBCDatabaseLoader.cpp.o' failed
make[2]: *** [src/server/shared/CMakeFiles/shared.dir/DataStores/DBCDatabaseLoader.cpp.o] Error 1
7 warnings generated.
CMakeFiles/Makefile2:943: recipe for target 'src/server/shared/CMakeFiles/shared.dir/all' failed
make[1]: *** [src/server/shared/CMakeFiles/shared.dir/all] Error 2
Makefile:148: recipe for target 'all' failed
make: *** [all] Error 2
I'm using these version of gcc and cmake.
gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
cmake 3.18.2
Your compiler version is too old. Try a newer version of gcc or clang.
You need AT LEAST gcc 7.5+ or clang 6, however the latest stable version is recommended.

Facing issue while try to build a Qt Project using CMake and make

I have one Qt Project which one I am trying to build with CMake and make. But I am facing some error while running make -j4 command.
Error: CMakeFiles/QtCreator.dir/build.make:89: recipe for target 'QtCreator-prefix/src/QtCreator-stamp/QtCreator-download' failed
make[2]: *** [QtCreator-prefix/src/QtCreator-stamp/QtCreator-download] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/QtCreator.dir/all' failed
make[1]: *** [CMakeFiles/QtCreator.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2
I am using cmake version 3.5.1 Ubuntu 16.04

Errors building QT 5.5.1 source code on Win32

I'm trying building new version 5.5.1 on win32
After
configure -static -release -opensource -qt-sql-sqlite –platform win32-g++ -opengl desktop
and
MinGW-make
after just one minute:
c:\mingw\include\math.h: In function 'float hypotf(float, float)':
c:\mingw\include\math.h:635:30: error: '_hypot' was not declared in this scope
{ return (float)(_hypot (x, y)); }
^
Makefile.Release:316: recipe for target '.obj/release/moc.o' failed
mingw32-make[4]: *** [.obj/release/moc.o] Error 1
mingw32-make[4]: Leaving directory 'c:/Qt/5.5/qt-everywhere-opensource-src-5.5.1
/qtbase/src/tools/moc'
Makefile:34: recipe for target 'release' failed
mingw32-make[3]: *** [release] Error 2
mingw32-make[3]: Leaving directory 'c:/Qt/5.5/qt-everywhere-opensource-src-5.5.1
/qtbase/src/tools/moc'
Makefile:86: recipe for target 'sub-moc-make_first' failed
mingw32-make[2]: *** [sub-moc-make_first] Error 2
mingw32-make[2]: Leaving directory 'c:/Qt/5.5/qt-everywhere-opensource-src-5.5.1
/qtbase/src'
Makefile:41: recipe for target 'sub-src-make_first' failed
mingw32-make[1]: *** [sub-src-make_first] Error 2
mingw32-make[1]: Leaving directory 'c:/Qt/5.5/qt-everywhere-opensource-src-5.5.1
/qtbase'
Makefile:68: recipe for target 'module-qtbase-make_first' failed
mingw32-make: *** [module-qtbase-make_first] Error 2
I read that maybe possibly perform construction msvc or try mingw64 but I need it on Windows 32 with platform win32-g++
You really can not build this version with win32 and win32-g++ platform??
Any suggestions please, welcome any help.
SOLUTION.................................................................................................................................................
You can compile QT 5.5.1 with MinGW-64 project.
This project also works on 32 bits.
It´s not possible to compile with the "typical" version minimalist, neither changing the libraries. MinGW-64 project is not available from MinGW Installation Manager, I do not understand this and dislike me as an advocate for alternatives like mingw, I could always download from this manager all I need, now this manager... should improve.
After installing MinGW-64 project in all programs MinGW-64 project Run terminal
cd pathQTconfigure
configure -static -release -opensource –platform win32-g++ -opengl desktop
mingw-make
THANKS TO ALL :)

Undefined symbol g_strv_length when installing Mono on Solaris 10 x86

I am trying to install Mono on Solaris 10 x86 and I run the following commands before encountering an error:
bash-3.00# ./configure --prefix=/usr
bash-3.00# gmake install
.
. (lots of stuff)
.
Making install in test
gmake[2]: Entering directory `/mnt/sf_VMShare/mono-3.2.8/eglib/test'
CCLD test-glib
Undefined first referenced
symbol in file
g_strv_length test_glib-string-util.o
ld: fatal: Symbol referencing errors. No output written to test-glib
collect2: ld returned 1 exit status
gmake[2]: *** [test-glib] Error 1
gmake[2]: Leaving directory `/mnt/sf_VMShare/mono-3.2.8/eglib/test'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory `/mnt/sf_VMShare/mono-3.2.8/eglib'
gmake: *** [install-recursive] Error 1
bash-3.00#
I tried uninstalling everything to do with glib and then installing glib-2.6.2-sol10-intel-local.gz
bash-3.00# pkginfo | grep glib
application SMCglib glib
The version of mono is mono-3.2.8

Install Qt library(qwt-6.0.1) in windows 7

I downloaded “Qt 5.0.0 Beta 2” and I downloaded MinGw with gcc version 4.6.2. I extracted the latest “qwt-6.0.1” to the Qt installed folder. All the paths are set.
Now I opened "Qt 5.0.0 for Desktop(MSVC 2010)" command prompt. After changing the directory to qwt-6.0.1 steps i follwed=>
1) qmake qwt.pro => with this makefile is created
2)make => giving the error... also instead of this step i tried "mingw32-make" command in the same prompt.. both are giving the same error following error :
Error : "cd src\ && ( if not exist Makefile C:\QtSDK\5.0.0-beta2\msvc2010\bin\qmake.exe C
:\QtSDK\qwt-6.0.0-rc5\src\src.pro -o Makefile ) && make -f Makefile
make[1]: Entering directory C:/QtSDK/qwt-6.0.0-rc5/src'
make -f Makefile.Release all
make[2]: Entering directoryC:/QtSDK/qwt-6.0.0-rc5/src'
Makefile.Release:255: * missing separator. Stop.
make[2]: Leaving directory C:/QtSDK/qwt-6.0.0-rc5/src'
make[1]: *** [release-all] Error 2
make[1]: Leaving directoryC:/QtSDK/qwt-6.0.0-rc5/src'
make: * [sub-src-make_first-ordered] Error 2"
Qwt from SVN trunk ( aka 6.1 ) works with Qt 4 and 5.
You are trying to use qwt, an independent library, with Qt 5. Well Qt 5 is recent and not widespread yet, so don't expect much.
It seems that the latest version of qwt on the repository use Qt 4.8 (see install in svn repository).It will not work with Qt 5.

Resources