CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Installation

Compilation from source failed OpenFOAM14

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   April 13, 2007, 18:44
Default Hi, When compiling from sou
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 11
hsieh is on a distinguished road

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.

-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.c.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 ']'
hsieh is offline   Reply With Quote

Old   June 20, 2007, 10:06
Default Hi, look here http://www.c
Senior Member
Jens Klostermann
Join Date: Mar 2009
Posts: 117
Rep Power: 10
jens_klostermann is on a distinguished road

look here
jens_klostermann is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM14 for Mac OSX Darwin 104 gschaider OpenFOAM Installation 118 July 20, 2008 05:19
VTK errors in ParaFOAM on OpenFOAM14 stevemchale OpenFOAM Installation 5 August 29, 2007 15:39
Probes in OpenFOAM14 otsuki OpenFOAM Running, Solving & CFD 2 May 16, 2007 06:18
Mpich and OpenFOAM14 problem with decomposePar conry OpenFOAM Installation 2 May 7, 2007 05:25
Port of OpenFOAM14 to FreeBSD thierry OpenFOAM Installation 0 April 28, 2007 09:36

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