CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Building error of 15dev for OpenSUSE 111 on AMD64 machine (http://www.cfd-online.com/Forums/openfoam-installation/57228-building-error-15dev-opensuse-111-amd64-machine.html)

waynezw0618 February 18, 2009 11:05

Hi everyone i am trying to
 
Hi everyone
i am trying to install the OF1.5-dev on a AMD64 machine(OS is OpenSUSE 11.1),but it can not correctly ,with error nessages below, it seems losing the Head files but i can find this Headers..how cani resolve it?

error messages:
+ cd .
+ cd wmake/src
+ make
make: Nothing to be done for `all'.
+ cd src
+ ./Allwmake
+ cd OpenFOAM
+ wmakeLnInclude .
+ cd Pstream
+ ./Allwmake
+ wmake libso dummy
SOURCE=Pstream.C ; g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -IlnInclude -I. -I/root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude -I/root/OpenFOAM/OpenFOAM-1.5-dev/src/OSspecific/Unix/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/Pstream.o
SOURCE=IPread.C ; g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -IlnInclude -I. -I/root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude -I/root/OpenFOAM/OpenFOAM-1.5-dev/src/OSspecific/Unix/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/IPread.o
In file included from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/include-fixed/syslimits.h:7,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/include-fixed/limits.h:11,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/climits:48,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/label.H:38,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/labelList.H:36,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/Pstream.H:45,
from Pstream.C:27:
/root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/include-fixed/limits.h:122:61: error: limits.h: 没有那个文件或目录
In file included from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/x86_64-unknown-linux-gnu/bits/ os_defines.h:44,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/x86_64-unknown-linux-gnu/bits/ c++config.h:40,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/cstdlib:48,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/label.H:39,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/labelList.H:36,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/Pstream.H:45,
from Pstream.C:27:
/root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/include-fixed/features.h:331:25: error: sys/cdefs.h: 没有那个文件或目录
/root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/include-fixed/features.h:354:23: error: gnu/stubs.h: 没有那个文件或目录
In file included from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/label.H:39,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/labelList.H:36,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/Pstream.H:45,
from Pstream.C:27:
/root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/cstdlib:73:25: error: stdlib.h: 没有那个文件或目录
In file included from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/postypes.h:47,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/char_traits.h:47,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/string:47,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/string.H:51,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/word.H:44,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/int.H:40,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/label.H:55,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/labelList.H:36,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/Pstream.H:45,
from Pstream.C:27:
/root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/cwchar:52:24: error: wchar.h: 没有那个文件或目录
In file included from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/char_traits.h:47,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/string:47,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/string.H:51,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/word.H:44,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/int.H:40,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/label.H:55,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/labelList.H:36,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/Pstream.H:45,
from Pstream.C:27:
/root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/postypes.h:50:35: error: stdint.h: 没有那个文件或目录
In file included from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/char_traits.h:48,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/string:47,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/string.H:51,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/word.H:44,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/int.H:40,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/label.H:55,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/labelList.H:36,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/Pstream.H:45,
from Pstream.C:27:
/root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/cstdio:50:24: error: stdio.h: 没有那个文件或目录
In file included from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/x86_64-unknown-linux-gnu/bits/ c++locale.h:47,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/localefwd.h:47,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/string:50,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/string.H:51,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/word.H:44,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/int.H:40,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/label.H:55,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/labelList.H:36,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/Pstream.H:45,
from Pstream.C:27:
/root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/clocale:48:25: error: locale.h: 没有那个文件或目录
In file included from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/localefwd.h:49,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/string:50,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/string.H:51,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/word.H:44,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/int.H:40,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/label.H:55,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/labelList.H:36,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/Pstream.H:45,
from Pstream.C:27:
/root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/cctype:49:24: error: ctype.h: 没有那个文件或目录
In file included from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/x86_64-unknown-linux-gnu/bits/ os_defines.h:44,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/x86_64-unknown-linux-gnu/bits/ c++config.h:40,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/string:45,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/string.H:51,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/messageStream.H:50,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/error.H:52,
from IPread.C:30:
/root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/include-fixed/features.h:331:25: error: sys/cdefs.h: 没有那个文件或目录
/root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/include-fixed/features.h:354:23: error: gnu/stubs.h: 没有那个文件或目录
In file included from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/postypes.h:47,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/char_traits.h:47,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/string:47,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/string.H:51,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/messageStream.H:50,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/error.H:52,
from IPread.C:30:
/root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/cwchar:52:24: error: wchar.h: 没有那个文件或目录
In file included from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/char_traits.h:47,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/string:47,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/string.H:51,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/messageStream.H:50,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/error.H:52,
from IPread.C:30:
/root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/postypes.h:50:35: error: stdint.h: 没有那个文件或目录
In file included from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/char_traits.h:48,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/string:47,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/string.H:51,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/messageStream.H:50,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/error.H:52,
from IPread.C:30:
/root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/cstdio:50:24: error: stdio.h: 没有那个文件或目录
In file included from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/x86_64-unknown-linux-gnu/bits/ gthr.h:132,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/ext/atomicity.h:39,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/basic_string.h:46,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/string:58,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/string.H:51,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/word.H:44,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/int.H:40,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/label.H:55,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/labelList.H:36,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/Pstream.H:45,
from Pstream.C:27:
/root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/x86_64-unknown-linux-gnu/bits/ gthr-default.h:43:21: error: pthread.h: 没有那个文件或目录
/root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/x86_64-unknown-linux-gnu/bits/ gthr-default.h:44:20: error: unistd.h: 没有那个文件或目录
In file included from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/string.H:52,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/word.H:44,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/int.H:40,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/label.H:55,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/labelList.H:36,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/Pstream.H:45,
from Pstream.C:27:
/root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/cstring:49:25: error: string.h: 没有那个文件或目录
In file included from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/x86_64-unknown-linux-gnu/bits/ c++locale.h:47,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/localefwd.h:47,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/string:50,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/string.H:51,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/messageStream.H:50,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/error.H:52,
from IPread.C:30:
/root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/clocale:48:25: error: locale.h: 没有那个文件或目录
In file included from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/localefwd.h:49,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/string:50,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/string.H:51,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/messageStream.H:50,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/error.H:52,
from IPread.C:30:
/root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/cctype:49:24: error: ctype.h: 没有那个文件或目录
In file included from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/x86_64-unknown-linux-gnu/bits/ gthr.h:132,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/ext/atomicity.h:39,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/basic_string.h:46,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/string:58,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/string.H:51,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/messageStream.H:50,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/error.H:52,
from IPread.C:30:
/root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/x86_64-unknown-linux-gnu/bits/ gthr-default.h:43:21: error: pthread.h: 没有那个文件或目录
/root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/x86_64-unknown-linux-gnu/bits/ gthr-default.h:44:20: error: unistd.h: 没有那个文件或目录
In file included from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/locale_facets.h:46,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/basic_ios.h:44,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/ios:50,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/ostream:45,
from /root/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x86_64-unkn own-linux-gnu/4.3.1/../../../../include/c++/4.3.1/iostream:45,
from /root/OpenFOAM/OpenFOAM-1.5-dev/src/O


...... more similar error messages

thanks

wayne

olesen February 18, 2009 11:12

Gcc also seems to need the gli
 
Gcc also seems to need the glibc-devel files (/usr/include/limits.h ...).

BTW: I've also compiled my own gcc, and had the same issue.

The easiest for SuSE is to simply install the C/C++ development group.


All times are GMT -4. The time now is 02:27.