CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Building OF 1.6 - CentOS 4.x (http://www.cfd-online.com/Forums/openfoam/72302-building-1-6-centos-4-x.html)

Pytthon February 1, 2010 22:54

Building OF 1.6 - CentOS 4.x
 
After running Allwmake I received this kind of error (using GMP 4.3.2, MPFR 2.4.2, GCC 4.4.3, Cluster with ROCKS distribution, x64 architecture)
collect2: ld returned 1 exit status
make[2]: *** [/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/adiabaticFlameT] Error 1
make[2]: Leaving directory `/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/utilities/thermophysical/adiabaticFlameT'
make[1]: *** [adiabaticFlameT] Error 2
make[2]: Entering directory `/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/utilities/thermophysical/chemkinToFoam'
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/thermophysicalModels/specie/lnInclude -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/thermophysicalModels/reactionThermo/lnInclude -IlnInclude -I. -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC Make/linux64GccDPOpt/chemkinToFoam.o -L/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt \
-lreactionThermophysicalModels -lbasicThermophysicalModels -lspecie -lOpenFOAM -liberty -ldl -lm -o /home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/chemkinToFoam
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<long>(long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<unsigned long>(unsigned long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<double>(double&)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<float>(float&)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<long long>(long long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<double>(double)@GLIBCXX_3.4.9'
collect2: ld returned 1 exit status
make[2]: *** [/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/chemkinToFoam] Error 1
make[2]: Leaving directory `/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/utilities/thermophysical/chemkinToFoam'
make[1]: *** [chemkinToFoam] Error 2
make[2]: Entering directory `/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/utilities/thermophysical/equilibriumCO'
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/thermophysicalModels/specie/lnInclude -IlnInclude -I. -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC Make/linux64GccDPOpt/equilibriumCO.o -L/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt \
-lspecie -lOpenFOAM -liberty -ldl -lm -o /home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/equilibriumCO
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<long>(long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<unsigned long>(unsigned long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<double>(double&)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<float>(float&)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<long long>(long long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<double>(double)@GLIBCXX_3.4.9'
collect2: ld returned 1 exit status
make[2]: *** [/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/equilibriumCO] Error 1
make[2]: Leaving directory `/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/utilities/thermophysical/equilibriumCO'
make[1]: *** [equilibriumCO] Error 2
make[2]: Entering directory `/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/utilities/thermophysical/equilibriumFlameT'
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/thermophysicalModels/specie/lnInclude -IlnInclude -I. -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC Make/linux64GccDPOpt/equilibriumFlameT.o -L/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt \
-lspecie -lOpenFOAM -liberty -ldl -lm -o /home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/equilibriumFlameT
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<long>(long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<unsigned long>(unsigned long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<double>(double&)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<float>(float&)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<long long>(long long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<double>(double)@GLIBCXX_3.4.9'
collect2: ld returned 1 exit status
make[2]: *** [/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/equilibriumFlameT] Error 1
make[2]: Leaving directory `/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/utilities/thermophysical/equilibriumFlameT'
make[1]: *** [equilibriumFlameT] Error 2
make[2]: Entering directory `/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/utilities/thermophysical/mixtureAdiabaticFlameT'
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/thermophysicalModels/specie/lnInclude -IlnInclude -I. -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC Make/linux64GccDPOpt/mixtureAdiabaticFlameT.o -L/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt \
-lspecie -lOpenFOAM -liberty -ldl -lm -o /home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/mixtureAdiabaticFlameT
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<long>(long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<unsigned long>(unsigned long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<double>(double&)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<float>(float&)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<long long>(long long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<double>(double)@GLIBCXX_3.4.9'
collect2: ld returned 1 exit status
make[2]: *** [/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/mixtureAdiabaticFlameT] Error 1
make[2]: Leaving directory `/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/utilities/thermophysical/mixtureAdiabaticFlameT'
make[1]: *** [mixtureAdiabaticFlameT] Error 2
make[1]: Target `application' not remade because of errors.
make[1]: Leaving directory `/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/utilities/thermophysical'
make: *** [thermophysical] Error 2
make: Target `application' not remade because of errors.
+ '[' '' = doc ']'.

Any clue or idea of what is happening? Suggestions? Configurations? Thanks.

bigphil February 2, 2010 12:05

Hi,


I am not sure what your specific errors are, but are you sure there are no earlier errors?

If you 'Allwmake > logAllwmake 2>&1 &' in the '$WM_PROJECT_DIR' directory, you could post the logAllwmake here and it might give a clue to the problem.


Philip C


All times are GMT -4. The time now is 08:00.