Error when compiling azerothcore on debian 9 - azerothcore

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.

Related

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

LEON3 Processor on Quartus

I'm trying to use the LEON3 soft-core processor on an Altera device with Ubuntu. Is there anybody who has already used it ?
Because, I choose my device and after I write 'make quartus' but I encountered the errors below:
cp: cannot stat '../../netlists/altera/cyclone5/*.vqm': No such file or directory
../../bin/Makefile:1505: recipe for target 'quartus-vqm' failed
make: [quartus-vqm] Error 1 (ignored)
make quartus-map quartus-route
make[1]: Entering directory '/home/afourny/Téléchargements/grlib-gpl-1.5.0-b4164/designs/leon3-altera-c5ekit'
cp: cannot stat '../../netlists/altera/cyclone5/*.vqm': No such file or directory
../../bin/Makefile:1505: recipe for target 'quartus-vqm' failed
make[1]: [quartus-vqm] Error 1 (ignored)
quartus_map --import_settings_files=on --export_settings_files=off leon3mp_quartus -c leon3mp_quartus
make[1]: quartus_map: Command not found
../../bin/Makefile:1547: recipe for target 'quartus-map' failed
make[1]: *** [quartus-map] Error 127
make[1]: Leaving directory '/home/afourny/Téléchargements/grlib-gpl-1.5.0-b4164/designs/leon3-altera-c5ekit'
../../bin/Makefile:1527: recipe for target 'quartus' failed
make: *** [quartus] Error 2

Qt moc issue (moc.exe: command not found) while building Qwt with Qt 5 in Windows

Building Qwt with Qt 5 fails (with Qt 4 works) in Windows 7 64 bits. I tried via Qt Creator and via CLI but both ends in:
12:51:08: Running steps for project qwt...
12:51:08: Starting: "C:\Qt\Qt5.3.2\5.3\mingw482_32\bin\qmake.exe" C:\qwt-6.1.2\qwt.pro -r -spec win32-g++ "CONFIG+=debug"
Reading C:/qwt-6.1.2/src/src.pro
Reading C:/qwt-6.1.2/textengines/textengines.pro
Reading C:/qwt-6.1.2/doc/doc.pro
Reading C:/qwt-6.1.2/designer/designer.pro
Project MESSAGE: debug_and_release: building the Qwt designer plugin in release mode only
12:51:10: The process "C:\Qt\Qt5.3.2\5.3\mingw482_32\bin\qmake.exe" exited normally.
12:51:10: Starting: "C:\Qt\Qt5.3.2\Tools\mingw482_32\bin\mingw32-make.exe" -j3
cd src/ && ( test -e Makefile || C:/Qt/Qt5.3.2/5.3/mingw482_32/bin/qmake.exe C:/qwt-6.1.2/src/src.pro -spec win32-g++ CONFIG+=debug -o Makefile ) && C:/Qt/Qt5.3.2/Tools/mingw482_32/bin/mingw32-make -f Makefile
mingw32-make[1]: Entering directory 'C:/qwt-6.1.2/src'
C:/Qt/Qt5.3.2/Tools/mingw482_32/bin/mingw32-make -f Makefile.Debug all
C:/Qt/Qt5.3.2/Tools/mingw482_32/bin/mingw32-make -f Makefile.Release all
mingw32-make[2]: Entering directory 'C:/qwt-6.1.2/src'
mingw32-make[2]: Entering directory 'C:/qwt-6.1.2/src'
moc qwt_dyngrid_layout.h
moc qwt_magnifier.h
moc qwt_dyngrid_layout.h
/usr/bin/sh: C:\Qt\Qt5.3.2\5.3\mingw482_32\bin\moc.exe: command not found
/usr/bin/sh: C:\Qt\Qt5.3.2\5.3\mingw482_32\bin\moc.exe: command not found
/usr/bin/sh: C:\Qt\Qt5.3.2\5.3\mingw482_32\bin\moc.exe: command not found
Makefile.Debug:455: recipe for target 'moc/moc_qwt_dyngrid_layout.cpp' failed
mingw32-make[2]: *** [moc/moc_qwt_dyngrid_layout.cpp] Error 127
mingw32-make[2]: Leaving directory 'C:/qwt-6.1.2/src'
Makefile.Release:455: recipe for target 'moc/moc_qwt_dyngrid_layout.cpp' failed
mingw32-make[2]: *** [moc/moc_qwt_dyngrid_layout.cpp] Error 127
mingw32-make[2]: *** Waiting for unfinished jobs....
mingw32-make[2]: *** [moc/moc_qwt_magnifier.cpp] Error 127
Makefile.Release:507: recipe for target 'moc/moc_qwt_magnifier.cpp' failed
mingw32-make[2]: Leaving directory 'C:/qwt-6.1.2/src'
Makefile:38: recipe for target 'debug-all' failed
Makefile:52: recipe for target 'release-all' failed
mingw32-make[1]: Leaving directory 'C:/qwt-6.1.2/src'
Makefile:41: recipe for target 'sub-src-make_first-ordered' failed
mingw32-make[1]: *** [debug-all] Error 2
mingw32-make[1]: *** Waiting for unfinished jobs....
mingw32-make[1]: *** [release-all] Error 2
mingw32-make: *** [sub-src-make_first-ordered] Error 2
12:51:11: The process "C:\Qt\Qt5.3.2\Tools\mingw482_32\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project qwt (kit: Desktop)
When executing step "Make"
12:51:11: Elapsed time: 00:03.
I tried to remove all Qt installations from the computer and re-install only qt-opensource-windows-x86-mingw482_opengl-5.3.2.exe but the issue persists.
Any suggestion?

