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

Compiling my own source code: 'libNULL.so' is up to date

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   September 25, 2016, 21:47
Default Compiling my own source code: 'libNULL.so' is up to date
  #1
New Member
 
Longfei
Join Date: Apr 2014
Posts: 2
Rep Power: 0
MrNinainaidi is on a distinguished road
Hi FOAMers,

I am suddenly having trouble compiling my source code (it was working perfectly fine).
I have read through the thread posted by lindstroem.
http://www.cfd-online.com/Forums/ope...xecutable.html

I use wclean libso followed by wmake libso, and the following message is what Ive got from the compilation.

Code:
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file primitives/CRandomSFMT/CRandomSFMT.C
Making dependency list for source file primitives/StochasticLib/StochasticLib.C
Making dependency list for source file eulerianStatistics/eulerianStatistics.C
SOURCE=primitives/CRandomSFMT/CRandomSFMT.C ;  
  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100
  -I/share/apps/OpenFOAM/OpenFOAM-2.4.x/src/finiteVolume/lnInclude 
  -I/share/apps/OpenFOAM/OpenFOAM-2.4.x/src/meshTools/lnInclude 
  -I/share/apps/OpenFOAM/OpenFOAM-2.4.x/src/OpenFOAM/lnInclude 
  -IlnInclude -I. 
  -I/share/apps/OpenFOAM/OpenFOAM-2.4.x/src/OpenFOAM/lnInclude 
  -I/share/apps/OpenFOAM/OpenFOAM-2.4.x/src/OSspecific/POSIX/lnInclude   
  -fPIC -c $SOURCE -o Make/linux64Gcc47DPOpt/CRandomSFMT.o
SOURCE=primitives/StochasticLib/StochasticLib.C ;  
  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100 
  -I/share/apps/OpenFOAM/OpenFOAM-2.4.x/src/finiteVolume/lnInclude 
  -I/share/apps/OpenFOAM/OpenFOAM-2.4.x/src/meshTools/lnInclude 
  -I/share/apps/OpenFOAM/OpenFOAM-2.4.x/src/OpenFOAM/lnInclude 
  -IlnInclude -I. 
  -I/share/apps/OpenFOAM/OpenFOAM-2.4.x/src/OpenFOAM/lnInclude 
  -I/share/apps/OpenFOAM/OpenFOAM-2.4.x/src/OSspecific/POSIX/lnInclude   
  -fPIC -c $SOURCE -o Make/linux64Gcc47DPOpt/StochasticLib.o
SOURCE=eulerianStatistics/eulerianStatistics.C ;  
  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100 
  -I/share/apps/OpenFOAM/OpenFOAM-2.4.x/src/finiteVolume/lnInclude 
  -I/share/apps/OpenFOAM/OpenFOAM-2.4.x/src/meshTools/lnInclude 
  -I/share/apps/OpenFOAM/OpenFOAM-2.4.x/src/OpenFOAM/lnInclude 
  -IlnInclude -I. 
  -I/share/apps/OpenFOAM/OpenFOAM-2.4.x/src/OpenFOAM/lnInclude 
  -I/share/apps/OpenFOAM/OpenFOAM-2.4.x/src/OSspecific/POSIX/lnInclude   
  -fPIC -c $SOURCE -o Make/linux64Gcc47DPOpt/eulerianStatistics.o
'libNULL.so' is up to date.
BTW I am doing code development on a remote cluster, and I have to constantly change my source code there and clean and recompile it. It was all working fine when suddenly the compiler cannot figure out the name of the libraries that I am trying to compile.

I have tried to compile the same code on my local computer and it worked. The following message is what the last line of the message I provided above should look like.

Code:
'/home/longfei/OpenFOAM/longfei-2.4.x/platforms/linux64GccDPOpt/lib/libmmcFOAM.so' is up to date.
It seems that the compiler is confused about what name should be assigned to the library and where to put it.

How can I solve this problem? Is there anyone else having the similar issue?
Thanks in advance for your help! Best wishes.
MrNinainaidi is offline   Reply With Quote

 

Tags
libnull


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
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 tlcoons OpenFOAM Installation 13 April 20, 2016 17:34
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 16:02
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 11:32
Help with KIVA4 source code compiling geothokar Main CFD Forum 0 September 3, 2010 05:40
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


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