CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Compilation from source failed OpenFOAM14 (http://www.cfd-online.com/Forums/openfoam-installation/57531-compilation-source-failed-openfoam14.html)

hsieh April 13, 2007 18:44

Hi, When compiling from sou
 
Hi,

When compiling from source of OpenFOAM-1.4, I got the following error. Has anyone encountered the same problem? SuSE 10.1 64 bit OS.

Pei
-------------------
-lOpenFOAM -liberty -ldl -lm -o /home/phsieh/OpenFOAM/OpenFOAM-1.4/applications/bin/linux64Gcc4DPOpt/starToFoam
make[3]: Leaving directory `/home/phsieh/OpenFOAM/OpenFOAM-1.4/applications/utilities/mesh/conversion/starT oFoam'
make[3]: Entering directory `/home/phsieh/OpenFOAM/OpenFOAM-1.4/applications/utilities/mesh/conversion/mshTo Foam'
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/home/phsieh/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude -fPIC Make/linux64Gcc4DPOpt/mshToFoam.o -L/home/phsieh/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt \
-lOpenFOAM -liberty -ldl -lm -o /home/phsieh/OpenFOAM/OpenFOAM-1.4/applications/bin/linux64Gcc4DPOpt/mshToFoam
make[3]: Leaving directory `/home/phsieh/OpenFOAM/OpenFOAM-1.4/applications/utilities/mesh/conversion/mshTo Foam'
make[3]: Entering directory `/home/phsieh/OpenFOAM/OpenFOAM-1.4/applications/utilities/mesh/conversion/gambi tToFoam'
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/home/phsieh/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude -fPIC Make/linux64Gcc4DPOpt/gambitToFoam.o -L/home/phsieh/OpenFOAM/OpenFOAM-1.4/lib/linux64Gcc4DPOpt \
-lOpenFOAM -liberty -ldl -lm -o /home/phsieh/OpenFOAM/OpenFOAM-1.4/applications/bin/linux64Gcc4DPOpt/gambitToFoa m
/usr/lib/../lib64/crt1.o: In function `_start':
init.chttp://www.cfd-online.com/OpenFOAM_D...lipart/sad.gif.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status
make[3]: *** [/home/phsieh/OpenFOAM/OpenFOAM-1.4/applications/bin/linux64Gcc4DPOpt/gambitToFo am] Error 1
make[3]: Leaving directory `/home/phsieh/OpenFOAM/OpenFOAM-1.4/applications/utilities/mesh/conversion/gambi tToFoam'
make[2]: *** [gambitToFoam] Error 2
make[2]: Leaving directory `/home/phsieh/OpenFOAM/OpenFOAM-1.4/applications/utilities/mesh/conversion'
make[1]: *** [conversion] Error 2
make[1]: Leaving directory `/home/phsieh/OpenFOAM/OpenFOAM-1.4/applications/utilities/mesh'
make: *** [mesh] Error 2
+ '[' 0 = 1 -a '' = doc ']'
phsieh@kevin:~/OpenFOAM/OpenFOAM-1.4>

jens_klostermann June 20, 2007 10:06

Hi, look here http://www.c
 
Hi,

look here http://www.cfd-online.com/OpenFOAM_D...es/1/4693.html


All times are GMT -4. The time now is 23:16.