Build message:
…/src/gui/libupdater.a(updater.cpp.obj):updater.cpp:(.text+0x62): undefined reference to __stack_chk_fail' ../src/gui/libupdater.a(updater.cpp.obj):updater.cpp:(.text+0x4a4): undefined reference to
__stack_chk_fail’
…/src/gui/libupdater.a(updater.cpp.obj):updater.cpp:(.text+0xa3d): undefined reference to __stack_chk_fail' ../src/gui/libupdater.a(updater.cpp.obj):updater.cpp:(.text+0xc7f): undefined reference to
__stack_chk_fail’
…/src/gui/libupdater.a(updater.cpp.obj):updater.cpp:(.text+0xdfc): undefined reference to __stack_chk_fail' ../src/gui/libupdater.a(updater.cpp.obj):updater.cpp:(.text+0xe52): more undefined references to
__stack_chk_fail’ follow
…/src/gui/libupdater.a(updater.cpp.obj):updater.cpp:(.rdata$.refptr.__stack_chk_guard[.refptr.__stack_chk_guard]+0x0): undefined reference to __stack_chk_guard' ../src/gui/libupdater.a(ocupdater.cpp.obj):ocupdater.cpp:(.text+0x2dd): undefined reference to
__stack_chk_fail’
…/src/gui/libupdater.a(ocupdater.cpp.obj):ocupdater.cpp:(.text+0x5b3): undefined reference to __stack_chk_fail' ../src/gui/libupdater.a(ocupdater.cpp.obj):ocupdater.cpp:(.text+0xb2e): undefined reference to
__stack_chk_fail’
…/src/gui/libupdater.a(ocupdater.cpp.obj):ocupdater.cpp:(.text+0xdcb): undefined reference to __stack_chk_fail' ../src/gui/libupdater.a(ocupdater.cpp.obj):ocupdater.cpp:(.text+0x117c): undefined reference to
__stack_chk_fail’
…/src/gui/libupdater.a(ocupdater.cpp.obj):ocupdater.cpp:(.text+0x12a2): more undefined references to `__stack_chk_fail’ follow
collect2.exe: error: ld returned 1 exit status
mingw32-make[2]: *** [test\CMakeFiles\UpdaterTest.dir\build.make:119: bin/UpdaterTest.exe] Error 1
mingw32-make[1]: *** [CMakeFiles\Makefile2:1703: test/CMakeFiles/UpdaterTest.dir/all] Error 2
mingw32-make: *** [Makefile:162: all] Error 2
There is no same situation discuss on the net.
So I came here to ask.
What could I do to solve this problem?