Erro na instalação. Passo do make -j 8
Posted: Tue Oct 18, 2022 5:52 am
Hello, I'm finishing the installation of Geopsy 3.3.0 on my Ubuntu 16.4. However, when I run the make -j 8 command I have some errors. Could someone please help me to solve this problem?
The error obtained is shown below:
cd mseed/ && ( test -e Makefile || /opt/Qt5.12.0/5.12.0/gcc_64/bin/qmake -o Makefile /home/lessandro/Downloads/geopsypack-src-3.3.0/mseed/mseed.pro ) && make -f Makefile
make[1]: Entering directory '/home/lessandro/Downloads/geopsypack-src-3.3.0/mseed'
make[1]: Nothing to be done for 'first'.
make[1]: Leaving directory '/home/lessandro/Downloads/geopsypack-src-3.3.0/mseed'
cd slink/ && ( test -e Makefile || /opt/Qt5.12.0/5.12.0/gcc_64/bin/qmake -o Makefile /home/lessandro/Downloads/geopsypack-src-3.3.0/slink/slink.pro ) && make -f Makefile
make[1]: Entering directory '/home/lessandro/Downloads/geopsypack-src-3.3.0/slink'
make[1]: Nothing to be done for 'first'.
make[1]: Leaving directory '/home/lessandro/Downloads/geopsypack-src-3.3.0/slink'
cd QGpCoreTools/ && ( test -e Makefile || /opt/Qt5.12.0/5.12.0/gcc_64/bin/qmake -o Makefile /home/lessandro/Downloads/geopsypack-src-3.3.0/QGpCoreTools/QGpCoreTools.pro ) && make -f Makefile
make[1]: Entering directory '/home/lessandro/Downloads/geopsypack-src-3.3.0/QGpCoreTools'
g++ -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DUBUNTU_UNITY -DHAS_OPEN_BLAS -DMAKE_QGPCORETOOLS_DLL -DQT_NO_DEBUG -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Isrc -Isrc -I/opt/Qt5.12.0/5.12.0/gcc_64/include -I/opt/Qt5.12.0/5.12.0/gcc_64/include/QtQml -I/opt/Qt5.12.0/5.12.0/gcc_64/include/QtNetwork -I/opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore -I. -I/opt/Qt5.12.0/5.12.0/gcc_64/mkspecs/linux-g++ -x c++-header -c src/stable.h -o QGpCoreTools.gch/c++
In file included from /opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/qcborarray.h:43:0,
from /opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/QtCore:37,
from /opt/Qt5.12.0/5.12.0/gcc_64/include/QtQml/QtQmlDepends:3,
from /opt/Qt5.12.0/5.12.0/gcc_64/include/QtQml/QtQml:3,
from src/stable.h:2:
/opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/qcborvalue.h:74:25: warning: missing initializer for member ‘QCborError::c’ [-Wmissing-field-initializers]
QCborError error = {};
^
In file included from /opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/QtCore:64:0,
from /opt/Qt5.12.0/5.12.0/gcc_64/include/QtQml/QtQmlDepends:3,
from /opt/Qt5.12.0/5.12.0/gcc_64/include/QtQml/QtQml:3,
from src/stable.h:2:
/opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/qendian.h:165:61: error: redeclaration ‘constexpr T qbswap(T) [with T = qfloat16]’ differs in ‘constexpr’
template <> inline qfloat16 qbswap<qfloat16>(qfloat16 source)
^
/opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/qendian.h:96:42: error: from previous declaration ‘constexpr T qbswap(T) [with T = qfloat16]’
template <typename T> Q_DECL_CONSTEXPR T qbswap(T source);
^
/opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/qendian.h:170:52: error: redeclaration ‘constexpr T qbswap(T) [with T = float]’ differs in ‘constexpr’
template <> inline float qbswap<float>(float source)
^
/opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/qendian.h:96:42: error: from previous declaration ‘constexpr T qbswap(T) [with T = float]’
template <typename T> Q_DECL_CONSTEXPR T qbswap(T source);
^
/opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/qendian.h:175:55: error: redeclaration ‘constexpr T qbswap(T) [with T = double]’ differs in ‘constexpr’
template <> inline double qbswap<double>(double source)
^
/opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/qendian.h:96:42: error: from previous declaration ‘constexpr T qbswap(T) [with T = double]’
template <typename T> Q_DECL_CONSTEXPR T qbswap(T source);
^
Makefile
recipe for target 'QGpCoreTools.gch/c++' failed
make[1]: *** [QGpCoreTools.gch/c++] Error 1
make[1]: Leaving directory '/home/lessandro/Downloads/geopsypack-src-3.3.0/QGpCoreTools'
Makefile:211: recipe for target 'sub-QGpCoreTools-make_first-ordered' failed
make: *** [sub-QGpCoreTools-make_first-ordered] Error 2
The error obtained is shown below:
cd mseed/ && ( test -e Makefile || /opt/Qt5.12.0/5.12.0/gcc_64/bin/qmake -o Makefile /home/lessandro/Downloads/geopsypack-src-3.3.0/mseed/mseed.pro ) && make -f Makefile
make[1]: Entering directory '/home/lessandro/Downloads/geopsypack-src-3.3.0/mseed'
make[1]: Nothing to be done for 'first'.
make[1]: Leaving directory '/home/lessandro/Downloads/geopsypack-src-3.3.0/mseed'
cd slink/ && ( test -e Makefile || /opt/Qt5.12.0/5.12.0/gcc_64/bin/qmake -o Makefile /home/lessandro/Downloads/geopsypack-src-3.3.0/slink/slink.pro ) && make -f Makefile
make[1]: Entering directory '/home/lessandro/Downloads/geopsypack-src-3.3.0/slink'
make[1]: Nothing to be done for 'first'.
make[1]: Leaving directory '/home/lessandro/Downloads/geopsypack-src-3.3.0/slink'
cd QGpCoreTools/ && ( test -e Makefile || /opt/Qt5.12.0/5.12.0/gcc_64/bin/qmake -o Makefile /home/lessandro/Downloads/geopsypack-src-3.3.0/QGpCoreTools/QGpCoreTools.pro ) && make -f Makefile
make[1]: Entering directory '/home/lessandro/Downloads/geopsypack-src-3.3.0/QGpCoreTools'
g++ -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DUBUNTU_UNITY -DHAS_OPEN_BLAS -DMAKE_QGPCORETOOLS_DLL -DQT_NO_DEBUG -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Isrc -Isrc -I/opt/Qt5.12.0/5.12.0/gcc_64/include -I/opt/Qt5.12.0/5.12.0/gcc_64/include/QtQml -I/opt/Qt5.12.0/5.12.0/gcc_64/include/QtNetwork -I/opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore -I. -I/opt/Qt5.12.0/5.12.0/gcc_64/mkspecs/linux-g++ -x c++-header -c src/stable.h -o QGpCoreTools.gch/c++
In file included from /opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/qcborarray.h:43:0,
from /opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/QtCore:37,
from /opt/Qt5.12.0/5.12.0/gcc_64/include/QtQml/QtQmlDepends:3,
from /opt/Qt5.12.0/5.12.0/gcc_64/include/QtQml/QtQml:3,
from src/stable.h:2:
/opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/qcborvalue.h:74:25: warning: missing initializer for member ‘QCborError::c’ [-Wmissing-field-initializers]
QCborError error = {};
^
In file included from /opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/QtCore:64:0,
from /opt/Qt5.12.0/5.12.0/gcc_64/include/QtQml/QtQmlDepends:3,
from /opt/Qt5.12.0/5.12.0/gcc_64/include/QtQml/QtQml:3,
from src/stable.h:2:
/opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/qendian.h:165:61: error: redeclaration ‘constexpr T qbswap(T) [with T = qfloat16]’ differs in ‘constexpr’
template <> inline qfloat16 qbswap<qfloat16>(qfloat16 source)
^
/opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/qendian.h:96:42: error: from previous declaration ‘constexpr T qbswap(T) [with T = qfloat16]’
template <typename T> Q_DECL_CONSTEXPR T qbswap(T source);
^
/opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/qendian.h:170:52: error: redeclaration ‘constexpr T qbswap(T) [with T = float]’ differs in ‘constexpr’
template <> inline float qbswap<float>(float source)
^
/opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/qendian.h:96:42: error: from previous declaration ‘constexpr T qbswap(T) [with T = float]’
template <typename T> Q_DECL_CONSTEXPR T qbswap(T source);
^
/opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/qendian.h:175:55: error: redeclaration ‘constexpr T qbswap(T) [with T = double]’ differs in ‘constexpr’
template <> inline double qbswap<double>(double source)
^
/opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/qendian.h:96:42: error: from previous declaration ‘constexpr T qbswap(T) [with T = double]’
template <typename T> Q_DECL_CONSTEXPR T qbswap(T source);
^
Makefile
make[1]: *** [QGpCoreTools.gch/c++] Error 1
make[1]: Leaving directory '/home/lessandro/Downloads/geopsypack-src-3.3.0/QGpCoreTools'
Makefile:211: recipe for target 'sub-QGpCoreTools-make_first-ordered' failed
make: *** [sub-QGpCoreTools-make_first-ordered] Error 2