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

[OpenFOAM.org] Error when compiling OF 5.x in RedHat 6.5

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 31, 2018, 03:16
Default Error when compiling OF 5.x in RedHat 6.5
  #1
Senior Member
 
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 313
Rep Power: 15
agustinvo is on a distinguished road
Good morning all,
I am installing OpenFOAM 5.x in my $HOME directory, and when it compiles the libOpenFOAM.so I got the next error:


Code:
Make/linux64GccDPInt32Opt/primitives/ints/int64/int64IO.o: In function `Foam::operator>>(Foam::Istream&, long&)':
int64IO.C:(.text+0x860): multiple definition of `Foam::operator>>(Foam::Istream&, long&)'
Make/linux64GccDPInt32Opt/primitives/ints/int32/int32IO.o:int32IO.C:(.text+0xab0): first defined here
Make/linux64GccDPInt32Opt/primitives/ints/int64/int64IO.o: In function `Foam::operator<<(Foam::Ostream&, long)':
int64IO.C:(.text+0xa80): multiple definition of `Foam::operator<<(Foam::Ostream&, long)'
Make/linux64GccDPInt32Opt/primitives/ints/int32/int32IO.o:int32IO.C:(.text+0xac0): first defined here
collect2: error: ld returned 1 exit status

Has anyone experienced this?
Many thanks in advance!
agustinvo is offline   Reply With Quote

 


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] Need basic help with compiling OF 5.x for debugging deepbandivadekar OpenFOAM Installation 6 April 16, 2018 06:04
[OpenFOAM.org] Error compiling OF 5.x marluc OpenFOAM Installation 4 November 2, 2017 09:39
Bug for install OpenFOAM 2.3.0 under redhat 6.5 jordanjo OpenFOAM Installation 1 August 5, 2014 12:42
[swak4Foam] compiling swak4foam on an IBM Dataplex running 64-bit RedHat 6.3 jianni OpenFOAM Community Contributions 22 January 5, 2014 16:49
Error while compiling OpenFOAM on Redhat cluster feiqunali OpenFOAM Installation 3 October 13, 2013 03:30


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