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

libOSSpecific.o does not compile on Arch Linux

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 17, 2012, 05:04
Default libOSSpecific.o does not compile on Arch Linux
  #1
Senior Member
 
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 22
AlmostSurelyRob will become famous soon enough
Dear All,

I have compiled OpenFOAM from sources on Arch Linux. However, I had a small issue and I have little confidence in the workaround I have applied.

After the first compilation I had many errors of the following type:

Code:
/usr/bin/ld: cannot find -lOpenFOAM
This is common and the error should go away on the second compilation. This was not happening.

After applying wmake on certain directories I figured out that libOSSpecific.o was missing.

What I did eventually was to copy this file from my "working" OF distribution into $FOAM_LIBBIN. The previous file was compiled on the same machine but on a different system.

My question is why did I have to do it? Why libOSSpecific.H did not compile? Is it a missing dependency? If you could provide me with some hints or references. I am a little worried that I copied an OS specific file from a different system to work on my current system.
AlmostSurelyRob is offline   Reply With Quote

Old   April 17, 2012, 05:07
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Robert,

Apparently you're having the same problem described here: http://www.cfd-online.com/Forums/ope...oam-2-1-x.html

Best regards,
Bruno
__________________
wyldckat 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
How to compile OpenFOAM-1.7.x on CrunchBang linux 10 gwierink OpenFOAM Installation 0 April 5, 2011 04:38
Dual Boot Windows and Linux and Go Open Source andyj Main CFD Forum 2 October 21, 2010 16:49
PV3FoamReader compile error.... PEM_GUY OpenFOAM Installation 6 April 5, 2010 17:22
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 21:51
OpenFOAM installation problem on Linux 32bit kumar OpenFOAM Installation 0 April 27, 2007 05:41


All times are GMT -4. The time now is 22:51.