On 2017/10/02 09:17, Timo Myyrä wrote: > Hi, > > I'm trying to make port of zdoom but I can't get it to link. > > The error I got was: > CMakeFiles/zdoom.dir/scripting/vm/vmexec.cpp.o: In function > `__cxx_global_var_init': > /home/tmy/tmp/gzdoom-g3.1.0/src/scripting/vm/vmexec.cpp:(.text+0x42): > undefined reference to `__cxa_thread_atexit' > c++: error: linker command failed with exit code 1 (use -v to see invocation) > *** Error 1 in . (src/CMakeFiles/zdoom.dir/build.make:10917 'gzdoom')
is it using (/usr/bin/)c++ to link, or is it using ld directly? it should be using c++.
