compiling error Ubuntu 14.04
Moderators: silvia, selimgunay, Moderators
-
- Posts: 28
- Joined: Tue Mar 20, 2012 11:34 pm
- Location: Shiraz University
compiling error Ubuntu 14.04
I am using the updated make file
these are the errors i am getting
/home/reza/OpenSees/SRC/tcl/commands.o: In function `_GLOBAL__sub_I_sserr':
commands.cpp:(.text.startup+0xf): undefined reference to `StandardStream::StandardStream(int)'
commands.cpp:(.text.startup+0x1e): undefined reference to `StandardStream::~StandardStream()'
commands.cpp:(.text.startup+0x4b): undefined reference to `Domain::Domain()'
commands.cpp:(.text.startup+0x5a): undefined reference to `Domain::~Domain()'
commands.cpp:(.text.startup+0x69): undefined reference to `SimulationInformation::SimulationInformation()'
commands.cpp:(.text.startup+0x78): undefined reference to `SimulationInformation::~SimulationInformation()'
commands.cpp:(.text.startup+0x87): undefined reference to `FEM_ObjectBrokerAllClasses::FEM_ObjectBrokerAllClasses()'
commands.cpp:(.text.startup+0x96): undefined reference to `FEM_ObjectBrokerAllClasses::~FEM_ObjectBrokerAllClasses()'
/home/reza/OpenSees/SRC/modelbuilder/tcl/myCommands.o: In function `specifyModelBuilder(void*, Tcl_Interp*, int, char const**)':
myCommands.cpp:(.text+0x15c): undefined reference to `TclModelBuilder::TclModelBuilder(Domain&, Tcl_Interp*, int, int)'
myCommands.cpp:(.text+0x183): undefined reference to `OPS_ResetInput(void*, Tcl_Interp*, int, int, char const**, Domain*, TclModelBuilder*)'
myCommands.cpp:(.text+0x34b): undefined reference to `TclSectionTester::TclSectionTester(Domain&, Tcl_Interp*, int)'
myCommands.cpp:(.text+0x3f4): undefined reference to `TclUniaxialMaterialTester::TclUniaxialMaterialTester(Domain&, Tcl_Interp*, int)'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o: In function `TclFeViewer::~TclFeViewer()':
TclFeViewer.cpp:(.text+0x156): undefined reference to `Recorder::~Recorder()'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o: In function `TclFeViewer::~TclFeViewer()':
TclFeViewer.cpp:(.text+0x1c5): undefined reference to `Recorder::~Recorder()'
TclFeViewer.cpp:(.text+0x1de): undefined reference to `Recorder::~Recorder()'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o: In function `TclFeViewer::TclFeViewer()':
TclFeViewer.cpp:(.text+0x20a): undefined reference to `Recorder::Recorder(int)'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o: In function `TclFeViewer::TclFeViewer(char const*, int, int, int, int, Domain&, int, Tcl_Interp*, double)':
TclFeViewer.cpp:(.text+0x2ac): undefined reference to `Recorder::Recorder(int)'
TclFeViewer.cpp:(.text+0x33a): undefined reference to `PlainMap::PlainMap()'
TclFeViewer.cpp:(.text+0x466): undefined reference to `Recorder::~Recorder()'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o: In function `TclFeViewer::TclFeViewer(char const*, int, int, int, int, char const*, Domain&, Tcl_Interp*, double)':
TclFeViewer.cpp:(.text+0x49c): undefined reference to `Recorder::Recorder(int)'
TclFeViewer.cpp:(.text+0x52a): undefined reference to `PlainMap::PlainMap()'
TclFeViewer.cpp:(.text+0x656): undefined reference to `Recorder::~Recorder()'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o: In function `TclFeViewer::~TclFeViewer()':
TclFeViewer.cpp:(.text+0x14b): undefined reference to `Recorder::~Recorder()'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o:(.rodata._ZTI11TclFeViewer[_ZTI11TclFeViewer]+0x10): undefined reference to `typeinfo for Recorder'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o:(.rodata._ZTV11TclFeViewer[_ZTV11TclFeViewer]+0x20): undefined reference to `MovableObject::getClassType() const'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o:(.rodata._ZTV11TclFeViewer[_ZTV11TclFeViewer]+0x38): undefined reference to `MovableObject::setParameter(char const**, int, Parameter&)'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o:(.rodata._ZTV11TclFeViewer[_ZTV11TclFeViewer]+0x40): undefined reference to `MovableObject::updateParameter(int, Information&)'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o:(.rodata._ZTV11TclFeViewer[_ZTV11TclFeViewer]+0x48): undefined reference to `MovableObject::activateParameter(int)'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o:(.rodata._ZTV11TclFeViewer[_ZTV11TclFeViewer]+0x50): undefined reference to `MovableObject::setVariable(char const*, Information&)'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o:(.rodata._ZTV11TclFeViewer[_ZTV11TclFeViewer]+0x58): undefined reference to `MovableObject::getVariable(char const*, Information&)'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o:(.rodata._ZTV11TclFeViewer[_ZTV11TclFeViewer]+0x70): undefined reference to `Recorder::domainChanged()'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o:(.rodata._ZTV11TclFeViewer[_ZTV11TclFeViewer]+0x78): undefined reference to `Recorder::setDomain(Domain&)'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o:(.rodata._ZTV11TclFeViewer[_ZTV11TclFeViewer]+0x80): undefined reference to `Recorder::Print(OPS_Stream&, int)'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o:(.rodata._ZTV11TclFeViewer[_ZTV11TclFeViewer]+0xa8): undefined reference to `non-virtual thunk to Recorder::Print(OPS_Stream&, int)'
/home/reza/OpenSees/SRC/tcl/TclVideoPlayer.o: In function `TclVideoPlayer::TclVideoPlayer(char const*, char const*, char const*, Tcl_Interp*, char const*, double)':
TclVideoPlayer.cpp:(.text+0x2cd): undefined reference to `PlainMap::PlainMap()'
collect2: error: ld returned 1 exit status
make[1]: *** [tcl] Error 1
make[1]: Leaving directory `/home/reza/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
these are the errors i am getting
/home/reza/OpenSees/SRC/tcl/commands.o: In function `_GLOBAL__sub_I_sserr':
commands.cpp:(.text.startup+0xf): undefined reference to `StandardStream::StandardStream(int)'
commands.cpp:(.text.startup+0x1e): undefined reference to `StandardStream::~StandardStream()'
commands.cpp:(.text.startup+0x4b): undefined reference to `Domain::Domain()'
commands.cpp:(.text.startup+0x5a): undefined reference to `Domain::~Domain()'
commands.cpp:(.text.startup+0x69): undefined reference to `SimulationInformation::SimulationInformation()'
commands.cpp:(.text.startup+0x78): undefined reference to `SimulationInformation::~SimulationInformation()'
commands.cpp:(.text.startup+0x87): undefined reference to `FEM_ObjectBrokerAllClasses::FEM_ObjectBrokerAllClasses()'
commands.cpp:(.text.startup+0x96): undefined reference to `FEM_ObjectBrokerAllClasses::~FEM_ObjectBrokerAllClasses()'
/home/reza/OpenSees/SRC/modelbuilder/tcl/myCommands.o: In function `specifyModelBuilder(void*, Tcl_Interp*, int, char const**)':
myCommands.cpp:(.text+0x15c): undefined reference to `TclModelBuilder::TclModelBuilder(Domain&, Tcl_Interp*, int, int)'
myCommands.cpp:(.text+0x183): undefined reference to `OPS_ResetInput(void*, Tcl_Interp*, int, int, char const**, Domain*, TclModelBuilder*)'
myCommands.cpp:(.text+0x34b): undefined reference to `TclSectionTester::TclSectionTester(Domain&, Tcl_Interp*, int)'
myCommands.cpp:(.text+0x3f4): undefined reference to `TclUniaxialMaterialTester::TclUniaxialMaterialTester(Domain&, Tcl_Interp*, int)'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o: In function `TclFeViewer::~TclFeViewer()':
TclFeViewer.cpp:(.text+0x156): undefined reference to `Recorder::~Recorder()'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o: In function `TclFeViewer::~TclFeViewer()':
TclFeViewer.cpp:(.text+0x1c5): undefined reference to `Recorder::~Recorder()'
TclFeViewer.cpp:(.text+0x1de): undefined reference to `Recorder::~Recorder()'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o: In function `TclFeViewer::TclFeViewer()':
TclFeViewer.cpp:(.text+0x20a): undefined reference to `Recorder::Recorder(int)'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o: In function `TclFeViewer::TclFeViewer(char const*, int, int, int, int, Domain&, int, Tcl_Interp*, double)':
TclFeViewer.cpp:(.text+0x2ac): undefined reference to `Recorder::Recorder(int)'
TclFeViewer.cpp:(.text+0x33a): undefined reference to `PlainMap::PlainMap()'
TclFeViewer.cpp:(.text+0x466): undefined reference to `Recorder::~Recorder()'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o: In function `TclFeViewer::TclFeViewer(char const*, int, int, int, int, char const*, Domain&, Tcl_Interp*, double)':
TclFeViewer.cpp:(.text+0x49c): undefined reference to `Recorder::Recorder(int)'
TclFeViewer.cpp:(.text+0x52a): undefined reference to `PlainMap::PlainMap()'
TclFeViewer.cpp:(.text+0x656): undefined reference to `Recorder::~Recorder()'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o: In function `TclFeViewer::~TclFeViewer()':
TclFeViewer.cpp:(.text+0x14b): undefined reference to `Recorder::~Recorder()'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o:(.rodata._ZTI11TclFeViewer[_ZTI11TclFeViewer]+0x10): undefined reference to `typeinfo for Recorder'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o:(.rodata._ZTV11TclFeViewer[_ZTV11TclFeViewer]+0x20): undefined reference to `MovableObject::getClassType() const'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o:(.rodata._ZTV11TclFeViewer[_ZTV11TclFeViewer]+0x38): undefined reference to `MovableObject::setParameter(char const**, int, Parameter&)'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o:(.rodata._ZTV11TclFeViewer[_ZTV11TclFeViewer]+0x40): undefined reference to `MovableObject::updateParameter(int, Information&)'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o:(.rodata._ZTV11TclFeViewer[_ZTV11TclFeViewer]+0x48): undefined reference to `MovableObject::activateParameter(int)'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o:(.rodata._ZTV11TclFeViewer[_ZTV11TclFeViewer]+0x50): undefined reference to `MovableObject::setVariable(char const*, Information&)'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o:(.rodata._ZTV11TclFeViewer[_ZTV11TclFeViewer]+0x58): undefined reference to `MovableObject::getVariable(char const*, Information&)'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o:(.rodata._ZTV11TclFeViewer[_ZTV11TclFeViewer]+0x70): undefined reference to `Recorder::domainChanged()'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o:(.rodata._ZTV11TclFeViewer[_ZTV11TclFeViewer]+0x78): undefined reference to `Recorder::setDomain(Domain&)'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o:(.rodata._ZTV11TclFeViewer[_ZTV11TclFeViewer]+0x80): undefined reference to `Recorder::Print(OPS_Stream&, int)'
/home/reza/OpenSees/SRC/tcl/TclFeViewer.o:(.rodata._ZTV11TclFeViewer[_ZTV11TclFeViewer]+0xa8): undefined reference to `non-virtual thunk to Recorder::Print(OPS_Stream&, int)'
/home/reza/OpenSees/SRC/tcl/TclVideoPlayer.o: In function `TclVideoPlayer::TclVideoPlayer(char const*, char const*, char const*, Tcl_Interp*, char const*, double)':
TclVideoPlayer.cpp:(.text+0x2cd): undefined reference to `PlainMap::PlainMap()'
collect2: error: ld returned 1 exit status
make[1]: *** [tcl] Error 1
make[1]: Leaving directory `/home/reza/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
-
- Posts: 28
- Joined: Tue Mar 20, 2012 11:34 pm
- Location: Shiraz University
Re: compiling error Ubuntu 14.04
############################################################################
#
# Program: OpenSees
#
# Purpose: A Top-level Makefile to create the libraries needed
# to use the OpenSees framework. Works on Linux version 6.1
# and below.
#
# Written: fmk
# Created: 10/99
#
# Send bug reports, comments or suggestions to fmckenna@ce.berkeley.edu
#
############################################################################
#
# https://help.ubuntu.com/community/EC2StartersGuide
## ssh to machine from your own:
#
# chmod 'go+rwx' XXX.pem
# ssh -i XXX.pem ubuntu@YYY.amazonaws.com
#
# Instructuction for building OpenSees on Ubuntu
# using amazon EC-2 instance ami-d0f89fb9 (running Ubunto 12.04) once logged in
# sudo in and type the following:
# sudo apt-get update
# sudo apt-get install subversion
# svn co svn://opensees.berkeley.edu/usr/local/svn/OpenSees/trunk OpenSees
# sudo apt-get install emacs
# sudo apt-get install make
# sudo apt-get install tcl8.5
# sudo apt-get install tcl8.5-dev
# sudo apt-get install gcc
# sudo apt-get install g++
# sudo apt-get install gfortran
# mkdir lib
# mkdir bin
# cd OpenSees
# cp ./MAKES/Makefile.def.EC2-UBUNTU ./Makefile.def
# make
# NOTE: if 64 bit the TCL dir is placed elsewhere; make will fail
# you need to uncomment out the correct line below TL_LIBS =
# TCL_LIBS should point to the following: /usr/lib/x86_64-linux/gnu/libtcl8.5.so
# you can always find it using the find command:
# find / -name libtcl8.5.so 2>/dev/null
# %---------------------------------%
# | SECTION 1: PROGRAM |
# %---------------------------------%
#
# Specify the location and name of the OpenSees interpreter program
# that will be created (if this all works!)
OpenSees_PROGRAM = $(HOME)/bin/OpenSees
OPERATING_SYSTEM = LINUX
GRAPHICS = NONE
GRAPHIC_FLAG = -D_NOGRAPHICS
PROGRAMMING_MODE = SEQUENTIAL
DEBUG_MODE = NO_DEBUG
RELIABILITY = NO_RELIABILITY
# %---------------------------------%
# | SECTION 2: PATHS |
# %---------------------------------%
#
# Note: if vendor supplied BLAS and LAPACK libraries or if you have
# any of the libraries already leave the directory location blank AND
# remove the directory from DIRS.
BASE = /usr/local
HOME = /home/reza
FE = $(HOME)/OpenSees/SRC
AMDdir = $(HOME)/OpenSees/OTHER/AMD
BLASdir = $(HOME)/OpenSees/OTHER/BLAS
CBLASdir = $(HOME)/OpenSees/OTHER/CBLAS
LAPACKdir = $(HOME)/OpenSees/OTHER/LAPACK
SUPERLUdir = $(HOME)/OpenSees/OTHER/SuperLU_4.1/SRC
ARPACKdir = $(HOME)/OpenSees/OTHER/ARPACK
UMFPACKdir = $(HOME)/OpenSees/OTHER/UMFPACK
METISdir = $(HOME)/OpenSees/OTHER/METIS
CSPARSEdir = $(HOME)/OpenSees/OTHER/CSPARSE
SRCdir = $(HOME)/OpenSees/SRC
DIRS = $(BLASdir) $(CBLASdir) $(LAPACKdir) $(AMDdir) $(CSPARSEdir) \
$(SUPERLUdir) $(ARPACKdir) $(UMFPACKdir) $(SRCdir) $(METISdir)
# %-------------------------------------------------------%
# | SECTION 3: LIBRARIES |
# | |
# | The following section defines the libraries that will |
# | be created and/or linked with when the libraries are |
# | being created or linked with. |
# %-------------------------------------------------------%
#
# Note: if vendor supplied BLAS and LAPACK libraries leave the
# libraries blank. You have to get your own copy of the tcl/tk
# library!!
#
# Note: For libraries that will be created (any in DIRS above)
# make sure the directory exsists where you want the library to go!
FE_LIBRARY = $(HOME)/lib/libOpenSees.a
NDARRAY_LIBRARY = $(HOME)/lib/libndarray.a # BJ_UCD jeremic@ucdavis.edu
MATMOD_LIBRARY = $(HOME)/lib/libmatmod.a # BJ_UCD jeremic@ucdavis.edu
BJMISC_LIBRARY = $(HOME)/lib/libBJmisc.a # BJ_UCD jeremic@ucdavis.edu
LAPACK_LIBRARY = $(HOME)/lib/libLapack.a
BLAS_LIBRARY = $(HOME)/lib/libBlas.a
SUPERLU_LIBRARY = $(HOME)/lib/libSuperLU.a
CBLAS_LIBRARY = $(HOME)/lib/libCBlas.a
ARPACK_LIBRARY = $(HOME)/lib/libArpack.a
AMD_LIBRARY = $(HOME)/lib/libAMD.a
UMFPACK_LIBRARY = $(HOME)/lib/libUmfpack.a
METIS_LIBRARY = $(HOME)/lib/libMetis.a
CSPARSE_LIBRARY = $(HOME)/lib/libCSparse.a
TCLdir=/opt/ActiveTcl-8.5
TCL_BIN=$(TCLdir)/bin
TCL_INC=-I$(TCLdir)/include
TCL_LIB=-L$(TCLdir)/lib -ltcl8.5 -ltk8.5
#TCL_LIBRARY = /usr/lib/libtcl8.5.so
TCL_LIBRARY = /usr/lib/x86_64-linux-gnu/libtcl8.5.so
BLITZ_LIBRARY = $(HOME)/blitz/lib/libblitz.a
GRAPHIC_LIBRARY =
# WATCH OUT .. These libraries are removed when 'make wipe' is invoked.
WIPE_LIBS = $(FE_LIBRARY) \
$(LAPACK_LIBRARY) \
$(BLAS_LIBRARY) \
$(CBLAS_LIBRARY) \
$(SUPERLU_LIBRARY) \
$(ARPACK_LIBRARY) \
$(UMFPACK_LIBRARY) \
$(CSPARSE_LIBRARY) \
$(METIS_LIBRARY)
# %---------------------------------------------------------%
# | SECTION 4: COMPILERS |
# | |
# | The following macros specify compilers, linker/loaders, |
# | the archiver, and their options. You need to make sure |
# | these are correct for your system. |
# %---------------------------------------------------------%
# Compilers
CC++ = /usr/bin/g++
CC = /usr/bin/gcc
FC = /usr/bin/gfortran
AR = ar
ARFLAGS = cqls
RANLIB = ranlib
RANLIBFLAGS =
# Compiler Flags
#
# NOTES:
# C++ FLAGS TAKE need _UNIX or _WIN32 for preprocessor dircetives
# - the _WIN32 for the Windows95/98 or NT operating system.
# C FLAGS used -DUSE_VENDOR_BLAS (needed in SuperLU) if UNIX in C++ FLAGS
#
# modified as optimizaton currently causing problems with Steeln01 code
ifeq ($(DEBUG_MODE), DEBUG)
C++FLAGS = -Wall -D_LINUX -D_UNIX -D_TCL85 \
$(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) $(PROGRAMMING_FLAG) \
-g -pg
CFLAGS = -Wall -pg $(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) $(PROGRAMMING_FLAG)
FFLAGS = -Wall
# Linker
LINKER = $(CC++)
LINKFLAGS = -g -pg
else
C++FLAGS = -Wall -D_LINUX -D_UNIX -D_TCL85 \
$(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) \
$(PROGRAMMING_FLAG) -O3 -ffloat-store
CFLAGS = -Wall -O2
FFLAGS = -Wall -O
# Linker
LINKER = $(CC++)
LINKFLAGS = -rdynamic
endif
# Misc
MAKE = make
CD = cd
ECHO = echo
RM = rm
RMFLAGS = -f
SHELL = /bin/sh
# %---------------------------------------------------------%
# | SECTION 5: COMPILATION |
# | |
# | The following macros specify the macros used in |
# | to compile the source code into object code. |
# %---------------------------------------------------------%
.SUFFIXES:
.SUFFIXES: .C .c .f .f90 .cpp .o .cpp
#
# %------------------%
# | Default command. |
# %------------------%
#
.DEFAULT:
@$(ECHO) "Unknown target $@, try: make help"
#
# %-------------------------------------------%
# | Command to build .o files from .f files. |
# %-------------------------------------------%
#
.cpp.o:
@$(ECHO) Making $@ from $<
$(CC++) $(C++FLAGS) $(INCLUDES) -c $< -o $@
.C.o:
@$(ECHO) Making $@ from $<
$(CC++) $(C++FLAGS) $(INCLUDES) -c $< -o $@
.c.o:
@$(ECHO) Making $@ from $<
$(CC) $(CFLAGS) -c $< -o $@
.f.o:
@$(ECHO) Making $@ from $<
$(FC) $(FFLAGS) -c $< -o $@
# %---------------------------------------------------------%
# | SECTION 6: OTHER LIBRARIES |
# | |
# | The following macros specify other libraries that must |
# | be linked with when creating executables. These are |
# | platform specific and typically order does matter!! |
# %---------------------------------------------------------%
MACHINE_LINKLIBS = -L$(BASE)/lib \
-L$(HOME)/lib
MACHINE_NUMERICAL_LIBS = -lm \
$(ARPACK_LIBRARY) \
$(SUPERLU_LIBRARY) \
$(UMFPACK_LIBRARY) $(CSPARSE_LIBRARY) \
$(LAPACK_LIBRARY) $(BLAS_LIBRARY) $(CBLAS_LIBRARY) \
$(AMD_LIBRARY) $(GRAPHIC_LIBRARY)\
-ldl -lgfortran
MACHINE_SPECIFIC_LIBS = -lifcore \
# %---------------------------------------------------------%
# | SECTION 7: INCLUDE FILES |
# | |
# | The following macros specify include files needed for |
# | compilation. |
# %---------------------------------------------------------%
MACHINE_INCLUDES = -I/usr/include \
-I$(BASE)/include \
-I/usr/include/cxx \
-I$(HOME)/include -I$(HOME)/blitz
# this file contains all the OpenSees/SRC includes
include $(FE)/Makefile.incl
#TCL_INCLUDES = -I/usr/includes/tcl-private/generic
TCL_INCLUDES = -I/usr/include/tcl8.5
INCLUDES = $(TCL_INCLUDES) $(FE_INCLUDES) $(MACHINE_INCLUDES)
#
# Program: OpenSees
#
# Purpose: A Top-level Makefile to create the libraries needed
# to use the OpenSees framework. Works on Linux version 6.1
# and below.
#
# Written: fmk
# Created: 10/99
#
# Send bug reports, comments or suggestions to fmckenna@ce.berkeley.edu
#
############################################################################
#
# https://help.ubuntu.com/community/EC2StartersGuide
## ssh to machine from your own:
#
# chmod 'go+rwx' XXX.pem
# ssh -i XXX.pem ubuntu@YYY.amazonaws.com
#
# Instructuction for building OpenSees on Ubuntu
# using amazon EC-2 instance ami-d0f89fb9 (running Ubunto 12.04) once logged in
# sudo in and type the following:
# sudo apt-get update
# sudo apt-get install subversion
# svn co svn://opensees.berkeley.edu/usr/local/svn/OpenSees/trunk OpenSees
# sudo apt-get install emacs
# sudo apt-get install make
# sudo apt-get install tcl8.5
# sudo apt-get install tcl8.5-dev
# sudo apt-get install gcc
# sudo apt-get install g++
# sudo apt-get install gfortran
# mkdir lib
# mkdir bin
# cd OpenSees
# cp ./MAKES/Makefile.def.EC2-UBUNTU ./Makefile.def
# make
# NOTE: if 64 bit the TCL dir is placed elsewhere; make will fail
# you need to uncomment out the correct line below TL_LIBS =
# TCL_LIBS should point to the following: /usr/lib/x86_64-linux/gnu/libtcl8.5.so
# you can always find it using the find command:
# find / -name libtcl8.5.so 2>/dev/null
# %---------------------------------%
# | SECTION 1: PROGRAM |
# %---------------------------------%
#
# Specify the location and name of the OpenSees interpreter program
# that will be created (if this all works!)
OpenSees_PROGRAM = $(HOME)/bin/OpenSees
OPERATING_SYSTEM = LINUX
GRAPHICS = NONE
GRAPHIC_FLAG = -D_NOGRAPHICS
PROGRAMMING_MODE = SEQUENTIAL
DEBUG_MODE = NO_DEBUG
RELIABILITY = NO_RELIABILITY
# %---------------------------------%
# | SECTION 2: PATHS |
# %---------------------------------%
#
# Note: if vendor supplied BLAS and LAPACK libraries or if you have
# any of the libraries already leave the directory location blank AND
# remove the directory from DIRS.
BASE = /usr/local
HOME = /home/reza
FE = $(HOME)/OpenSees/SRC
AMDdir = $(HOME)/OpenSees/OTHER/AMD
BLASdir = $(HOME)/OpenSees/OTHER/BLAS
CBLASdir = $(HOME)/OpenSees/OTHER/CBLAS
LAPACKdir = $(HOME)/OpenSees/OTHER/LAPACK
SUPERLUdir = $(HOME)/OpenSees/OTHER/SuperLU_4.1/SRC
ARPACKdir = $(HOME)/OpenSees/OTHER/ARPACK
UMFPACKdir = $(HOME)/OpenSees/OTHER/UMFPACK
METISdir = $(HOME)/OpenSees/OTHER/METIS
CSPARSEdir = $(HOME)/OpenSees/OTHER/CSPARSE
SRCdir = $(HOME)/OpenSees/SRC
DIRS = $(BLASdir) $(CBLASdir) $(LAPACKdir) $(AMDdir) $(CSPARSEdir) \
$(SUPERLUdir) $(ARPACKdir) $(UMFPACKdir) $(SRCdir) $(METISdir)
# %-------------------------------------------------------%
# | SECTION 3: LIBRARIES |
# | |
# | The following section defines the libraries that will |
# | be created and/or linked with when the libraries are |
# | being created or linked with. |
# %-------------------------------------------------------%
#
# Note: if vendor supplied BLAS and LAPACK libraries leave the
# libraries blank. You have to get your own copy of the tcl/tk
# library!!
#
# Note: For libraries that will be created (any in DIRS above)
# make sure the directory exsists where you want the library to go!
FE_LIBRARY = $(HOME)/lib/libOpenSees.a
NDARRAY_LIBRARY = $(HOME)/lib/libndarray.a # BJ_UCD jeremic@ucdavis.edu
MATMOD_LIBRARY = $(HOME)/lib/libmatmod.a # BJ_UCD jeremic@ucdavis.edu
BJMISC_LIBRARY = $(HOME)/lib/libBJmisc.a # BJ_UCD jeremic@ucdavis.edu
LAPACK_LIBRARY = $(HOME)/lib/libLapack.a
BLAS_LIBRARY = $(HOME)/lib/libBlas.a
SUPERLU_LIBRARY = $(HOME)/lib/libSuperLU.a
CBLAS_LIBRARY = $(HOME)/lib/libCBlas.a
ARPACK_LIBRARY = $(HOME)/lib/libArpack.a
AMD_LIBRARY = $(HOME)/lib/libAMD.a
UMFPACK_LIBRARY = $(HOME)/lib/libUmfpack.a
METIS_LIBRARY = $(HOME)/lib/libMetis.a
CSPARSE_LIBRARY = $(HOME)/lib/libCSparse.a
TCLdir=/opt/ActiveTcl-8.5
TCL_BIN=$(TCLdir)/bin
TCL_INC=-I$(TCLdir)/include
TCL_LIB=-L$(TCLdir)/lib -ltcl8.5 -ltk8.5
#TCL_LIBRARY = /usr/lib/libtcl8.5.so
TCL_LIBRARY = /usr/lib/x86_64-linux-gnu/libtcl8.5.so
BLITZ_LIBRARY = $(HOME)/blitz/lib/libblitz.a
GRAPHIC_LIBRARY =
# WATCH OUT .. These libraries are removed when 'make wipe' is invoked.
WIPE_LIBS = $(FE_LIBRARY) \
$(LAPACK_LIBRARY) \
$(BLAS_LIBRARY) \
$(CBLAS_LIBRARY) \
$(SUPERLU_LIBRARY) \
$(ARPACK_LIBRARY) \
$(UMFPACK_LIBRARY) \
$(CSPARSE_LIBRARY) \
$(METIS_LIBRARY)
# %---------------------------------------------------------%
# | SECTION 4: COMPILERS |
# | |
# | The following macros specify compilers, linker/loaders, |
# | the archiver, and their options. You need to make sure |
# | these are correct for your system. |
# %---------------------------------------------------------%
# Compilers
CC++ = /usr/bin/g++
CC = /usr/bin/gcc
FC = /usr/bin/gfortran
AR = ar
ARFLAGS = cqls
RANLIB = ranlib
RANLIBFLAGS =
# Compiler Flags
#
# NOTES:
# C++ FLAGS TAKE need _UNIX or _WIN32 for preprocessor dircetives
# - the _WIN32 for the Windows95/98 or NT operating system.
# C FLAGS used -DUSE_VENDOR_BLAS (needed in SuperLU) if UNIX in C++ FLAGS
#
# modified as optimizaton currently causing problems with Steeln01 code
ifeq ($(DEBUG_MODE), DEBUG)
C++FLAGS = -Wall -D_LINUX -D_UNIX -D_TCL85 \
$(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) $(PROGRAMMING_FLAG) \
-g -pg
CFLAGS = -Wall -pg $(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) $(PROGRAMMING_FLAG)
FFLAGS = -Wall
# Linker
LINKER = $(CC++)
LINKFLAGS = -g -pg
else
C++FLAGS = -Wall -D_LINUX -D_UNIX -D_TCL85 \
$(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) \
$(PROGRAMMING_FLAG) -O3 -ffloat-store
CFLAGS = -Wall -O2
FFLAGS = -Wall -O
# Linker
LINKER = $(CC++)
LINKFLAGS = -rdynamic
endif
# Misc
MAKE = make
CD = cd
ECHO = echo
RM = rm
RMFLAGS = -f
SHELL = /bin/sh
# %---------------------------------------------------------%
# | SECTION 5: COMPILATION |
# | |
# | The following macros specify the macros used in |
# | to compile the source code into object code. |
# %---------------------------------------------------------%
.SUFFIXES:
.SUFFIXES: .C .c .f .f90 .cpp .o .cpp
#
# %------------------%
# | Default command. |
# %------------------%
#
.DEFAULT:
@$(ECHO) "Unknown target $@, try: make help"
#
# %-------------------------------------------%
# | Command to build .o files from .f files. |
# %-------------------------------------------%
#
.cpp.o:
@$(ECHO) Making $@ from $<
$(CC++) $(C++FLAGS) $(INCLUDES) -c $< -o $@
.C.o:
@$(ECHO) Making $@ from $<
$(CC++) $(C++FLAGS) $(INCLUDES) -c $< -o $@
.c.o:
@$(ECHO) Making $@ from $<
$(CC) $(CFLAGS) -c $< -o $@
.f.o:
@$(ECHO) Making $@ from $<
$(FC) $(FFLAGS) -c $< -o $@
# %---------------------------------------------------------%
# | SECTION 6: OTHER LIBRARIES |
# | |
# | The following macros specify other libraries that must |
# | be linked with when creating executables. These are |
# | platform specific and typically order does matter!! |
# %---------------------------------------------------------%
MACHINE_LINKLIBS = -L$(BASE)/lib \
-L$(HOME)/lib
MACHINE_NUMERICAL_LIBS = -lm \
$(ARPACK_LIBRARY) \
$(SUPERLU_LIBRARY) \
$(UMFPACK_LIBRARY) $(CSPARSE_LIBRARY) \
$(LAPACK_LIBRARY) $(BLAS_LIBRARY) $(CBLAS_LIBRARY) \
$(AMD_LIBRARY) $(GRAPHIC_LIBRARY)\
-ldl -lgfortran
MACHINE_SPECIFIC_LIBS = -lifcore \
# %---------------------------------------------------------%
# | SECTION 7: INCLUDE FILES |
# | |
# | The following macros specify include files needed for |
# | compilation. |
# %---------------------------------------------------------%
MACHINE_INCLUDES = -I/usr/include \
-I$(BASE)/include \
-I/usr/include/cxx \
-I$(HOME)/include -I$(HOME)/blitz
# this file contains all the OpenSees/SRC includes
include $(FE)/Makefile.incl
#TCL_INCLUDES = -I/usr/includes/tcl-private/generic
TCL_INCLUDES = -I/usr/include/tcl8.5
INCLUDES = $(TCL_INCLUDES) $(FE_INCLUDES) $(MACHINE_INCLUDES)
Re: compiling error Ubuntu 14.04
try compiling just the library by cd'ing to the SRC directory and typing make from there
cd SRC
make
cd SRC
make
-
- Posts: 28
- Joined: Tue Mar 20, 2012 11:34 pm
- Location: Shiraz University
Re: compiling error Ubuntu 14.04
Dear Dr. McKenna,
I am facing this error now
make[2]: Entering directory `/home/reza/OpenSees/SRC/recorder/response'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/reza/OpenSees/SRC/recorder/response'
make[1]: Leaving directory `/home/reza/OpenSees/SRC/damage'
make[1]: Entering directory `/home/reza/OpenSees/SRC/api'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/reza/OpenSees/SRC/api'
ar: /home/reza/OpenSees/SRC/element/XMUelements/AC3D8HexWithSensitivity.o: No such file or directory
make: *** [all] Error 1
I am facing this error now
make[2]: Entering directory `/home/reza/OpenSees/SRC/recorder/response'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/reza/OpenSees/SRC/recorder/response'
make[1]: Leaving directory `/home/reza/OpenSees/SRC/damage'
make[1]: Entering directory `/home/reza/OpenSees/SRC/api'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/reza/OpenSees/SRC/api'
ar: /home/reza/OpenSees/SRC/element/XMUelements/AC3D8HexWithSensitivity.o: No such file or directory
make: *** [all] Error 1
-
- Posts: 28
- Joined: Tue Mar 20, 2012 11:34 pm
- Location: Shiraz University
Re: compiling error Ubuntu 14.04
after that I go to directory and /OpenSees/SRC/element/XMUelements/ and compile it by make command and it worked
the new error is posted in below.
Also when I am going to the certain directories and try to make them, I face the error again.
make[2]: Entering directory `/home/reza/OpenSees/SRC/recorder/response'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/reza/OpenSees/SRC/recorder/response'
make[1]: Leaving directory `/home/reza/OpenSees/SRC/damage'
make[1]: Entering directory `/home/reza/OpenSees/SRC/api'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/reza/OpenSees/SRC/api'
ar: /home/reza/OpenSees/SRC/material/uniaxial/BilinearOilDamper.o: No such file or directory
make: *** [all] Error 1
the new error is posted in below.
Also when I am going to the certain directories and try to make them, I face the error again.
make[2]: Entering directory `/home/reza/OpenSees/SRC/recorder/response'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/reza/OpenSees/SRC/recorder/response'
make[1]: Leaving directory `/home/reza/OpenSees/SRC/damage'
make[1]: Entering directory `/home/reza/OpenSees/SRC/api'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/reza/OpenSees/SRC/api'
ar: /home/reza/OpenSees/SRC/material/uniaxial/BilinearOilDamper.o: No such file or directory
make: *** [all] Error 1
Re: compiling error Ubuntu 14.04
i have updated the Makefiles in the repository .. it should work now
-
- Posts: 28
- Joined: Tue Mar 20, 2012 11:34 pm
- Location: Shiraz University
Re: compiling error Ubuntu 14.04
make[1]: Entering directory `/home/reza/OpenSees/SRC/tcl'
make[1]: Nothing to be done for `tcl'.
make[1]: Leaving directory `/home/reza/OpenSees/SRC/tcl'
make[1]: Entering directory `/home/reza/OpenSees/SRC/modelbuilder/tcl'
make[2]: Entering directory `/home/reza/OpenSees/SRC/tcl'
make[2]: Nothing to be done for `tcl'.
make[2]: Leaving directory `/home/reza/OpenSees/SRC/tcl'
g++: error: /usr/lib/libtcl8.5.so: No such file or directory
make[1]: *** [tcl] Error 1
make[1]: Leaving directory `/home/reza/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
It is still not working
make[1]: Nothing to be done for `tcl'.
make[1]: Leaving directory `/home/reza/OpenSees/SRC/tcl'
make[1]: Entering directory `/home/reza/OpenSees/SRC/modelbuilder/tcl'
make[2]: Entering directory `/home/reza/OpenSees/SRC/tcl'
make[2]: Nothing to be done for `tcl'.
make[2]: Leaving directory `/home/reza/OpenSees/SRC/tcl'
g++: error: /usr/lib/libtcl8.5.so: No such file or directory
make[1]: *** [tcl] Error 1
make[1]: Leaving directory `/home/reza/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
It is still not working
Re: compiling error Ubuntu 14.04
if you look at the error messgae you will see it cannot find the tcl library .. you need to either build it or replace the line in the Makefile.def with the installed one.
-
- Posts: 3
- Joined: Tue Nov 03, 2015 10:18 am
- Location: Imperial College London
Re: compiling error Ubuntu 14.04
Hi everyone,
I am trying to build the last version (2.4.6) on Ubuntu 14.04 and I have not been able to fix this problems,
make[3]: *** [DispBeamColumn2d.o] Error 1
make[3]: Leaving directory `/home/tango/OpenSees/SRC/element/dispBeamColumn'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/tango/OpenSees/SRC/element'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/tango/OpenSees/SRC'
make[1]: Entering directory `/home/tango/OpenSees/OTHER/METIS'
Makefile:5: warning: overriding commands for target `.c.o'
../../Makefile.def:241: warning: ignoring old commands for target `.c.o'
make[1]: Leaving directory `/home/tango/OpenSees/OTHER/METIS'
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
make[1]: Entering directory `/home/tango/OpenSees/SRC/tcl'
make[1]: Nothing to be done for `tcl'.
make[1]: Leaving directory `/home/tango/OpenSees/SRC/tcl'
make[1]: Entering directory `/home/tango/OpenSees/SRC/modelbuilder/tcl'
make[2]: Entering directory `/home/tango/OpenSees/SRC/tcl'
make[2]: Nothing to be done for `tcl'.
make[2]: Leaving directory `/home/tango/OpenSees/SRC/tcl'
g++: error: /home/tango/OpenSees/SRC/element/forceBeamColumn/TclForceBeamColumnCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/coordTransformation/TclGeomTransfCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/updatedLagrangianBeamColumn/TclElement2dYS.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/updatedLagrangianBeamColumn/TclElement2dGNL.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/updatedLagrangianBeamColumn/TclCyclicModelCommands.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/damage/TclModelBuilderDamageModelCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/dispBeamColumnInt/TclDispBeamColumnIntCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/elasticBeamColumn/TclElasticBeamCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/adapter/TclActuatorCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/adapter/TclActuatorCorotCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/adapter/TclAdapterCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/generic/TclGenericClientCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/generic/TclGenericCopyCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/elastomericBearing/TclElastomericBearingBoucWenCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/frictionBearing/frictionModel/TclModelBuilderFrictionModelCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/twoNodeLink/TclTwoNodeLinkCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/frictionBearing/TclRJWatsonEQSCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/frictionBearing/TclFlatSliderCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/elastomericBearing/TclElastomericBearingPlasticityCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/elastomericBearing/TclElastomericBearingUFRPCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/frictionBearing/TclSingleFPCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/api/elementAPI_TCL.o: No such file or directory
g++: error: /home/tango/lib/libOpenSees.a: No such file or directory
make[1]: *** [tcl] Error 1
make[1]: Leaving directory `/home/tango/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
I run the make tcl inside the folders (SRC/tcl and SRC/Modelbuilder) and I am getting the same errors. I am using the last version of the makefile.def for Ubuntu EC2 from the makes folder.
Thank you in advance for your help!
m
I am trying to build the last version (2.4.6) on Ubuntu 14.04 and I have not been able to fix this problems,
make[3]: *** [DispBeamColumn2d.o] Error 1
make[3]: Leaving directory `/home/tango/OpenSees/SRC/element/dispBeamColumn'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/tango/OpenSees/SRC/element'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/tango/OpenSees/SRC'
make[1]: Entering directory `/home/tango/OpenSees/OTHER/METIS'
Makefile:5: warning: overriding commands for target `.c.o'
../../Makefile.def:241: warning: ignoring old commands for target `.c.o'
make[1]: Leaving directory `/home/tango/OpenSees/OTHER/METIS'
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
make[1]: Entering directory `/home/tango/OpenSees/SRC/tcl'
make[1]: Nothing to be done for `tcl'.
make[1]: Leaving directory `/home/tango/OpenSees/SRC/tcl'
make[1]: Entering directory `/home/tango/OpenSees/SRC/modelbuilder/tcl'
make[2]: Entering directory `/home/tango/OpenSees/SRC/tcl'
make[2]: Nothing to be done for `tcl'.
make[2]: Leaving directory `/home/tango/OpenSees/SRC/tcl'
g++: error: /home/tango/OpenSees/SRC/element/forceBeamColumn/TclForceBeamColumnCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/coordTransformation/TclGeomTransfCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/updatedLagrangianBeamColumn/TclElement2dYS.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/updatedLagrangianBeamColumn/TclElement2dGNL.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/updatedLagrangianBeamColumn/TclCyclicModelCommands.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/damage/TclModelBuilderDamageModelCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/dispBeamColumnInt/TclDispBeamColumnIntCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/elasticBeamColumn/TclElasticBeamCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/adapter/TclActuatorCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/adapter/TclActuatorCorotCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/adapter/TclAdapterCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/generic/TclGenericClientCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/generic/TclGenericCopyCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/elastomericBearing/TclElastomericBearingBoucWenCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/frictionBearing/frictionModel/TclModelBuilderFrictionModelCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/twoNodeLink/TclTwoNodeLinkCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/frictionBearing/TclRJWatsonEQSCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/frictionBearing/TclFlatSliderCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/elastomericBearing/TclElastomericBearingPlasticityCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/elastomericBearing/TclElastomericBearingUFRPCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/element/frictionBearing/TclSingleFPCommand.o: No such file or directory
g++: error: /home/tango/OpenSees/SRC/api/elementAPI_TCL.o: No such file or directory
g++: error: /home/tango/lib/libOpenSees.a: No such file or directory
make[1]: *** [tcl] Error 1
make[1]: Leaving directory `/home/tango/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
I run the make tcl inside the folders (SRC/tcl and SRC/Modelbuilder) and I am getting the same errors. I am using the last version of the makefile.def for Ubuntu EC2 from the makes folder.
Thank you in advance for your help!
m
Re: compiling error Ubuntu 14.04
we have updated the files .. can you use svn to update and try compiling again.
-
- Posts: 3
- Joined: Tue Nov 03, 2015 10:18 am
- Location: Imperial College London
Re: compiling error Ubuntu 14.04
Fixed! - Thank you fmk, always diligent!
Re: compiling error Ubuntu 14.04
In this particular case, it has nothing to do with dependencies, it's a memory problem.
I had this problem within a virtualbox VM. My solution was to increase memory allocated to the VM from the default 512Mb to 1024Mb.
I had this problem within a virtualbox VM. My solution was to increase memory allocated to the VM from the default 512Mb to 1024Mb.