Error after building from source on "Linking CXX executable getdp" if gmsh >=4.9.5
Hi all,
I have been facing an issue when building getdp 3.4.0 from sources with gmsh support if gmsh version is >=4.9.5 (tested with 4.9.5 and 4.10.0). Errors occur after the build process reach 100% - see (almost all) error messages at: https://pastebin.com/ZgiZFdQL
The errors do not occur for gmsh=4.9.2 (in fact, I haven't tested against 4.9.3 and 4.9.4), and getdp builds fine (executable is created) with gmsh support.
Build environment:
Slackware 15.0 (64 bits), gcc-11.2.0
Build procedure (from the build script I maintain at SlackBuilds.org [1] ):
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \ -DCMAKE_INSTALL_DOCDIR:PATH=/usr/share/getdp \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DENABLE_BUILD_SHARED=ON \ -DENABLE_GMSH=ON \ -DENABLE_PETSC=OFF \ -DENABLE_SLEPC=OFF \ ..
make && make install
Is there anything I can do to avoid this issue?
Please, let me know if you need more information.