xcfem / xc

finite element analysis package for civil engineering structures.
http://www.xcengineering.xyz/html_files/software.html
GNU General Public License v3.0
262 stars 54 forks source link

Linking CXX shared library /root/build_xc/xc/lib/libXcBib.so failed #107

Closed GJoe2 closed 1 year ago

GJoe2 commented 2 years ago

Describe the bug After following the solution in #106, I upgraded g++-10 , gcc-10 and gfortran-10, then when it gets 99% [ 99%] Linking CXX shared library /root/build_xc/xc/lib/libXcBib.so It failed with :

/usr/bin/ld: CMakeFiles/XcBib.dir/solution/system_of_eqn/eigenSOE/BandArpackSOE.cpp.o: in function `XC::BandArpackSOE::save() const':
BandArpackSOE.cpp:(.text+0xa55): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/XcBib.dir/build.make:19369: /root/build_xc/xc/lib/libXcBib.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:202: CMakeFiles/XcBib.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

log.txt

What I did wrong? I have no idea CMakeOutput.log CMakeError.log

lcpt commented 2 years ago

It's strange. There are many errors in your CMakeError.log and the linker complains about multiple definitions of many functions in the paving library in your log.txt file. Have you restarted the building process from scratch after upgrading the compilers?

lcpt commented 2 years ago

Any news about this?

lcpt commented 1 year ago

I imagine this is no longer an issue.