Before adding the BUILD_MODULE_DETools flag it gave this error:
6718 ../../lin64/gcc/lib/libTKExpress.a(Express.cxx.o): In function `Express::WriteFileStamp(std::ostream&)':
>> 6719 Express.cxx:(.text+0x9d): undefined reference to `OSD_Process::OSD_Process()'
>> 6720 Express.cxx:(.text+0xa5): undefined reference to `OSD_Process::SystemDate()'
Now, it gives this error:
../../lin64/gcc/lib/libTKDESTEP.a(STEPControl_ActorRead.cxx.o): In function `STEPControl_ActorRead::STEPControl_ActorRead(opencascade::handle<Interface_InterfaceModel> const&)':
STEPControl_ActorRead.cxx:(.text+0x58d): undefined reference to `Transfer_ActorOfTransientProcess::Transfer_ActorOfTransientProcess()'
../../lin64/gcc/lib/libTKDESTEP.a(STEPControl_ActorRead.cxx.o): In function `opencascade::type_instance<Transfer_ActorOfTransientProcess>::get()':
I'm out of ideas.
Thank you,
Author
Discussion
7 archived replies
Posts are displayed in their archived order.
01Commenter-1
Hello, the issue with ExpToCas fixed in latest master.
Well, the build looks strange. Could you please remove the build cache. Looks like internal complier issue if some build processes was stopped. Could you just 'make clean' then make rebuild?
I'm not familiar with spack. If it not clears the build cache, please do it manually.
Best regards, Commenter-1.
02Commenter-2
Hello
FYI I am having the exact same error trying to build the 7.8.1 release on Ubuntu-22.04, using cmake 3.22.1 and gcc 11.4.0.
From a clean archive extraction and build directory, the command I'm using to build is:
I won't attach a new build log file as it is essentially the same, but the errors all occur attempting to link DRAWEXE. If I remove DRAWEXE from adm/MODULES then the build completes successfully.
Edit: With DRAWEXE excluded it also builds successfully with -DCMAKE_POSITION_INDEPENDENT_CODE=ON enabled.
05Commenter-1
Thank you. I will tes it more careful. It is first time when I hear about problem with DRAW build.
Best regards, Commenter-1.
06Author
Hi,
I modified the spack recipe to this (near line 196) to get it to build correctly: