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

Wmake error OpenSUSE 103 64 bit arch

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 7, 2008, 06:53
Default when I try to run wmake, this
  #1
tom
Guest
 
Posts: n/a
when I try to run wmake, this is what I get:

SOURCE=setGammaSplashWet.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/usr/OpenFOAM/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude -I/usr/OpenFOAM/OpenFOAM/OpenFOAM-1.4.1/src/meshTools/lnInclude -IlnInclude -I. -I/usr/OpenFOAM/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPOpt/setGammaSplashWet.o

In file included from /usr/include/features.h:345,
from /usr/include/limits.h:27,
from /usr/lib64/gcc/x86_64-suse-linux/4.2.1/include/limits.h:122,
from /usr/lib64/gcc/x86_64-suse-linux/4.2.1/include/syslimits.h:7,
from /usr/lib64/gcc/x86_64-suse-linux/4.2.1/include/limits.h:11,
from /usr/include/c++/4.2.1/climits:50,
from /usr/OpenFOAM/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/label.H:38,
from /usr/OpenFOAM/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/labelList.H:36,
from /usr/OpenFOAM/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/Pstream.H:45,
from /usr/OpenFOAM/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/OPstream.H:37,
from /usr/OpenFOAM/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/parRun.H:4,
from /usr/OpenFOAM/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude/fvCFD.H:4,
from setGammaSplashWet.C:36:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
make: *** [Make/linuxGccDPOpt/setGammaSplashWet.o] Error 1

Where can I find the .rpm that holds stubs-32.h? I have been searching for it for a long time, but with no success. I have OpenFOAM installed and running perfectly on my home 32-bit PC.

My 64bit machine is Hp Compaq 6820s laptop.

Thank You!
  Reply With Quote

Old   February 7, 2008, 10:11
Default Hello, I solved the missing
  #2
tom
Guest
 
Posts: n/a
Hello,

I solved the missing stubs-32.h (it was in glibc-devel-32bit-2.6.1-18.x86_54.rpm), but now I have another problem:

Calling wmake on my setGammaSplashWet.C results in:

g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/usr/OpenFOAM/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude -I/usr/OpenFOAM/OpenFOAM/OpenFOAM-1.4.1/src/meshTools/lnInclude -IlnInclude -I. -I/usr/OpenFOAM/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPOpt/setGammaSplashWet.o -L/usr/OpenFOAM/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt \
-lfiniteVolume -lmeshTools -lOpenFOAM -ldl -lm -o /usr/OpenFOAM/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/setGammaSpl ashWet
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make: *** [/usr/OpenFOAM/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/setGammaSp lashWet] Error 1

For this one, I don't know where to start. I'm barely a beginning Linux user, as well as OpenFOAM, so any advice is deeply appreciated.
  Reply With Quote

Old   February 7, 2008, 15:03
Default The linker did not find libfin
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
The linker did not find libfiniteVolue.so

Check whether there is such a file in /usr/OpenFOAM/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt and it is readable for your account
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   February 7, 2008, 22:12
Default The error reason must be befor
  #4
unoder
Guest
 
Posts: n/a
The error reason must be before. Search the forum. Some people solve the/a libfinitevolume-problem by downgrading flex to 2.5.4a. I don't know if this is the cause of an error here, but I had that flex-problem myself - and that was also opensuse 10.3, so you might consider to try it out.
  Reply With Quote

Old   February 8, 2008, 05:07
Default Thank You for the advice: I
  #5
tom
Guest
 
Posts: n/a
Thank You for the advice:

I've tried to look for the file, but found nothing. I also ran foamInstallationTest and got two new suprises(critical errors with gcc and Java).

I'll search the forum and try to find the answer somewhere.
  Reply With Quote

Old   February 8, 2008, 12:57
Default An old post solved the problem
  #6
tom
Guest
 
Posts: n/a
An old post solved the problem for me:

There was a conflict between the system gcc and the one defined by bashrc in .OpenFOAM-1.4 (and with Java too).... The conflict stated a search via a path using terms for 32-bit architecture(that's how I recognised the problem: I have x86_64 arch), so I had to export WM_64='on' before sourcing OpenFOAM's bashrc.

Thank You for the advice Martin: search the forum first, ask questions later.
  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
Gambit on Opensuse install error Thiago FLUENT 7 December 14, 2013 07:59
Wmake error murasaki OpenFOAM 6 August 9, 2010 14:03
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 00:35
Building error of 15dev for OpenSUSE 111 on AMD64 machine waynezw0618 OpenFOAM Installation 1 February 18, 2009 10:12
Gambit error on opensuse Alessandro FLUENT 0 February 26, 2008 04:08


All times are GMT -4. The time now is 08:58.