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

Cc1plus error libmpfrso1not found

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 3, 2009, 02:33
Default Please help, i am not able to
  #61
Member
 
Mandar
Join Date: Mar 2009
Posts: 39
Rep Power: 17
mixer is on a distinguished road
Please help, i am not able to solve a problem. I am trying to install gmp and mpfr for resolving the libmip problem. I do not get any problem while configuring gmp, but make check and later make install gives the following error. Can any one help me to know why it is coming by seeing below:

Make check

[136| cylon01:/usr6/tab01c/OpenFOAM/ThirdParty/gmp-4.2.4]: make check
make check-recursive
make[1]: Entering directory `/misc/tab01c/OpenFOAM/ThirdParty/gmp-4.2.4'
Making check in tests
make[2]: Entering directory `/misc/tab01c/OpenFOAM/ThirdParty/gmp-4.2.4/tests'
Making check in .
make[3]: Entering directory `/misc/tab01c/OpenFOAM/ThirdParty/gmp-4.2.4/tests'
make libtests.la t-bswap t-constants t-count_zeros t-gmpmax t-hightomask t-modlinv t-popc t-parity t-sub
make[4]: Entering directory `/misc/tab01c/OpenFOAM/ThirdParty/gmp-4.2.4/tests'
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -m64 -O2 -fomit-frame-pointer -mtune=k8 -march=k8 -c -o amd64check.lo amd64check.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -m64 -O2 -fomit-frame-pointer -mtune=k8 -march=k8 -c amd64check.c -fPIC -DPIC -o .libs/amd64check.o
In file included from ../gmp-impl.h:102,
from amd64check.c:22:
../fib_table.h:4: warning: data definition has no type or storage class
../fib_table.h:4: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'data'
make[4]: *** [amd64check.lo] Error 1
make[4]: Leaving directory `/misc/tab01c/OpenFOAM/ThirdParty/gmp-4.2.4/tests'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/misc/tab01c/OpenFOAM/ThirdParty/gmp-4.2.4/tests'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/misc/tab01c/OpenFOAM/ThirdParty/gmp-4.2.4/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/misc/tab01c/OpenFOAM/ThirdParty/gmp-4.2.4'
make: *** [check] Error 2


Make Install

In file included from ../gmp-impl.h:102,
from pre_divrem_1.c:25:
../fib_table.h:4: warning: data definition has no type or storage class
../fib_table.h:4: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'data'
make[2]: *** [pre_divrem_1.lo] Error 1
make[2]: Leaving directory `/misc/tab01c/OpenFOAM/ThirdParty/gmp-4.2.4/mpn'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/misc/tab01c/OpenFOAM/ThirdParty/gmp-4.2.4'
make: *** [install] Error 2

Similarly, while configuring the mpfr..it gives the following error, which could be because the gmp is not installed perhaps?

checking for gmp.h... no
configure: error: gmp.h can't be found, or is unusable.

Please help, i am not able to run tutorial on openfoam because of this, though the ./foamInstallcheck is done without error.
mixer is offline   Reply With Quote

Old   March 3, 2009, 23:02
Default OpenFoam is not as self contai
  #62
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
OpenFoam is not as self contained as you might think and the linux build that you have may not be as complete as you might require. Look in your thirdparty folder to see if you have gmp-4.2.4. if not, it is probably on the install disk somewhere or you can download it from the internet.
musahossein is offline   Reply With Quote

Old   March 4, 2009, 02:09
Default Hi ..Thanks a lot for your hel
  #63
Member
 
Mandar
Join Date: Mar 2009
Posts: 39
Rep Power: 17
mixer is on a distinguished road
Hi ..Thanks a lot for your help. It helped me to make some progress with gmp, but i got stuck again with mpfr installation. I was able to install the gmp, using commands shown below. I have gmp-4.2.4 in folder and even mpfr in the same thirdParty. Can you suggest the right commands and right procedure. I am new to all this.

gmp configuration,

./configure --prefix=$WM_THIRD_PARTY_DIR/gmp-2.2.4 >
make
make check
make install

everything went well...

but, now while installing mpfr using command below, i got some error:
cylon01:/usr6/tab01c/OpenFOAM/ThirdParty/mpfr-2.3.2_Src]: ./configure --prefix=$WM_THIRD_PARTY_DIR/mpfr-2.3.2 --with-gmp=$WM_THIRD_PARTY_DIR/gmp-4.2.4

Error is: C compiler cannot create executables (as below)
cylon01:/usr6/tab01c/OpenFOAM/ThirdParty/mpfr-2.3.2_Src]: ./configure --prefix=$WM_THIRD_PARTY_DIR/mpfr-2.3.2 --with-gmp=$WM_THIRD_PARTY_DIR/gmp-4.2.4 checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to disable maintainer-specific portions of Makefiles... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
mixer is offline   Reply With Quote

Old   March 4, 2009, 02:46
Default Hi Mussaddeque...To the above
  #64
Member
 
Mandar
Join Date: Mar 2009
Posts: 39
Rep Power: 17
mixer is on a distinguished road
Hi Mussaddeque...To the above post..forgot to add the config.log ..the failure happened like this...
Are there any suggestions?

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "MPFR"
#define PACKAGE_TARNAME "mpfr"
#define PACKAGE_VERSION "2.3.2"
#define PACKAGE_STRING "MPFR 2.3.2"
#define PACKAGE_BUGREPORT ""

configure: exit 77

Are there any suggestions?
mixer is offline   Reply With Quote

Old   March 4, 2009, 10:56
Default Check to see that you have gcc
  #65
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
Check to see that you have gcc installed. Usually when installing linux it will ask you whether you want to install developers tools - you may have said no to that, as a result of which gcc (the c complier) did not get installed. You should have gcc on the install disk. if not you can download it from the gnu website.

Good luck
musahossein 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
injection not found in domain error San FLUENT 3 March 17, 2009 23:24
Error found in stress tutorial mike_jaworski OpenFOAM Running, Solving & CFD 0 September 23, 2007 03:34
Error: Finite angle gap could not be found Richard CFX 0 December 8, 2005 09:39
Boundaries not found error Simone Siemens 2 June 13, 2005 08:36
No warning or error messages found. Atit Koonsrisuk CFX 5 January 14, 2003 12:06


All times are GMT -4. The time now is 10:44.