在 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'
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.