How to disable the Qt Wayland module during QT build?

I am trying to build Qt on my raspberry pi with jessie on it.
The configure option that I have provided are as below for my build:
./configure -v -opengl es2 -device linux-rasp-pi-g''+ -device-option CROSS_COMPILE=/usr/bin/ -opensource -confirm-license -optimized-qmake -reduce-exports -release -qt-pcre -make libs -prefix /usr/local/qt5
However, I am getting the below error pertaining to QtWayland ...
Project ERROR: wayland-client development package not found
Makefile:54: recipe for target 'sub-brcm-egl-install_subtargets' failed
make[5]: *** [sub-brcm-egl-install_subtargets] Error 3
make[5]: Leaving directory '/home/pi/packages/qt5/qt-everywhere-opensource-src-5.5.1/qtwayland/src/plugins/hardwareintegration/client'
Makefile:54: recipe for target 'sub-client-install_subtargets' failed
make[4]: *** [sub-client-install_subtargets] Error 2
make[4]: Leaving directory '/home/pi/packages/qt5/qt-everywhere-opensource-src-5.5.1/qtwayland/src/plugins/hardwareintegration'
Makefile:81: recipe for target 'sub-hardwareintegration-install_subtargets' failed
make[3]: *** [sub-hardwareintegration-install_subtargets] Error 2
make[3]: Leaving directory '/home/pi/packages/qt5/qt-everywhere-opensource-src-5.5.1/qtwayland/src/plugins'
Makefile:107: recipe for target 'sub-plugins-install_subtargets' failed
make[2]: *** [sub-plugins-install_subtargets] Error 2
make[2]: Leaving directory '/home/pi/packages/qt5/qt-everywhere-opensource-src-5.5.1/qtwayland/src'
Makefile:56: recipe for target 'sub-src-install_subtargets' failed
make[1]: *** [sub-src-install_subtargets] Error 2
make[1]: Leaving directory '/home/pi/packages/qt5/qt-everywhere-opensource-src-5.5.1/qtwayland'
Makefile:737: recipe for target 'module-qtwayland-install_subtargets' failed
make: *** [module-qtwayland-install_subtargets] Error 2
Is there any way that I can disable the QtWayland option during Qt build?
You can skip it while doing configure
./configure -skip wayland.

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

Resources