make 编译程序出错,不知道是什么原因
时间: 2020-08-21来源:V2EX
前景提要
在 centos 上安装一个程序过程中使用 make 编译源码出错,可是没有提示错误原因,无从下手啊 下面是 make 的输出 make all-recursive make[1]: Entering directory '/home/test/dir1/nusolve-0.7.1' Making all in src/SgLib make[2]: Entering directory '/home/test/dir1/nusolve-0.7.1/src/SgLib' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I/home/test/Qt5.12.0/5.12.0/gcc_64/include -I/home/test/dir1/local/netcdf/include -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -g -ggdb -O3 -fopenmp -g -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -MT Sg3dVector.lo -MD -MP -MF .deps/Sg3dVector.Tpo -c -o Sg3dVector.lo Sg3dVector.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/home/test/Qt5.12.0/5.12.0/gcc_64/include -I/home/test/dir1/local/netcdf/include -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -g -ggdb -O3 -fopenmp -g -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -MT Sg3dVector.lo -MD -MP -MF .deps/Sg3dVector.Tpo -c Sg3dVector.cpp -fPIC -DPIC -o .libs/Sg3dVector.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/home/test/Qt5.12.0/5.12.0/gcc_64/include -I/home/test/dir1/local/netcdf/include -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -g -ggdb -O3 -fopenmp -g -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -MT Sg3dVector.lo -MD -MP -MF .deps/Sg3dVector.Tpo -c Sg3dVector.cpp -o Sg3dVector.o >/dev/null 2>&1 mv -f .deps/Sg3dVector.Tpo .deps/Sg3dVector.Plo /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I/home/test/Qt5.12.0/5.12.0/gcc_64/include -I/home/test/dir1/local/netcdf/include -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -g -ggdb -O3 -fopenmp -g -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -MT Sg3dMatrix.lo -MD -MP -MF .deps/Sg3dMatrix.Tpo -c -o Sg3dMatrix.lo Sg3dMatrix.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/home/test/Qt5.12.0/5.12.0/gcc_64/include -I/home/test/dir1/local/netcdf/include -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -g -ggdb -O3 -fopenmp -g -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -MT Sg3dMatrix.lo -MD -MP -MF .deps/Sg3dMatrix.Tpo -c Sg3dMatrix.cpp -fPIC -DPIC -o .libs/Sg3dMatrix.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/home/test/Qt5.12.0/5.12.0/gcc_64/include -I/home/test/dir1/local/netcdf/include -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -g -ggdb -O3 -fopenmp -g -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -MT Sg3dMatrix.lo -MD -MP -MF .deps/Sg3dMatrix.Tpo -c Sg3dMatrix.cpp -o Sg3dMatrix.o >/dev/null 2>&1 mv -f .deps/Sg3dMatrix.Tpo .deps/Sg3dMatrix.Plo /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I/home/test/Qt5.12.0/5.12.0/gcc_64/include -I/home/test/dir1/local/netcdf/include -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -g -ggdb -O3 -fopenmp -g -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -MT Sg3dMatrixR.lo -MD -MP -MF .deps/Sg3dMatrixR.Tpo -c -o Sg3dMatrixR.lo Sg3dMatrixR.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/home/test/Qt5.12.0/5.12.0/gcc_64/include -I/home/test/dir1/local/netcdf/include -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -g -ggdb -O3 -fopenmp -g -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -MT Sg3dMatrixR.lo -MD -MP -MF .deps/Sg3dMatrixR.Tpo -c Sg3dMatrixR.cpp -fPIC -DPIC -o .libs/Sg3dMatrixR.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/home/test/Qt5.12.0/5.12.0/gcc_64/include -I/home/test/dir1/local/netcdf/include -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -g -ggdb -O3 -fopenmp -g -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -MT Sg3dMatrixR.lo -MD -MP -MF .deps/Sg3dMatrixR.Tpo -c Sg3dMatrixR.cpp -o Sg3dMatrixR.o >/dev/null 2>&1 mv -f .deps/Sg3dMatrixR.Tpo .deps/Sg3dMatrixR.Plo /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I/home/test/Qt5.12.0/5.12.0/gcc_64/include -I/home/test/dir1/local/netcdf/include -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -g -ggdb -O3 -fopenmp -g -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -MT Sg3dMatrixRdots.lo -MD -MP -MF .deps/Sg3dMatrixRdots.Tpo -c -o Sg3dMatrixRdots.lo Sg3dMatrixRdots.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/home/test/Qt5.12.0/5.12.0/gcc_64/include -I/home/test/dir1/local/netcdf/include -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -g -ggdb -O3 -fopenmp -g -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -MT Sg3dMatrixRdots.lo -MD -MP -MF .deps/Sg3dMatrixRdots.Tpo -c Sg3dMatrixRdots.cpp -fPIC -DPIC -o .libs/Sg3dMatrixRdots.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/home/test/Qt5.12.0/5.12.0/gcc_64/include -I/home/test/dir1/local/netcdf/include -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -g -ggdb -O3 -fopenmp -g -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -MT Sg3dMatrixRdots.lo -MD -MP -MF .deps/Sg3dMatrixRdots.Tpo -c Sg3dMatrixRdots.cpp -o Sg3dMatrixRdots.o >/dev/null 2>&1 mv -f .deps/Sg3dMatrixRdots.Tpo .deps/Sg3dMatrixRdots.Plo /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I/home/test/Qt5.12.0/5.12.0/gcc_64/include -I/home/test/dir1/local/netcdf/include -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -g -ggdb -O3 -fopenmp -g -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -MT SgVector.lo -MD -MP -MF .deps/SgVector.Tpo -c -o SgVector.lo SgVector.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/home/test/Qt5.12.0/5.12.0/gcc_64/include -I/home/test/dir1/local/netcdf/include -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -g -ggdb -O3 -fopenmp -g -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -MT SgVector.lo -MD -MP -MF .deps/SgVector.Tpo -c SgVector.cpp -fPIC -DPIC -o .libs/SgVector.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/home/test/Qt5.12.0/5.12.0/gcc_64/include -I/home/test/dir1/local/netcdf/include -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -g -ggdb -O3 -fopenmp -g -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -MT SgVector.lo -MD -MP -MF .deps/SgVector.Tpo -c SgVector.cpp -o SgVector.o >/dev/null 2>&1 mv -f .deps/SgVector.Tpo .deps/SgVector.Plo /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I/home/test/Qt5.12.0/5.12.0/gcc_64/include -I/home/test/dir1/local/netcdf/include -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -g -ggdb -O3 -fopenmp -g -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -MT SgMatrix.lo -MD -MP -MF .deps/SgMatrix.Tpo -c -o SgMatrix.lo SgMatrix.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/home/test/Qt5.12.0/5.12.0/gcc_64/include -I/home/test/dir1/local/netcdf/include -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -g -ggdb -O3 -fopenmp -g -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -MT SgMatrix.lo -MD -MP -MF .deps/SgMatrix.Tpo -c SgMatrix.cpp -fPIC -DPIC -o .libs/SgMatrix.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/home/test/Qt5.12.0/5.12.0/gcc_64/include -I/home/test/dir1/local/netcdf/include -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -g -ggdb -O3 -fopenmp -g -Wall -W -Wpointer-arith -Wcast-align -Wredundant-decls -DDEBUG -MT SgMatrix.lo -MD -MP -MF .deps/SgMatrix.Tpo -c SgMatrix.cpp -o SgMatrix.o >/dev/null 2>&1 make[2]: *** [Makefile:790: SgMatrix.lo] Error 1 make[2]: Leaving directory '/home/test/dir1/nusolve-0.7.1/src/SgLib' make[1]: *** [Makefile:579: all-recursive] Error 1 make[1]: Leaving directory '/home/test/dir1/nusolve-0.7.1'

科技资讯:

科技学院:

科技百科:

科技书籍:

网站大全:

软件大全:

热门排行