CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   libOSSpecific.o does not compile on Arch Linux (http://www.cfd-online.com/Forums/openfoam-installation/99967-libosspecific-o-does-not-compile-arch-linux.html)

AlmostSurelyRob April 17, 2012 05:04

libOSSpecific.o does not compile on Arch Linux
 
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.

wyldckat April 17, 2012 05:07

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


All times are GMT -4. The time now is 03:09.