CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

OpenFoam-1.7.x on Suse 11.2 (64bit) does not compile

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   August 26, 2010, 02:25
Default OpenFoam-1.7.x on Suse 11.2 (64bit) does not compile
  #1
Member
 
Join Date: Nov 2009
Location: Germany
Posts: 96
Rep Power: 16
val46 is on a distinguished road
Hi,

I'm working with OF1.7.0 on Suse 11.2 (64bit) without any problems.
Now I'm trying to make OF1.7.x work but without success.

gcc : 4.4.4 (foamInstallationcheck says 4.4.1)
qt: 4.5.3
cmake: 2.6.4
flex: 2.5.35
bison: 2.4.1



This is a small part of the error message:

Code:
tream&, Foam::triSurface const&)'                                                                                           
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::write(Foam::Ostream&) const'                                                                                                       
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::triSurface const&)'                                                                                               
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::DimensionedField<Foam::SymmTensor<double>, Foam::triSurfaceGeoMesh>::typeName'                                                                 
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::DimensionedField<Foam::SphericalTensor<double>, Foam::triSurfaceGeoMesh>::typeName'                                                            
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::List<Foam::labelledTri> const&, Foam::Field<Foam::Vector<double> > const&)'                                       
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::List<Foam::labelledTri>&, Foam::List<Foam::geometricSurfacePatch> const&, Foam::Field<Foam::Vector<double> >&, bool)'                                                                                                                         
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::write(Foam::fileName const&, bool) const'                                                                                          
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::decompositionMethod::New(Foam::dictionary const&)'                                                                                             
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::scalePoints(double const&)'                                                                                                        
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::IPstream::waitRequests()'                                                                                                                      
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::DimensionedField<Foam::Tensor<double>, Foam::triSurfaceGeoMesh>::typeName'                                                                     
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `Foam::Pstream::abort()'   
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::movePoints(Foam::Field<Foam::Vector<double> > const&)'                                                                             
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::IPstream::read(Foam::Pstream::commsTypes, int, char*, long)'                                                                                   
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::subsetMesh(Foam::List<bool> const&, Foam::List<int>&, Foam::List<int>&) const'                                                     
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::faceTriangulation::faceTriangulation(Foam::Field<Foam::Vector<double> > const&, Foam::face const&, Foam::Vector<double> const&, bool)'         
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::Particle<Foam::passiveParticle>::typeName'                                                                                                     
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::reduce(double&, Foam::sumOp<double> const&)'                                                                                                   
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::~triSurface()'                                                                                                                     
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::~triSurface()'                                                                                                                     
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::markZones(Foam::List<bool> const&, Foam::List<int>&) const'                                                                        
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::operator=(Foam::triSurface const&)'                                                                                                
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::edgeOwner() const'                                                                                                                 
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface()'                                                                                                                      
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::List<Foam::labelledTri> const&, Foam::List<Foam::geometricSurfacePatch> const&, Foam::Field<Foam::Vector<double> > const&)'                                                                                                                   
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `Foam::Pstream::init(int&, char**&)'                                                                                                                   
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::triSurface(Foam::triSurface const&)'                                                                                               
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::decompositionMethod::typeName'                                                                                                                 
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libmeshTools.so: undefined reference to `Foam::triSurface::clearOut()'                                                                                                                        
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `Foam::Pstream::addValidParOptions(Foam::HashTable<Foam::string, Foam::word, Foam::string::hash>&)'                                                    
collect2: ld returned 1 exit status                                                                                         
make[2]: *** [/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/applications/bin/linux64GccDPOpt/IFCLookUpTableGen] Fehler 1            
make[2]: Leaving directory `/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/applications/utilities/thermophysical/IFCLookUpTableGen'  
make[1]: *** [IFCLookUpTableGen] Fehler 2                                                                                   
make[2]: Entering directory `/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/applications/utilities/thermophysical/mixtureAdiabaticFlameT'                                                                                                                        
Making dependency list for source file mixtureAdiabaticFlameT.C                                                             
make[2]: Leaving directory `/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/applications/utilities/thermophysical/mixtureAdiabaticFlameT'                                                                                                                         
make[2]: Entering directory `/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/applications/utilities/thermophysical/mixtureAdiabaticFlameT'                                                                                                                        
SOURCE=mixtureAdiabaticFlameT.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-40 -I/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/src/thermophysicalModels/specie/lnInclude -IlnInclude -I. -I/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude -I/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/mixtureAdiabaticFlameT.o                       
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-40 -I/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/src/thermophysicalModels/specie/lnInclude -IlnInclude -I. -I/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude -I/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/src/OSspecific/POSIX/lnInclude   -fPIC Make/linux64GccDPOpt/mixtureAdiabaticFlameT.o -L/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt \          
             -lspecie -lOpenFOAM -liberty -ldl   -lm -o /home/kressnt/OpenFOAM/OpenFOAM-1.7.x/applications/bin/linux64GccDPOpt/mixtureAdiabaticFlameT                                                                                                   
/usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../x86_64-suse-linux/bin/ld: warning: libPstream.so, needed by /home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so, not found (try using -rpath or -rpath-link)                      
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `vtable for Foam::OPstream'
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `Foam::OPstream::waitRequests()'                                                                                                                       
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `Foam::OPstream::~OPstream()'                                                                                                                          
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `Foam::IPstream::IPstream(Foam::Pstream::commsTypes, int, int, Foam::IOstream::streamFormat, Foam::IOstream::versionNumber)'                           
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `Foam::Pstream::exit(int)' 
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `Foam::OPstream::write(Foam::Pstream::commsTypes, int, char const*, long)'                                                                             
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `Foam::IPstream::waitRequests()'                                                                                                                       
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `Foam::Pstream::abort()'   
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `Foam::IPstream::read(Foam::Pstream::commsTypes, int, char*, long)'                                                                                    
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `Foam::reduce(double&, Foam::sumOp<double> const&)'                                                                                                    
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `Foam::Pstream::init(int&, char**&)'                                                                                                                   
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `Foam::Pstream::addValidParOptions(Foam::HashTable<Foam::string, Foam::word, Foam::string::hash>&)'                                                    
collect2: ld returned 1 exit status                                                                                         
make[2]: *** [/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/applications/bin/linux64GccDPOpt/mixtureAdiabaticFlameT] Fehler 1       
make[2]: Leaving directory `/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/applications/utilities/thermophysical/mixtureAdiabaticFlameT'                                                                                                                         
make[1]: *** [mixtureAdiabaticFlameT] Fehler 2                                                                              
make[1]: Das Target »application« wurde wegen Fehlern nicht aktualisiert.                                                   
make[1]: Leaving directory `/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/applications/utilities/thermophysical'                    
make: *** [thermophysical] Fehler 2                                                                                         
make: Das Target »application« wurde wegen Fehlern nicht aktualisiert.
Any experience with that?

Regards,
Toni



EDIT:

These are the first lines when I type in "wmake all solvers" in the applications folder:

Code:
kressnt@chml1005:~/OpenFOAM/OpenFOAM-1.7.x/applications> wmake all solvers
make[1]: Entering directory `/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/applications/solvers/basic'
make[2]: Entering directory `/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/applications/solvers/basic/laplacianFoam'
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-40 -I/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude -I/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/src/OSspecific/POSIX/lnInclude   -fPIC Make/linux64GccDPOpt/laplacianFoam.o -L/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt \                                  
             -lfiniteVolume -lOpenFOAM -liberty -ldl   -lm -o /home/kressnt/OpenFOAM/OpenFOAM-1.7.x/applications/bin/linux64GccDPOpt/laplacianFoam                                                                                                      
/usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../x86_64-suse-linux/bin/ld: warning: libtriSurface.so, needed by /home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libfiniteVolume.so, not found (try using -rpath or -rpath-link)               
/usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../x86_64-suse-linux/bin/ld: warning: libmeshTools.so, needed by /home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libfiniteVolume.so, not found (try using -rpath or -rpath-link)                
/usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../x86_64-suse-linux/bin/ld: warning: libPstream.so, needed by /home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libOpenFOAM.so, not found (try using -rpath or -rpath-link)                      
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libfiniteVolume.so: undefined reference to `Foam::operator<<(Foam::Ostream&, Foam::wallPoint const&)'                                                                                         
/home/kressnt/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libfiniteVolume.so: undefined reference to `Foam::cellDistFuncs::cellDistFuncs(Foam::polyMesh const&)'
val46 is offline   Reply With Quote

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM 1.6.x, 1.7.0 and 1.7.x are not fully prepared to work with gcc-4.5.x wyldckat OpenFOAM Bugs 18 October 21, 2010 05:51
OpenFOAM Live USB based on openSUSE 11.1 created with SUSE Studio alberto OpenFOAM 40 May 23, 2010 16:15
OpenFOAM install on Suse 11.1 and 11.2 mkt OpenFOAM Installation 5 October 14, 2009 02:20
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 21:51
Compile new solver under SuSE 64bit OS hsieh OpenFOAM Running, Solving & CFD 3 September 8, 2005 11:56


All times are GMT -4. The time now is 04:25.