Compilation error Mac OS X 10.6.8 with "make" in fem dir

Discussion about building and installing Elmer
Post Reply
michelle
Posts: 6
Joined: 12 Mar 2013, 02:42
Antispam: Yes

Compilation error Mac OS X 10.6.8 with "make" in fem dir

Post by michelle »

I am compiling Elmer on my Mac Pro OS X 10.6.8 (Snow Leopard) and I get the below error when trying to run "make" in the /fem directory. The compilation was successful up to this point. Has anyone experienced this error and solved this problem? Thank you for the help.


make all-recursive
Making all in src
Making all in view3d
make[3]: Nothing to be done for `all'.
Making all in viewaxis
make[3]: Nothing to be done for `all'.
Making all in binio
Making all in test
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all-am'.
Making all in .
rm -f libelmersolver.dylib
g++ -dynamiclib -undefined dynamic_lookup -single_module -L. -L/opt/lib/ -L/opt/X11/lib -lfreetype -lz -lbz2 -L/sw/lib -L/Users/michellekoutnik/elmer/lib -L. -L/opt/lib/ -L/opt/X11/lib -lfreetype -lz -lbz2 -L/sw/lib -L/Users/michellekoutnik/elmer/lib -Wl,-install_name,libelmersolver-7.0.dylib -o libelmersolver-7.0.dylib NavierStokes.o NavierStokesGeneral.o NavierStokesCylindrical.o Lists.o DiffuseConvectiveAnisotropic.o DiffuseConvectiveGeneralAnisotropic.o PElementMaps.o PElementBase.o ElementDescription.o Integration.o ModelDescription.o GeneralUtils.o Stress.o StressGeneral.o LinearAlgebra.o CoordinateSystems.o ListMatrix.o CRSMatrix.o BandMatrix.o BandwidthOptimize.o BlockSolve.o MaterialModels.o DirectSolve.o IterSolve.o IterativeMethods.o TimeIntegrate.o Types.o SolveBand.o ElementUtils.o Radiation.o fft.o Load.o Differentials.o FreeSurface.o Maxwell.o MaxwellAxiS.o MaxwellGeneral.o Walls.o SolverUtils.o SolveSBand.o CPUTime.o Interpolation.o MainUtils.o Adaptive.o EigenSolve.o HashTable.o MeshUtils.o SParIterGlobals.o SParIterComm.o SParIterPrecond.o SParIterSolver.o Messages.o Multigrid.o Smoothers.o ClusteringMethods.o ParallelUtils.o ParallelEigenSolve.o solve_cmplx.o solve_real.o MGPrec.o DefUtils.o LUDecomposition.o RadiationFactors.o f_stubs.o ExchangeCorrelations.o SolveHypre.o SolveTrilinos.o SolveSuperLU.o iso_varying_string.o umf4_f77wrapper.o VankaCreate.o ParticleUtils.o Feti.o cholmod.o InterpolateMeshToMesh.o ElmerSolver.o -L. -ldl -L/opt/X11/lib/ -lGL -lGLU -lX11 -L/Users/michellekoutnik/elmer/lib -lm -larpack -lumfpack -lamd -lhuti -lmatc -leiof -L. -ldl -L/opt/X11/lib/ -lGL -lGLU -lX11 -L/Users/michellekoutnik/elmer/lib -lm -llapack -lblas -L/opt/lib/ -L/opt/X11/lib -L/sw/lib -L/opt/X11/lib/ -L/opt/local/lib/gcc47/gcc/x86_64-apple-darwin10/4.7.2 -L/opt/local/lib/gcc47/gcc/x86_64-apple-darwin10/4.7.2/../../.. -lfreetype -lz -lbz2 -lGL -lGLU -lX11 -lgfortran -lquadmath -lm -L/opt/lib/ -L/opt/X11/lib -L/sw/lib -L/opt/X11/lib/ -L/opt/local/lib/gcc47/gcc/x86_64-apple-darwin10/4.7.2 -L/opt/local/lib/gcc47/gcc/x86_64-apple-darwin10/4.7.2/../../.. -lfreetype -lz -lbz2 -lGL -lGLU -lX11 -lgfortran -lquadmath -lm -L. -Lbinio -lbinio
ln -s libelmersolver-7.0.dylib libelmersolver.dylib
gfortran-mp-4.7 -L. -L/opt/lib/ -L/opt/X11/lib -lfreetype -lz -lbz2 -L/sw/lib -L/Users/michellekoutnik/elmer/lib \
-o ElmerSolver Solver.o mpi_stubs.o \
-L. -lelmersolver -L/opt/lib/ -L/opt/X11/lib -L/sw/lib -L/opt/X11/lib/ -L/opt/local/lib/gcc47/gcc/x86_64-apple-darwin10/4.7.2 -L/opt/local/lib/gcc47/gcc/x86_64-apple-darwin10/4.7.2/../../.. -lfreetype -lz -lbz2 -lGL -lGLU -lX11 -lgfortran -lquadmath -lm
ld: warning: directory not found for option '-L/sw/lib'
ld: warning: directory not found for option '-L/sw/lib'
gfortran-mp-4.7 -L. -L/opt/lib/ -L/opt/X11/lib -lfreetype -lz -lbz2 -L/sw/lib -L/Users/michellekoutnik/elmer/lib \
-o ViewFactors ViewFactors.o mpi_stubs.o \
-L. -lelmersolver viewaxis/libviewaxis.a view3d/libview3d.a -L/opt/lib/ -L/opt/X11/lib -L/sw/lib -L/opt/X11/lib/ -L/opt/local/lib/gcc47/gcc/x86_64-apple-darwin10/4.7.2 -L/opt/local/lib/gcc47/gcc/x86_64-apple-darwin10/4.7.2/../../.. -lfreetype -lz -lbz2 -lGL -lGLU -lX11 -lgfortran -lquadmath -lm -lblas
ld: warning: directory not found for option '-L/sw/lib'
ld: warning: directory not found for option '-L/sw/lib'
Undefined symbols for architecture x86_64:
"___gxx_personality_v0", referenced from:
Dwarf Exception Unwind Info (__eh_frame) in libviewaxis.a(viewfact.o)
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[3]: *** [ViewFactors] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Post Reply