Compiling Error in ubuntu
Moderators: silvia, selimgunay, Moderators
-
- Posts: 13
- Joined: Fri Mar 21, 2014 8:36 pm
- Location: Tsinghua
Compiling Error in ubuntu
/home/zql/lib/libOpenSees.a(InelasticYS2DGNL.o): In function `InelasticYS2DGNL::createView(char*, double, int, int, int, int, char)':
InelasticYS2DGNL.cpp:(.text+0x668b): undefined reference to `OpenGLRenderer::OpenGLRenderer(char const*, int, int, int, int, ColorMap&)'
/home/zql/OpenSees/SRC/tcl/TclFeViewer.o: In function `TclFeViewer_saveImage(void*, Tcl_Interp*, int, char const**)':
TclFeViewer.cpp:(.text+0x1c3): undefined reference to `Renderer::saveImage(char const*, char const*)'
/home/zql/OpenSees/SRC/tcl/TclFeViewer.o: In function `TclFeViewer::TclFeViewer(char const*, int, int, int, int, Domain&, int, Tcl_Interp*)':
TclFeViewer.cpp:(.text+0x182d): undefined reference to `OpenGLRenderer::OpenGLRenderer(char const*, int, int, int, int, ColorMap&)'
/home/zql/OpenSees/SRC/tcl/TclFeViewer.o: In function `TclFeViewer::TclFeViewer(char const*, int, int, int, int, char const*, Domain&, Tcl_Interp*)':
TclFeViewer.cpp:(.text+0x1a73): undefined reference to `OpenGLRenderer::OpenGLRenderer(char const*, int, int, int, int, ColorMap&, char const*, char const*)'
/home/zql/OpenSees/SRC/tcl/TclFeViewer.o: In function `TclFeViewer::saveImage(char const*, char const*)':
TclFeViewer.cpp:(.text+0x1e55): undefined reference to `Renderer::saveImage(char const*, char const*)'
/home/zql/OpenSees/SRC/tcl/TclVideoPlayer.o: In function `TclVideoPlayer::TclVideoPlayer(char const*, char const*, char const*, Tcl_Interp*, char const*, double)':
TclVideoPlayer.cpp:(.text+0x2f0): undefined reference to `OpenGLRenderer::OpenGLRenderer(char const*, int, int, int, int, ColorMap&)'
/home/zql/lib/libOpenSees.a(TclRecorderCommands.o): In function `TclCreateRecorder(void*, Tcl_Interp*, int, char const**, Domain&, Recorder**)':
TclRecorderCommands.cpp:(.text+0x38b4): undefined reference to `FilePlotter::FilePlotter(char const*, char const*, int, int, int, int, double)'
TclRecorderCommands.cpp:(.text+0x38ca): undefined reference to `FilePlotter::setCol(ID const&)'
TclRecorderCommands.cpp:(.text+0x3bda): undefined reference to `FilePlotter::FilePlotter(char const*, char const*, char const*, int, int, int, int, double)'
TclRecorderCommands.cpp:(.text+0x3bf0): undefined reference to `FilePlotter::setCol(ID const&)'
TclRecorderCommands.cpp:(.text+0x3d45): undefined reference to `AlgorithmIncrements::AlgorithmIncrements(EquiSolnAlgo*, char const*, int, int, int, int, bool, char const*)'
collect2: ld returned 1 exit status
make[1]: *** [tcl] Error 1
make[1]: Leaving directory `/home/zql/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
please help me to solve the error,thanks.
InelasticYS2DGNL.cpp:(.text+0x668b): undefined reference to `OpenGLRenderer::OpenGLRenderer(char const*, int, int, int, int, ColorMap&)'
/home/zql/OpenSees/SRC/tcl/TclFeViewer.o: In function `TclFeViewer_saveImage(void*, Tcl_Interp*, int, char const**)':
TclFeViewer.cpp:(.text+0x1c3): undefined reference to `Renderer::saveImage(char const*, char const*)'
/home/zql/OpenSees/SRC/tcl/TclFeViewer.o: In function `TclFeViewer::TclFeViewer(char const*, int, int, int, int, Domain&, int, Tcl_Interp*)':
TclFeViewer.cpp:(.text+0x182d): undefined reference to `OpenGLRenderer::OpenGLRenderer(char const*, int, int, int, int, ColorMap&)'
/home/zql/OpenSees/SRC/tcl/TclFeViewer.o: In function `TclFeViewer::TclFeViewer(char const*, int, int, int, int, char const*, Domain&, Tcl_Interp*)':
TclFeViewer.cpp:(.text+0x1a73): undefined reference to `OpenGLRenderer::OpenGLRenderer(char const*, int, int, int, int, ColorMap&, char const*, char const*)'
/home/zql/OpenSees/SRC/tcl/TclFeViewer.o: In function `TclFeViewer::saveImage(char const*, char const*)':
TclFeViewer.cpp:(.text+0x1e55): undefined reference to `Renderer::saveImage(char const*, char const*)'
/home/zql/OpenSees/SRC/tcl/TclVideoPlayer.o: In function `TclVideoPlayer::TclVideoPlayer(char const*, char const*, char const*, Tcl_Interp*, char const*, double)':
TclVideoPlayer.cpp:(.text+0x2f0): undefined reference to `OpenGLRenderer::OpenGLRenderer(char const*, int, int, int, int, ColorMap&)'
/home/zql/lib/libOpenSees.a(TclRecorderCommands.o): In function `TclCreateRecorder(void*, Tcl_Interp*, int, char const**, Domain&, Recorder**)':
TclRecorderCommands.cpp:(.text+0x38b4): undefined reference to `FilePlotter::FilePlotter(char const*, char const*, int, int, int, int, double)'
TclRecorderCommands.cpp:(.text+0x38ca): undefined reference to `FilePlotter::setCol(ID const&)'
TclRecorderCommands.cpp:(.text+0x3bda): undefined reference to `FilePlotter::FilePlotter(char const*, char const*, char const*, int, int, int, int, double)'
TclRecorderCommands.cpp:(.text+0x3bf0): undefined reference to `FilePlotter::setCol(ID const&)'
TclRecorderCommands.cpp:(.text+0x3d45): undefined reference to `AlgorithmIncrements::AlgorithmIncrements(EquiSolnAlgo*, char const*, int, int, int, int, bool, char const*)'
collect2: ld returned 1 exit status
make[1]: *** [tcl] Error 1
make[1]: Leaving directory `/home/zql/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
please help me to solve the error,thanks.
-
- Posts: 13
- Joined: Fri Mar 21, 2014 8:36 pm
- Location: Tsinghua
Re: Compiling Error in ubuntu
thanks fmk.
-
- Posts: 13
- Joined: Fri Mar 21, 2014 8:36 pm
- Location: Tsinghua
Re: Compiling Error in ubuntu
/modelbuilder/triangle -I/home/zql/OpenSees/SRC/modelbuilder/tcl -I/home/zql/OpenSees/SRC/system_of_eqn -I/home/zql/OpenSees/SRC/system_of_eqn/eigenSOE -I/home/zql/OpenSees/SRC/system_of_eqn/linearSOE -I/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/slowMatrix -I/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/bandSPD -I/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/profileSPD -I/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/fullGEN -I/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/bandGEN -I/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN -I/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/sparseSYM -I/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc -I/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/umfGEN -I/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/diagonal -I/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/cg -I/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/BJsolvers -I/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/itpack -I/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/mumps -I/home/zql/OpenSees/SRC/system_of_eqn/eigenSOE -I/home/zql/OpenSees/SRC/graph/graph -I/home/zql/OpenSees/SRC/graph/numberer -I/home/zql/OpenSees/SRC/graph/partitioner -I/home/zql/OpenSees/SRC/element/nonlinearBeamColumn/element -I/home/zql/OpenSees/SRC/element/nonlinearBeamColumn/fiber -I/home/zql/OpenSees/SRC/element/nonlinearBeamColumn/matrixutil -I/home/zql/OpenSees/SRC/element/nonlinearBeamColumn/quadrule -I/home/zql/OpenSees/SRC/coordTransformation -I/home/zql/OpenSees/SRC/optimization -I/home/zql/OpenSees/SRC/reliability/analysis -I/home/zql/OpenSees/SRC/reliability/analysis/analysis -I/home/zql/OpenSees/SRC/reliability/analysis/analysis/system -I/home/zql/OpenSees/SRC/reliability/analysis/convergenceCheck -I/home/zql/OpenSees/SRC/reliability/analysis/curvature -I/home/zql/OpenSees/SRC/reliability/analysis/designPoint -I/home/zql/OpenSees/SRC/reliability/analysis/direction -I/home/zql/OpenSees/SRC/reliability/analysis/gFunction -I/home/zql/OpenSees/SRC/reliability/analysis/hessianApproximation -I/home/zql/OpenSees/SRC/reliability/analysis/meritFunction -I/home/zql/OpenSees/SRC/reliability/analysis/misc -I/home/zql/OpenSees/SRC/reliability/analysis/randomNumber -I/home/zql/OpenSees/SRC/reliability/analysis/rootFinding -I/home/zql/OpenSees/SRC/reliability/analysis/sensitivity -I/home/zql/OpenSees/SRC/reliability/analysis/stepSize -I/home/zql/OpenSees/SRC/reliability/analysis/transformation -I/home/zql/OpenSees/SRC/reliability/analysis/telm -I/home/zql/OpenSees/SRC/reliability/domain -I/home/zql/OpenSees/SRC/reliability/domain/components -I/home/zql/OpenSees/SRC/reliability/domain/distributions -I/home/zql/OpenSees/SRC/reliability/domain/filter -I/home/zql/OpenSees/SRC/reliability/domain/modulatingFunction -I/home/zql/OpenSees/SRC/reliability/domain/spectrum -I/home/zql/OpenSees/SRC/reliability/domain/limitStateFunction -I/home/zql/OpenSees/SRC/reliability/optimization -I/home/zql/OpenSees/SRC/reliability/analysis/telm -I/home/zql/OpenSees/SRC/optimization/tcl -I/home/zql/OpenSees/SRC/optimization/domain -I/home/zql/OpenSees/SRC/optimization/domain/component -I/home/zql/OpenSees/SRC/optimization/SNOPT -I/home/zql/OpenSees/SRC/reliability/FEsensitivity -I/home/zql/OpenSees/SRC/reliability/tcl -I/home/zql/OpenSees/SRC/unittest -I/home/zql/OpenSees/SRC/api -I/home/zql/OpenSees/SRC -I/home/zql/OpenSees/OTHER/SuperLU_4.1/SRC -I/home/zql/OpenSees/SRC/package -I/home/zql/OpenSees/SRC/../OTHER/AMD -I/usr/include -I/usr/local/include -I/usr/include/cxx -I/home/zql/include -I/home/zql/blitz -c commands.cpp -o commands.o
commands.cpp: In function ‘int OpenSees_putsCommand(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
commands.cpp:645:17: warning: unused variable ‘chan’ [-Wunused-variable]
commands.cpp:649:9: warning: unused variable ‘result’ [-Wunused-variable]
commands.cpp:650:9: warning: unused variable ‘mode’ [-Wunused-variable]
commands.cpp: In function ‘int OpenSeesAppInit(Tcl_Interp*)’:
commands.cpp:765:7: warning: unused variable ‘res’ [-Wunused-variable]
commands.cpp: In function ‘int printA(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp31: error: ‘class LinearSOE’ has no member named ‘getA’
commands.cpp8: warning: unused variable ‘done’ [-Wunused-variable]
commands.cpp: In function ‘int printB(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp8: warning: unused variable ‘done’ [-Wunused-variable]
commands.cpp: In function ‘int specifySOE(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp80: error: no matching function for call to ‘UmfpackGenLinSOE::UmfpackGenLinSOE(UmfpackGenLinSolver&, int&, int&, int&)’
commands.cpp80: note: candidates are:
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/umfGEN/UmfpackGenLinSOE.h:48:5: note: UmfpackGenLinSOE::UmfpackGenLinSOE(int, int, int*, int*, UmfpackGenLinSolver&)
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/umfGEN/UmfpackGenLinSOE.h:48:5: note: candidate expects 5 arguments, 4 provided
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/umfGEN/UmfpackGenLinSOE.h:47:5: note: UmfpackGenLinSOE::UmfpackGenLinSOE()
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/umfGEN/UmfpackGenLinSOE.h:47:5: note: candidate expects 0 arguments, 4 provided
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/umfGEN/UmfpackGenLinSOE.h:46:5: note: UmfpackGenLinSOE::UmfpackGenLinSOE(UmfpackGenLinSolver&, int)
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/umfGEN/UmfpackGenLinSOE.h:46:5: note: candidate expects 2 arguments, 4 provided
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/umfGEN/UmfpackGenLinSOE.h:43:7: note: UmfpackGenLinSOE::UmfpackGenLinSOE(const UmfpackGenLinSOE&)
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/umfGEN/UmfpackGenLinSOE.h:43:7: note: candidate expects 1 argument, 4 provided
commands.cpp9: warning: unused variable ‘result’ [-Wunused-variable]
commands.cpp: In function ‘int specifyAlgorithm(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp52: error: no matching function for call to ‘Linear::Linear(int&, int&)’
commands.cpp52: note: candidates are:
/home/zql/OpenSees/SRC/analysis/algorithm/equiSolnAlgo/Linear.h:48:5: note: Linear::Linear(int)
/home/zql/OpenSees/SRC/analysis/algorithm/equiSolnAlgo/Linear.h:48:5: note: candidate expects 1 argument, 2 provided
/home/zql/OpenSees/SRC/analysis/algorithm/equiSolnAlgo/Linear.h:45:7: note: Linear::Linear(const Linear&)
/home/zql/OpenSees/SRC/analysis/algorithm/equiSolnAlgo/Linear.h:45:7: note: candidate expects 1 argument, 2 provided
commands.cpp: In function ‘int specifyIntegrator(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:5780:9: warning: unused variable ‘result’ [-Wunused-variable]
commands.cpp: In function ‘int eigenAnalysis(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:6161:35: error: no matching function for call to ‘ArpackSOE::ArpackSOE(double&)’
commands.cpp:6161:35: note: candidates are:
/home/zql/OpenSees/SRC/system_of_eqn/eigenSOE/ArpackSOE.h:47:5: note: ArpackSOE::ArpackSOE()
/home/zql/OpenSees/SRC/system_of_eqn/eigenSOE/ArpackSOE.h:47:5: note: candidate expects 0 arguments, 1 provided
/home/zql/OpenSees/SRC/system_of_eqn/eigenSOE/ArpackSOE.h:44:5: note: ArpackSOE::ArpackSOE(LinearSOE&, double)
/home/zql/OpenSees/SRC/system_of_eqn/eigenSOE/ArpackSOE.h:44:5: note: no known conversion for argument 1 from ‘double’ to ‘LinearSOE&’
/home/zql/OpenSees/SRC/system_of_eqn/eigenSOE/ArpackSOE.h:41:7: note: ArpackSOE::ArpackSOE(const ArpackSOE&)
/home/zql/OpenSees/SRC/system_of_eqn/eigenSOE/ArpackSOE.h:41:7: note: no known conversion for argument 1 from ‘double’ to ‘const ArpackSOE&’
commands.cpp: In function ‘int removeObject(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:6388:44: error: ‘class Domain’ has no member named ‘removePressure_Constraint’
commands.cpp:6474:9: warning: unused variable ‘nodTag’ [-Wunused-variable]
commands.cpp: In function ‘int eleForce(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:6782:37: error: ‘class Domain’ has no member named ‘getElementResponse’
commands.cpp: In function ‘int eleResponse(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:6901:36: error: ‘class Domain’ has no member named ‘getElementResponse’
commands.cpp: In function ‘int eleNodes(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:6997:34: error: ‘class Domain’ has no member named ‘getElementResponse’
commands.cpp: In function ‘int nodePressure(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:7063:44: error: ‘class Domain’ has no member named ‘getPressure_Constraint’
commands.cpp: In function ‘int sensNodeDisp(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:7285:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp: In function ‘int sensNodeVel(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:7334:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp: In function ‘int sensNodeAccel(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:7383:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp: In function ‘int sectionForce(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:7515:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp:7559:46: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp: In function ‘int sectionDeformation(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:7583:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp:7627:46: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp: In function ‘int sectionLocation(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:7652:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp:7687:46: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp: In function ‘int sectionWeight(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:7711:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp:7746:46: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp: In function ‘int sectionStiffness(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:7770:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp:7810:46: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp: In function ‘int sectionFlexibility(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:7838:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp:7878:46: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp: In function ‘int basicDeformation(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:7907:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp:7944:46: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp:7916:12: warning: unused variable ‘secNum’ [-Wunused-variable]
commands.cpp: In function ‘int basicForce(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:7970:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp:8007:46: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp:7979:12: warning: unused variable ‘secNum’ [-Wunused-variable]
commands.cpp: In function ‘int basicStiffness(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:8033:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp:8070:46: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp:8042:12: warning: unused variable ‘secNum’ [-Wunused-variable]
commands.cpp: In function ‘int record(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:9024:25: error: no matching function for call to ‘Domain::record(bool)’
commands.cpp:9024:25: note: candidate is:
/home/zql/OpenSees/SRC/domain/domain/Domain.h:202:18: note: virtual int Domain::record()
/home/zql/OpenSees/SRC/domain/domain/Domain.h:202:18: note: candidate expects 0 arguments, 1 provided
commands.cpp: In function ‘int setParameter(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:9406:7: warning: unused variable ‘objectCount’ [-Wunused-variable]
commands.cpp: In function ‘int maxOpenFiles(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:9476:7: warning: unused variable ‘newMax’ [-Wunused-variable]
commands.cpp: In function ‘int printModelGID(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:9555:7: warning: unused variable ‘tag’ [-Wunused-variable]
commands.cpp:9805:15: warning: unused variable ‘myRegion’ [-Wunused-variable]
commands.cpp:9517:17: warning: unused variable ‘output’ [-Wunused-variable]
commands.cpp: At global scope:
commands.cpp31: warning: ‘theExternalAlgorithmCommands’ defined but not used [-Wunused-variable]
make[2]: *** [commands.o] Error 1
make[2]: Leaving directory `/home/zql/OpenSees/SRC/tcl'
make[1]: *** [tcl] Error 2
make[1]: Leaving directory `/home/zql/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
Hi, fmk:
After i continued to compiling and got some new errors, please help me. thanks.
best regards.
commands.cpp: In function ‘int OpenSees_putsCommand(ClientData, Tcl_Interp*, int, Tcl_Obj* const*)’:
commands.cpp:645:17: warning: unused variable ‘chan’ [-Wunused-variable]
commands.cpp:649:9: warning: unused variable ‘result’ [-Wunused-variable]
commands.cpp:650:9: warning: unused variable ‘mode’ [-Wunused-variable]
commands.cpp: In function ‘int OpenSeesAppInit(Tcl_Interp*)’:
commands.cpp:765:7: warning: unused variable ‘res’ [-Wunused-variable]
commands.cpp: In function ‘int printA(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp31: error: ‘class LinearSOE’ has no member named ‘getA’
commands.cpp8: warning: unused variable ‘done’ [-Wunused-variable]
commands.cpp: In function ‘int printB(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp8: warning: unused variable ‘done’ [-Wunused-variable]
commands.cpp: In function ‘int specifySOE(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp80: error: no matching function for call to ‘UmfpackGenLinSOE::UmfpackGenLinSOE(UmfpackGenLinSolver&, int&, int&, int&)’
commands.cpp80: note: candidates are:
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/umfGEN/UmfpackGenLinSOE.h:48:5: note: UmfpackGenLinSOE::UmfpackGenLinSOE(int, int, int*, int*, UmfpackGenLinSolver&)
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/umfGEN/UmfpackGenLinSOE.h:48:5: note: candidate expects 5 arguments, 4 provided
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/umfGEN/UmfpackGenLinSOE.h:47:5: note: UmfpackGenLinSOE::UmfpackGenLinSOE()
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/umfGEN/UmfpackGenLinSOE.h:47:5: note: candidate expects 0 arguments, 4 provided
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/umfGEN/UmfpackGenLinSOE.h:46:5: note: UmfpackGenLinSOE::UmfpackGenLinSOE(UmfpackGenLinSolver&, int)
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/umfGEN/UmfpackGenLinSOE.h:46:5: note: candidate expects 2 arguments, 4 provided
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/umfGEN/UmfpackGenLinSOE.h:43:7: note: UmfpackGenLinSOE::UmfpackGenLinSOE(const UmfpackGenLinSOE&)
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/umfGEN/UmfpackGenLinSOE.h:43:7: note: candidate expects 1 argument, 4 provided
commands.cpp9: warning: unused variable ‘result’ [-Wunused-variable]
commands.cpp: In function ‘int specifyAlgorithm(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp52: error: no matching function for call to ‘Linear::Linear(int&, int&)’
commands.cpp52: note: candidates are:
/home/zql/OpenSees/SRC/analysis/algorithm/equiSolnAlgo/Linear.h:48:5: note: Linear::Linear(int)
/home/zql/OpenSees/SRC/analysis/algorithm/equiSolnAlgo/Linear.h:48:5: note: candidate expects 1 argument, 2 provided
/home/zql/OpenSees/SRC/analysis/algorithm/equiSolnAlgo/Linear.h:45:7: note: Linear::Linear(const Linear&)
/home/zql/OpenSees/SRC/analysis/algorithm/equiSolnAlgo/Linear.h:45:7: note: candidate expects 1 argument, 2 provided
commands.cpp: In function ‘int specifyIntegrator(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:5780:9: warning: unused variable ‘result’ [-Wunused-variable]
commands.cpp: In function ‘int eigenAnalysis(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:6161:35: error: no matching function for call to ‘ArpackSOE::ArpackSOE(double&)’
commands.cpp:6161:35: note: candidates are:
/home/zql/OpenSees/SRC/system_of_eqn/eigenSOE/ArpackSOE.h:47:5: note: ArpackSOE::ArpackSOE()
/home/zql/OpenSees/SRC/system_of_eqn/eigenSOE/ArpackSOE.h:47:5: note: candidate expects 0 arguments, 1 provided
/home/zql/OpenSees/SRC/system_of_eqn/eigenSOE/ArpackSOE.h:44:5: note: ArpackSOE::ArpackSOE(LinearSOE&, double)
/home/zql/OpenSees/SRC/system_of_eqn/eigenSOE/ArpackSOE.h:44:5: note: no known conversion for argument 1 from ‘double’ to ‘LinearSOE&’
/home/zql/OpenSees/SRC/system_of_eqn/eigenSOE/ArpackSOE.h:41:7: note: ArpackSOE::ArpackSOE(const ArpackSOE&)
/home/zql/OpenSees/SRC/system_of_eqn/eigenSOE/ArpackSOE.h:41:7: note: no known conversion for argument 1 from ‘double’ to ‘const ArpackSOE&’
commands.cpp: In function ‘int removeObject(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:6388:44: error: ‘class Domain’ has no member named ‘removePressure_Constraint’
commands.cpp:6474:9: warning: unused variable ‘nodTag’ [-Wunused-variable]
commands.cpp: In function ‘int eleForce(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:6782:37: error: ‘class Domain’ has no member named ‘getElementResponse’
commands.cpp: In function ‘int eleResponse(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:6901:36: error: ‘class Domain’ has no member named ‘getElementResponse’
commands.cpp: In function ‘int eleNodes(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:6997:34: error: ‘class Domain’ has no member named ‘getElementResponse’
commands.cpp: In function ‘int nodePressure(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:7063:44: error: ‘class Domain’ has no member named ‘getPressure_Constraint’
commands.cpp: In function ‘int sensNodeDisp(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:7285:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp: In function ‘int sensNodeVel(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:7334:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp: In function ‘int sensNodeAccel(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:7383:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp: In function ‘int sectionForce(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:7515:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp:7559:46: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp: In function ‘int sectionDeformation(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:7583:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp:7627:46: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp: In function ‘int sectionLocation(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:7652:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp:7687:46: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp: In function ‘int sectionWeight(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:7711:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp:7746:46: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp: In function ‘int sectionStiffness(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:7770:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp:7810:46: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp: In function ‘int sectionFlexibility(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:7838:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp:7878:46: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp: In function ‘int basicDeformation(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:7907:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp:7944:46: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp:7916:12: warning: unused variable ‘secNum’ [-Wunused-variable]
commands.cpp: In function ‘int basicForce(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:7970:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp:8007:46: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp:7979:12: warning: unused variable ‘secNum’ [-Wunused-variable]
commands.cpp: In function ‘int basicStiffness(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:8033:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp:8070:46: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
commands.cpp:8042:12: warning: unused variable ‘secNum’ [-Wunused-variable]
commands.cpp: In function ‘int record(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:9024:25: error: no matching function for call to ‘Domain::record(bool)’
commands.cpp:9024:25: note: candidate is:
/home/zql/OpenSees/SRC/domain/domain/Domain.h:202:18: note: virtual int Domain::record()
/home/zql/OpenSees/SRC/domain/domain/Domain.h:202:18: note: candidate expects 0 arguments, 1 provided
commands.cpp: In function ‘int setParameter(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:9406:7: warning: unused variable ‘objectCount’ [-Wunused-variable]
commands.cpp: In function ‘int maxOpenFiles(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:9476:7: warning: unused variable ‘newMax’ [-Wunused-variable]
commands.cpp: In function ‘int printModelGID(ClientData, Tcl_Interp*, int, const char**)’:
commands.cpp:9555:7: warning: unused variable ‘tag’ [-Wunused-variable]
commands.cpp:9805:15: warning: unused variable ‘myRegion’ [-Wunused-variable]
commands.cpp:9517:17: warning: unused variable ‘output’ [-Wunused-variable]
commands.cpp: At global scope:
commands.cpp31: warning: ‘theExternalAlgorithmCommands’ defined but not used [-Wunused-variable]
make[2]: *** [commands.o] Error 1
make[2]: Leaving directory `/home/zql/OpenSees/SRC/tcl'
make[1]: *** [tcl] Error 2
make[1]: Leaving directory `/home/zql/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
Hi, fmk:
After i continued to compiling and got some new errors, please help me. thanks.
best regards.
Re: Compiling Error in ubuntu
tell me what version og gcc you have
gcc -v
gcc -v
-
- Posts: 13
- Joined: Fri Mar 21, 2014 8:36 pm
- Location: Tsinghua
Re: Compiling Error in ubuntu
now, i have solved the error above, but i find a new situation, when i make this program in ubuntu 12.04 && OpenSees 2.3.0 , but there is no result , as follows:
/home/zql/OpenSees/SRC/optimization/tcl -I/home/zql/OpenSees/SRC/optimization/domain -I/home/zql/OpenSees/SRC/optimization/domain/component -I/home/zql/OpenSees/SRC/optimization/SNOPT -I/home/zql/OpenSees/SRC/reliability/FEsensitivity -I/home/zql/OpenSees/SRC/reliability/tcl -I/home/zql/OpenSees/SRC/unittest -I/home/zql/OpenSees/SRC/api -I/home/zql/OpenSees/SRC -I/home/zql/OpenSees/OTHER/SuperLU_4.1/SRC -I/home/zql/OpenSees/SRC/package -I/home/zql/OpenSees/SRC/../OTHER/AMD -I/usr/include -I/usr/local/include -I/usr/include/cxx -I/home/zql/include -I/home/zql/blitz -c TclModelBuilderDamageModelCommand.cpp -o TclModelBuilderDamageModelCommand.o
make[3]: Entering directory `/home/zql/OpenSees/SRC/recorder/response'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zql/OpenSees/SRC/recorder/response'
make[2]: Leaving directory `/home/zql/OpenSees/SRC/damage'
make[2]: Entering directory `/home/zql/OpenSees/SRC/api'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zql/OpenSees/SRC/api'
make[1]: Leaving directory `/home/zql/OpenSees/SRC'
make[1]: Entering directory `/home/zql/OpenSees/OTHER/METIS'
make[1]: Leaving directory `/home/zql/OpenSees/OTHER/METIS'
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
make[1]: Entering directory `/home/zql/OpenSees/SRC/tcl'
make[1]: Nothing to be done for `tcl'.
make[1]: Leaving directory `/home/zql/OpenSees/SRC/tcl'
make[1]: Entering directory `/home/zql/OpenSees/SRC/modelbuilder/tcl'
make[2]: Entering directory `/home/zql/OpenSees/SRC/tcl'
make[2]: Nothing to be done for `tcl'.
make[2]: Leaving directory `/home/zql/OpenSees/SRC/tcl'
make[1]: Leaving directory `/home/zql/OpenSees/SRC/modelbuilder/tcl'
please help me for that and thanks, fmk.
best regards.
/home/zql/OpenSees/SRC/optimization/tcl -I/home/zql/OpenSees/SRC/optimization/domain -I/home/zql/OpenSees/SRC/optimization/domain/component -I/home/zql/OpenSees/SRC/optimization/SNOPT -I/home/zql/OpenSees/SRC/reliability/FEsensitivity -I/home/zql/OpenSees/SRC/reliability/tcl -I/home/zql/OpenSees/SRC/unittest -I/home/zql/OpenSees/SRC/api -I/home/zql/OpenSees/SRC -I/home/zql/OpenSees/OTHER/SuperLU_4.1/SRC -I/home/zql/OpenSees/SRC/package -I/home/zql/OpenSees/SRC/../OTHER/AMD -I/usr/include -I/usr/local/include -I/usr/include/cxx -I/home/zql/include -I/home/zql/blitz -c TclModelBuilderDamageModelCommand.cpp -o TclModelBuilderDamageModelCommand.o
make[3]: Entering directory `/home/zql/OpenSees/SRC/recorder/response'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zql/OpenSees/SRC/recorder/response'
make[2]: Leaving directory `/home/zql/OpenSees/SRC/damage'
make[2]: Entering directory `/home/zql/OpenSees/SRC/api'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/zql/OpenSees/SRC/api'
make[1]: Leaving directory `/home/zql/OpenSees/SRC'
make[1]: Entering directory `/home/zql/OpenSees/OTHER/METIS'
make[1]: Leaving directory `/home/zql/OpenSees/OTHER/METIS'
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
make[1]: Entering directory `/home/zql/OpenSees/SRC/tcl'
make[1]: Nothing to be done for `tcl'.
make[1]: Leaving directory `/home/zql/OpenSees/SRC/tcl'
make[1]: Entering directory `/home/zql/OpenSees/SRC/modelbuilder/tcl'
make[2]: Entering directory `/home/zql/OpenSees/SRC/tcl'
make[2]: Nothing to be done for `tcl'.
make[2]: Leaving directory `/home/zql/OpenSees/SRC/tcl'
make[1]: Leaving directory `/home/zql/OpenSees/SRC/modelbuilder/tcl'
please help me for that and thanks, fmk.
best regards.
Re: Compiling Error in ubuntu
it should be located in /home/zql/bin
i trust you created directories /home/zql/bin and /home/zql/lib before you started building OpenSees as instructed!
i trust you created directories /home/zql/bin and /home/zql/lib before you started building OpenSees as instructed!
-
- Posts: 13
- Joined: Fri Mar 21, 2014 8:36 pm
- Location: Tsinghua
Re: Compiling Error in ubuntu
thanks, fmk.
best regards.
best regards.