CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   OpenFOAM 14 compilation problem (http://www.cfd-online.com/Forums/openfoam-installation/57547-openfoam-14-compilation-problem.html)

zaferleylek April 16, 2007 10:34

I am trying to compile OpenFOA
 
I am trying to compile OpenFOAM 1.4 without success as parallelInfo.H is missing. Has anyone else been getting the same error?

olesen April 16, 2007 10:46

This seems to be a class used
 
This seems to be a class used within polyMesh (now called globalMeshData.H).

Perhaps you have an old .dep file still kicking about that somehow didn't get removed by wclean?

marhamat April 21, 2007 06:53

Hi everyone You see the part
 
Hi everyone
You see the part of OF-1.4 comoilation information.

. . .
+ cd utilities
+ wmake all
make[1]: Entering directory `/root/OpenFOAM/OpenFOAM-1.4/applications/utilities/mesh'
make[2]: Entering directory `/root/OpenFOAM/OpenFOAM-1.4/applications/utilities/mesh/manipulation'
make[3]: Entering directory `/root/OpenFOAM/OpenFOAM-1.4/applications/utilities/mesh/manipulation/moveDynami cMesh'
Making dependency list for source file moveDynamicMesh.C
make[3]: Leaving directory `/root/OpenFOAM/OpenFOAM-1.4/applications/utilities/mesh/manipulation/moveDynami cMesh'
make[3]: Entering directory `/root/OpenFOAM/OpenFOAM-1.4/applications/utilities/mesh/manipulation/moveDynami cMesh'
SOURCE=moveDynamicMesh.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/root/OpenFOAM/OpenFOAM-1.4/src/dynamicFvMesh/lnInclude -I/root/OpenFOAM/OpenFOAM-1.4/src/meshTools/lnInclude -I/root/OpenFOAM/OpenFOAM-1.4/src/finiteVolume/lnInclude -IlnInclude -I. -I/root/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGcc4DPOpt/moveDynamicMesh.o
/tmp/cceYL5qe.s: Assembler messages:
/tmp/cceYL5qe.s:1987: Error: unknown pseudo-op: `.weakref'
/tmp/cceYL5qe.s:1988: Error: unknown pseudo-op: `.weakref'
/tmp/cceYL5qe.s:1989: Error: unknown pseudo-op: `.weakref'
/tmp/cceYL5qe.s:1990: Error: unknown pseudo-op: `.weakref'
/tmp/cceYL5qe.s:1991: Error: unknown pseudo-op: `.weakref'
/tmp/cceYL5qe.s:1992: Error: unknown pseudo-op: `.weakref'
/tmp/cceYL5qe.s:1993: Error: unknown pseudo-op: `.weakref'
/tmp/cceYL5qe.s:1994: Error: unknown pseudo-op: `.weakref'
/tmp/cceYL5qe.s:1995: Error: unknown pseudo-op: `.weakref'
/tmp/cceYL5qe.s:1996: Error: unknown pseudo-op: `.weakref'
/tmp/cceYL5qe.s:1997: Error: unknown pseudo-op: `.weakref'
/tmp/cceYL5qe.s:1998: Error: unknown pseudo-op: `.weakref'
/tmp/cceYL5qe.s:1999: Error: unknown pseudo-op: `.weakref'
/tmp/cceYL5qe.s:2000: Error: unknown pseudo-op: `.weakref'
make[3]: *** [Make/linuxGcc4DPOpt/moveDynamicMesh.o] Error 1
make[3]: Leaving directory `/root/OpenFOAM/OpenFOAM-1.4/applications/utilities/mesh/manipulation/moveDynami cMesh'
make[2]: *** [moveDynamicMesh] Error 2
make[2]: Leaving directory `/root/OpenFOAM/OpenFOAM-1.4/applications/utilities/mesh/manipulation'
make[1]: *** [manipulation] Error 2
make[1]: Leaving directory `/root/OpenFOAM/OpenFOAM-1.4/applications/utilities/mesh'
make: *** [mesh] Error 2
+ '[' 0 = 1 -a '' = doc ']'

What is the problem?

Best Regards
Marhamat

mbeaudoin April 21, 2007 09:03

Update your binutils package.
 
Update your binutils package.

Read this thread http://www.cfd-online.com/OpenFOAM_D...tml?1177015816

Martin

lr103476 May 8, 2007 14:52

Or use the gcc-4.1.2.linux-old
 
Or use the gcc-4.1.2.linux-old.tgz from the download page. This works for me...on my 'old' RHEL4 box.

On that 'old' machine I am now able to compile OpenFOAM 1.3 and 1.4. Unfortunately using the new Ubuntu Feisty 7.04 I only succeeded in compiling 1.4 . I suppose that I have to move on to the newest version....

Frank


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