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

Wmake libso

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 1, 2007, 11:42
Default hi i changed a file called Ten
  #1
Member
 
robert maduta
Join Date: Mar 2009
Posts: 33
Rep Power: 17
roberthino is on a distinguished road
hi i changed a file called TensorI.H in the primitives/Tensor directory now i want to compile it so that the nonlinear k-epsilon model is working right. for compiling i typed wmake libso in /OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM. as error i got:

/home/robert/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../ ../../../include/c++/4.2.1/cstdio:174: error: '::vsscanf' has not been declared
/home/robert/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../ ../../../include/c++/4.2.1/cstdio:181: error: '__gnu_cxx::snprintf' has not been declared
/home/robert/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../ ../../../include/c++/4.2.1/cstdio:182: error: '__gnu_cxx::vfscanf' has not been declared
/home/robert/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../ ../../../include/c++/4.2.1/cstdio:183: error: '__gnu_cxx::vscanf' has not been declared
/home/robert/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../ ../../../include/c++/4.2.1/cstdio:184: error: '__gnu_cxx::vsnprintf' has not been declared
/home/robert/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../ ../../../include/c++/4.2.1/cstdio:185: error: '__gnu_cxx::vsscanf' has not been declared

and at the end:

../../../include/c++/4.2.1/i686-pc-linux-gnu/bits/gthr-default.h:634: error: expected ',' or ';' before '{' token
In file included from /home/robert/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../ ../../../include/c++/4.2.1/i686-pc-linux-gnu/bits/c++io.h:43,
from /home/robert/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../ ../../../include/c++/4.2.1/iosfwd:46,
from /home/robert/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../ ../../../include/c++/4.2.1/bits/stl_algobase.h:70,
from /home/robert/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../ ../../../include/c++/4.2.1/bits/char_traits.h:46,
from /home/robert/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../ ../../../include/c++/4.2.1/string:47,
from lnInclude/string.H:47,
from lnInclude/messageStream.H:46,
from lnInclude/error.H:48,
from OSspecific/Unix/signals/sigFpe.C:30:
/home/robert/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/../ ../../../include/c++/4.2.1/i686-pc-linux-gnu/bits/gthr.h:122: error: expected declaration before end of line
make: *** [Make/linuxGccDPOpt/sigFpe.o] Error 1

maybe someone can fix that problem. i am working on an ubuntu system and using opfoam 1.4.1. i already installed binutils-dev for ubuntu.
roberthino is offline   Reply With Quote

Old   October 1, 2007, 13:00
Default Have you installed a regular (
  #2
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
Have you installed a regular (non-OpenFOAM g++)? In my experience, although it won't be used, this makes problems like this go away.

The other guess (I remember that vaguely) is that the OF-g++ at least needs the glibc-devel. Maybe installing that helps. (But that is the kind of stuff that gets installed when you install a regular g++, see above)
__________________
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

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
Problems with wmake ivan_cozza OpenFOAM Programming & Development 14 June 30, 2013 08:34
Canbt compile libso autoMesh OF15 andersking OpenFOAM Bugs 9 May 1, 2013 08:29
Wmake error murasaki OpenFOAM 6 August 9, 2010 15:03
Anyone using distcc with wmake kar OpenFOAM 2 March 14, 2008 06:13
Problems while wmake evgenii OpenFOAM Pre-Processing 3 November 24, 2005 10:24


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