CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   OF on Altix Itanium2 machine (https://www.cfd-online.com/Forums/openfoam-installation/57458-altix-itanium2-machine.html)

skabilan December 14, 2007 05:04

Hi All, I have built gcc-4.
 
Hi All,

I have built gcc-4.2.1 using the following commands:

./configure --prefix=$HOME/OpenFOAM/$WM_ARCH/gcc-4.2.1 --disable-checking --disable-libmudflap --host=ia64-redhat-linux

make

make install


I get error messages of the following type when I use Allwmake in /OpenFOAM/OpenFOAM-1.4.1 directory

/home/skabilan/OpenFOAM/linuxIA64/gcc-4.2.1/include/c++/4.2.1/cmath(464): error: expected a "{"
_GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
^

/home/skabilan/OpenFOAM/linuxIA64/gcc-4.2.1/include/c++/4.2.1/cmath(535): error: expected a "{"
_GLIBCXX_BEGIN_NAMESPACE(std)
^

/home/skabilan/OpenFOAM/linuxIA64/gcc-4.2.1/include/c++/4.2.1/bits/cmath.tcc(39) : error: expected a "{"
_GLIBCXX_BEGIN_NAMESPACE(std)
^

/home/skabilan/OpenFOAM/linuxIA64/gcc-4.2.1/include/c++/4.2.1/sstream(47): error: expected a "{"
_GLIBCXX_BEGIN_NAMESPACE(std)
^

/home/skabilan/OpenFOAM/linuxIA64/gcc-4.2.1/include/c++/4.2.1/bits/sstream.tcc(4 7): error: expected a "{"
_GLIBCXX_BEGIN_NAMESPACE(std)
^

/home/skabilan/OpenFOAM/linuxIA64/gcc-4.2.1/include/c++/4.2.1/ia64-redhat-linux/ bits/gthr-default.h(92): error: function "__gthrw_pthread_once" was referenced but not defined
__gthrw(pthread_once)
^

/home/skabilan/OpenFOAM/linuxIA64/gcc-4.2.1/include/c++/4.2.1/ia64-redhat-linux/ bits/gthr-default.h(93): error: function "__gthrw_pthread_getspecific" was referenced but not defined
__gthrw(pthread_getspecific)
^

/home/skabilan/OpenFOAM/linuxIA64/gcc-4.2.1/include/c++/4.2.1/ia64-redhat-linux/ bits/gthr-default.h(94): error: function "__gthrw_pthread_setspecific" was referenced but not defined
__gthrw(pthread_setspecific)
^

/home/skabilan/OpenFOAM/linuxIA64/gcc-4.2.1/include/c++/4.2.1/ia64-redhat-linux/ bits/gthr-default.h(96): error: function "__gthrw_pthread_cancel" was referenced but not defined
__gthrw(pthread_cancel)
^

/home/skabilan/OpenFOAM/linuxIA64/gcc-4.2.1/include/c++/4.2.1/ia64-redhat-linux/ bits/gthr-default.h(97): error: function "__gthrw_pthread_mutex_lock" was referenced but not defined
__gthrw(pthread_mutex_lock)
^

/home/skabilan/OpenFOAM/linuxIA64/gcc-4.2.1/include/c++/4.2.1/ia64-redhat-linux/ bits/gthr-default.h(98): error: function "__gthrw_pthread_mutex_trylock" was referenced but not defined
__gthrw(pthread_mutex_trylock)
^

/home/skabilan/OpenFOAM/linuxIA64/gcc-4.2.1/include/c++/4.2.1/ia64-redhat-linux/ bits/gthr-default.h(99): error: function "__gthrw_pthread_mutex_unlock" was referenced but not defined
__gthrw(pthread_mutex_unlock)
^

/home/skabilan/OpenFOAM/linuxIA64/gcc-4.2.1/include/c++/4.2.1/ia64-redhat-linux/ bits/gthr-default.h(103): error: function "__gthrw_pthread_key_create" was referenced but not defined
__gthrw(pthread_key_create)


Thanks in advance for your help!


All times are GMT -4. The time now is 18:06.