when I try to run wmake, this
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,
/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.
Hello, I solved the missing
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. http://www.cfd-online.com/OpenFOAM_D...part/happy.gif
The linker did not find libfin
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
The error reason must be befor
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.
Thank You for the advice: I
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.
An old post solved the problem
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. http://www.cfd-online.com/OpenFOAM_D...part/happy.gif
|All times are GMT -4. The time now is 07:56.|