CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

Compilation from source failed OpenFOAM14

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 13, 2007, 19:44
Default Hi, When compiling from sou
  #1
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18
hsieh is on a distinguished road
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.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 ']'
phsieh@kevin:~/OpenFOAM/OpenFOAM-1.4>
hsieh is offline   Reply With Quote

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

look here http://www.cfd-online.com/OpenFOAM_D...es/1/4693.html
jens_klostermann is offline   Reply With Quote

Reply


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 Off
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 06:19
VTK errors in ParaFOAM on OpenFOAM14 stevemchale OpenFOAM Installation 5 August 29, 2007 16:39
Probes in OpenFOAM14 otsuki OpenFOAM Running, Solving & CFD 2 May 16, 2007 07:18
Mpich and OpenFOAM14 problem with decomposePar conry OpenFOAM Installation 2 May 7, 2007 06:25
Port of OpenFOAM14 to FreeBSD thierry OpenFOAM Installation 0 April 28, 2007 10:36


All times are GMT -4. The time now is 20:53.