|
[Sponsors] |
April 14, 2008, 07:31 |
Hello,
when try to build pr
|
#1 |
Senior Member
Kārlis Repsons
Join Date: Mar 2009
Location: Latvia
Posts: 111
Rep Power: 17 |
Hello,
when try to build previously used library on amd64, build fails like this: $ wmake Making dependency list for source file temperatureOpeningFvPatchScalarField.C SOURCE=temperatureOpeningFvPatchScalarField.C ; g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/home/cpp/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/cpp/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/temperatureOpeningFvPatchScalarField.o g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/home/cpp/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/cpp/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude -fPIC Make/linux64GccDPOpt/temperatureOpeningFvPatchScalarField.o -L/home/cpp/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt \ -lOpenFOAM -liberty -ldl -lm -o OpenFOAM.out /usr/lib/../lib64/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' Make/linux64GccDPOpt/temperatureOpeningFvPatchScalarField.o: In function `__static_initialization_and_destruction_0(int, int)': temperatureOpeningFvPatchScalarField.C.text+0x1b59): undefined reference to `Foam::fvPatchField<double>::constructpatchConstru ctorTables()' temperatureOpeningFvPatchScalarField.C.text+0x1b74): undefined reference to `Foam::fvPatchField<double>::patchConstructorTable Ptr_' .. plenty of undefined references.. Should it be "-o OpenFOAM.out", not temperatureOpeningFvPatchScalarField.so? Any idea? K. |
|
April 14, 2008, 07:43 |
(Don't want to be rude but...)
|
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,904
Rep Power: 33 |
(Don't want to be rude but...):
wmake libso Got it? I ma sure you have been told about this before. Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
April 14, 2008, 08:13 |
Yes, I forgot.. Thank you.
|
#3 |
Senior Member
Kārlis Repsons
Join Date: Mar 2009
Location: Latvia
Posts: 111
Rep Power: 17 |
Yes, I forgot.. Thank you.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Canbt build foamDebugSwitches | gitsnedbutzi | OpenFOAM Installation | 1 | July 21, 2008 12:48 |
Parafoam on AMD64 | frank178 | OpenFOAM Installation | 1 | October 4, 2005 19:35 |
AMD64 Athlon or Intel P4 | adorean | OpenFOAM | 1 | September 7, 2005 13:52 |
Fluent for AMD64 confirmed | J.P. | FLUENT | 1 | October 8, 2003 18:42 |
The AMD64 platform is perfect for CFD! | Snorre Heimsund | Main CFD Forum | 10 | September 9, 2003 08:44 |