graft-project/GraftNetwork

Cannot find -lc Windows compilation

Opened this issue · 1 comments

The make process exits with:

/C/msys64/mingw64/bin/x86_64-w64-mingw32-gcc.exe -fno-strict-aliasing -maes -std=c11 -D_GNU_SOURCE -m64 -DWIN32_LEAN_AND_MEAN -Wall -Wextra -Wpointer-arith -Wundef -Wvla -Wwrite-strings -Wno-error=extra -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-variable -Wno-error=unused-variable -Wno-error=undef -Wno-error=uninitialized -Wlogical-op -Wno-error=maybe-uninitialized -Wno-error=unused-value -Wno-error=unused-but-set-variable -Waggregate-return -Wnested-externs -Wold-style-definition -Wstrict-prototypes -march=x86-64 -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=explicit_bzero -Wl,--whole-archive CMakeFiles/cmTC_0f48b.dir/objects.a -Wl,--no-whole-archive -o cmTC_0f48b.exe -Wl,--major-image-version,0,--minor-image-version,0 -L/C/msys64/home/charl/GraftNetwork-1.7.0/build/release/CMakeFiles/CMakeTmp/strings.h -lc /C/msys64/mingw64/lib/libreadline.a -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lc

msys2 is up to date.

use boost 1.66
Recursively git graftnetwork and update the unbound module.