V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
gxgxxn
V2EX  ›  编程

make 编译程序出错,不知道是什么原因

  •  
  •   gxgxxn · 2020-08-11 14:13:56 +08:00 · 1773 次点击
    这是一个创建于 1600 天前的主题,其中的信息可能已经有所发展或是发生改变。

    在 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'
    
    
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2587 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 10:38 · PVG 18:38 · LAX 02:38 · JFK 05:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.