Closed baentsch closed 1 year ago
Ciao. We are new to this project and wondering if it can be built on Windows from source or some binaries are provided?
Thanks in advance.
Hi -- good to hear from you. Conceptually oqsprovider has no dependencies that should make building on Windows impossible. Some test scripts may need to be adapted, though. The main "difficulty" is just that no-one with experience with that platform has taken a look yet and that no interest in running oqsprovider on Windows has been seriously voiced until now. All help/PRs would be very welcome.
When building according to the new instructions I get the following error.
$ cmake --build _build
[24/28] Linking C executable test\oqs_test_groups.exe
FAILED: test/oqs_test_groups.exe
cmd.exe /C "cd . && C:\msys64\mingw64\bin\cc.exe test/CMakeFiles/oqs_test_groups.dir/oqs_test_groups.c.obj test/CMakeFiles/oqs_test_groups.dir/test_common.c.obj test/CMakeFiles/oqs_test_groups.dir/__/openssl/test/helpers/ssltestlib.c.obj -o test\oqs_test_groups.exe -Wl,--out-implib,test\liboqs_test_groups.dll.a -Wl,--major-image-version,0,--minor-image-version,0 C:/projects/test/oqsprovider/.local/lib64/libssl.dll.a C:/projects/test/oqsprovider/.local/lib64/libcrypto.dll.a C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ."
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0xa0e): undefined reference to `ERR_print_errors_cb'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x2ae4): undefined reference to `OPENSSL_strnlen'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x2b44): undefined reference to `OPENSSL_strnlen'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x2b57): undefined reference to `OPENSSL_strnlen'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x2c0c): undefined reference to `OPENSSL_strnlen'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x2c1f): undefined reference to `OPENSSL_strnlen'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x2c84): more undefined references to `OPENSSL_strnlen' follow
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x2e8e): undefined reference to `BN_cmp'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x2efc): undefined reference to `BN_is_zero'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x2f90): undefined reference to `BN_cmp'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x300c): undefined reference to `BN_is_zero'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x309e): undefined reference to `BN_cmp'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x310c): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x315c): undefined reference to `BN_is_zero'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x319e): undefined reference to `BN_cmp'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x320c): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x322c): undefined reference to `BN_is_zero'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x32ae): undefined reference to `BN_cmp'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x331c): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x336c): undefined reference to `BN_is_zero'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x33ae): undefined reference to `BN_cmp'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x341c): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x343c): undefined reference to `BN_is_zero'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x34ac): undefined reference to `BN_is_one'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x352c): undefined reference to `BN_is_odd'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x35ac): undefined reference to `BN_is_odd'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3640): undefined reference to `BN_is_word'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3650): undefined reference to `BN_new'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3668): undefined reference to `BN_set_word'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x36a4): undefined reference to `BN_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x36f0): undefined reference to `BN_abs_is_word'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3703): undefined reference to `BN_dup'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3715): undefined reference to `BN_set_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x371a): undefined reference to `BN_new'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3732): undefined reference to `BN_set_word'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x376e): undefined reference to `BN_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3776): undefined reference to `BN_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x37b4): undefined reference to `ASN1_TIME_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x37c6): undefined reference to `ASN1_TIME_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x383d): undefined reference to `ASN1_STRING_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3845): undefined reference to `ASN1_STRING_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x386d): undefined reference to `ASN1_TIME_compare'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3879): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3884): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x389d): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x38d4): undefined reference to `ASN1_TIME_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x38e6): undefined reference to `ASN1_TIME_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x395d): undefined reference to `ASN1_STRING_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3965): undefined reference to `ASN1_STRING_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x398d): undefined reference to `ASN1_TIME_compare'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3999): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x39a4): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x39bd): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x39f4): undefined reference to `ASN1_TIME_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3a06): undefined reference to `ASN1_TIME_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3a7d): undefined reference to `ASN1_STRING_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3a85): undefined reference to `ASN1_STRING_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3aad): undefined reference to `ASN1_TIME_compare'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3ab9): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3ac4): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3add): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3b14): undefined reference to `ASN1_TIME_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3b26): undefined reference to `ASN1_TIME_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3b9d): undefined reference to `ASN1_STRING_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3ba5): undefined reference to `ASN1_STRING_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3bcd): undefined reference to `ASN1_TIME_compare'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3bd9): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3be4): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3bfd): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3c34): undefined reference to `ASN1_TIME_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3c46): undefined reference to `ASN1_TIME_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3cbd): undefined reference to `ASN1_STRING_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3cc5): undefined reference to `ASN1_STRING_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3ced): undefined reference to `ASN1_TIME_compare'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3cf9): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3d04): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3d1d): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3d54): undefined reference to `ASN1_TIME_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3d66): undefined reference to `ASN1_TIME_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3ddd): undefined reference to `ASN1_STRING_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3de5): undefined reference to `ASN1_STRING_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3e0d): undefined reference to `ASN1_TIME_compare'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3e19): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3e24): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3e3d): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0xa18): undefined reference to `ERR_clear_error'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-basic_output.obj):basic_output.c:(.text+0x1c): undefined reference to `BIO_new_fp'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-basic_output.obj):basic_output.c:(.text+0x37): undefined reference to `BIO_new_fp'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-basic_output.obj):basic_output.c:(.text+0x4a): undefined reference to `BIO_f_prefix'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-basic_output.obj):basic_output.c:(.text+0x70): undefined reference to `BIO_f_prefix'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-basic_output.obj):basic_output.c:(.text+0x96): undefined reference to `BIO_f_prefix'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-basic_output.obj):basic_output.c:(.text+0xbc): undefined reference to `BIO_f_prefix'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-basic_output.obj):basic_output.c:(.text+0x1c4): undefined reference to `BIO_free_all'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-basic_output.obj):basic_output.c:(.text+0x1d4): undefined reference to `BIO_free_all'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-basic_output.obj):basic_output.c:(.text+0x1ee): undefined reference to `BIO_vprintf'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-basic_output.obj):basic_output.c:(.text+0x20e): undefined reference to `BIO_vprintf'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-basic_output.obj):basic_output.c:(.text+0x26e): undefined reference to `BIO_vprintf'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-basic_output.obj):basic_output.c:(.text+0x28e): undefined reference to `BIO_vprintf'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x21): undefined reference to `BN_is_zero'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x84): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x198): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x1ec): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x297): undefined reference to `BN_num_bits'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x2a1): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x2d1): undefined reference to `BN_num_bits'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x2dc): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x34e): undefined reference to `BN_cmp'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x39e): undefined reference to `BN_bn2binpad'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x43c): undefined reference to `BN_bn2binpad'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x753): undefined reference to `BN_num_bits'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x75d): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x8f4): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x94e): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x9ae): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x18fe): undefined reference to `BN_is_zero'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x190a): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x1941): undefined reference to `BN_num_bits'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x195a): undefined reference to `BN_bn2bin'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x1a04): undefined reference to `BN_is_negative'
collect2.exe: error: ld returned 1 exit status
[26/28] Linking C executable test\oqs_test_tlssig.exe
FAILED: test/oqs_test_tlssig.exe
cmd.exe /C "cd . && C:\msys64\mingw64\bin\cc.exe test/CMakeFiles/oqs_test_tlssig.dir/oqs_test_tlssig.c.obj test/CMakeFiles/oqs_test_tlssig.dir/test_common.c.obj test/CMakeFiles/oqs_test_tlssig.dir/__/openssl/test/helpers/ssltestlib.c.obj -o test\oqs_test_tlssig.exe -Wl,--out-implib,test\liboqs_test_tlssig.dll.a -Wl,--major-image-version,0,--minor-image-version,0 C:/projects/test/oqsprovider/.local/lib64/libssl.dll.a C:/projects/test/oqsprovider/.local/lib64/libcrypto.dll.a C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ."
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0xa0e): undefined reference to `ERR_print_errors_cb'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x2ae4): undefined reference to `OPENSSL_strnlen'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x2b44): undefined reference to `OPENSSL_strnlen'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x2b57): undefined reference to `OPENSSL_strnlen'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x2c0c): undefined reference to `OPENSSL_strnlen'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x2c1f): undefined reference to `OPENSSL_strnlen'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x2c84): more undefined references to `OPENSSL_strnlen' follow
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x2e8e): undefined reference to `BN_cmp'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x2efc): undefined reference to `BN_is_zero'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x2f90): undefined reference to `BN_cmp'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x300c): undefined reference to `BN_is_zero'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x309e): undefined reference to `BN_cmp'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x310c): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x315c): undefined reference to `BN_is_zero'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x319e): undefined reference to `BN_cmp'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x320c): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x322c): undefined reference to `BN_is_zero'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x32ae): undefined reference to `BN_cmp'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x331c): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x336c): undefined reference to `BN_is_zero'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x33ae): undefined reference to `BN_cmp'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x341c): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x343c): undefined reference to `BN_is_zero'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x34ac): undefined reference to `BN_is_one'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x352c): undefined reference to `BN_is_odd'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x35ac): undefined reference to `BN_is_odd'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3640): undefined reference to `BN_is_word'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3650): undefined reference to `BN_new'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3668): undefined reference to `BN_set_word'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x36a4): undefined reference to `BN_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x36f0): undefined reference to `BN_abs_is_word'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3703): undefined reference to `BN_dup'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3715): undefined reference to `BN_set_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x371a): undefined reference to `BN_new'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3732): undefined reference to `BN_set_word'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x376e): undefined reference to `BN_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3776): undefined reference to `BN_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x37b4): undefined reference to `ASN1_TIME_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x37c6): undefined reference to `ASN1_TIME_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x383d): undefined reference to `ASN1_STRING_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3845): undefined reference to `ASN1_STRING_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x386d): undefined reference to `ASN1_TIME_compare'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3879): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3884): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x389d): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x38d4): undefined reference to `ASN1_TIME_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x38e6): undefined reference to `ASN1_TIME_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x395d): undefined reference to `ASN1_STRING_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3965): undefined reference to `ASN1_STRING_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x398d): undefined reference to `ASN1_TIME_compare'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3999): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x39a4): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x39bd): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x39f4): undefined reference to `ASN1_TIME_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3a06): undefined reference to `ASN1_TIME_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3a7d): undefined reference to `ASN1_STRING_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3a85): undefined reference to `ASN1_STRING_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3aad): undefined reference to `ASN1_TIME_compare'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3ab9): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3ac4): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3add): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3b14): undefined reference to `ASN1_TIME_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3b26): undefined reference to `ASN1_TIME_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3b9d): undefined reference to `ASN1_STRING_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3ba5): undefined reference to `ASN1_STRING_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3bcd): undefined reference to `ASN1_TIME_compare'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3bd9): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3be4): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3bfd): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3c34): undefined reference to `ASN1_TIME_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3c46): undefined reference to `ASN1_TIME_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3cbd): undefined reference to `ASN1_STRING_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3cc5): undefined reference to `ASN1_STRING_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3ced): undefined reference to `ASN1_TIME_compare'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3cf9): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3d04): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3d1d): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3d54): undefined reference to `ASN1_TIME_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3d66): undefined reference to `ASN1_TIME_set'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3ddd): undefined reference to `ASN1_STRING_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3de5): undefined reference to `ASN1_STRING_free'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3e0d): undefined reference to `ASN1_TIME_compare'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3e19): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3e24): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0x3e3d): undefined reference to `ASN1_STRING_get0_data'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-tests.obj):tests.c:(.text+0xa18): undefined reference to `ERR_clear_error'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-basic_output.obj):basic_output.c:(.text+0x1c): undefined reference to `BIO_new_fp'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-basic_output.obj):basic_output.c:(.text+0x37): undefined reference to `BIO_new_fp'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-basic_output.obj):basic_output.c:(.text+0x4a): undefined reference to `BIO_f_prefix'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-basic_output.obj):basic_output.c:(.text+0x70): undefined reference to `BIO_f_prefix'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-basic_output.obj):basic_output.c:(.text+0x96): undefined reference to `BIO_f_prefix'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-basic_output.obj):basic_output.c:(.text+0xbc): undefined reference to `BIO_f_prefix'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-basic_output.obj):basic_output.c:(.text+0x1c4): undefined reference to `BIO_free_all'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-basic_output.obj):basic_output.c:(.text+0x1d4): undefined reference to `BIO_free_all'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-basic_output.obj):basic_output.c:(.text+0x1ee): undefined reference to `BIO_vprintf'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-basic_output.obj):basic_output.c:(.text+0x20e): undefined reference to `BIO_vprintf'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-basic_output.obj):basic_output.c:(.text+0x26e): undefined reference to `BIO_vprintf'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-basic_output.obj):basic_output.c:(.text+0x28e): undefined reference to `BIO_vprintf'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x21): undefined reference to `BN_is_zero'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x84): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x198): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x1ec): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x297): undefined reference to `BN_num_bits'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x2a1): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x2d1): undefined reference to `BN_num_bits'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x2dc): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x34e): undefined reference to `BN_cmp'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x39e): undefined reference to `BN_bn2binpad'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x43c): undefined reference to `BN_bn2binpad'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x753): undefined reference to `BN_num_bits'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x75d): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x8f4): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x94e): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x9ae): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x18fe): undefined reference to `BN_is_zero'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x190a): undefined reference to `BN_is_negative'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x1941): undefined reference to `BN_num_bits'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x195a): undefined reference to `BN_bn2bin'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/projects/test/oqsprovider/test/../openssl/test/libtestutil.a(libtestutil-lib-format_output.obj):format_output.:(.text+0x1a04): undefined reference to `BN_is_negative'
collect2.exe: error: ld returned 1 exit status
[27/28] Linking C shared module lib\oqsprovider.dll
ninja: build stopped: subcommand failed.
Building the tests fail for me, so running ctest
does not work as well. Nevertheless, I am able to run the dgst
and cms
command, as well as using TLS with PQC algorithms.
When trying to build with x64 Native Tools Command Prompt for VS 2019
with the following commands.
Building liboqs and openssl works fine.
git clone https://github.com/open-quantum-safe/liboqs.git
cd liboqs
mkdir build
cd build
cmake -GNinja -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR> ..
ninja
ninja install
cd ../..
git clone git://git.openssl.org/openssl.git
cd openssl
perl Configure VC-WIN64A --prefix=<INSTALL_DIR>
nmake
nmake install_sw
cd ..
When using
mkdir build
cd build
cmake -GNinja -DCMAKE_PREFIX_PATH=C:\projects\test\oqsprovider\install -DOPENSSL_ROOT_DIR=C:\projects\test\oqsprovider\install ..
I get the following messages
-- The C compiler identification is MSVC 19.28.29914.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Pinned/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Creating Debug build with OQS-Debug env vars enabled
-- Build will store public keys in PKCS#8 structures
-- Found OpenSSL: C:/projects/test/oqsprovider/install/lib/libcrypto.lib (found suitable version "3.2.0", minimum required is "3.0")
-- Configuring done
-- Generating done
-- Build files have been written to: C:/projects/test/oqsprovider/build
So far so good, when running ninja
, this error occurs:
ninja: error: '../openssl/test/libtestutil.a', needed by 'test/oqs_test_groups.exe', missing and no known rule to make it
Alternatively, trying out
cmake -DCMAKE_PREFIX_PATH=C:\projects\test\oqsprovider\install -DOPENSSL_ROOT_DIR=C:\projects\test\oqsprovider\install -S . -B build
results in the error
-- Building for: Visual Studio 17 2022
-- The C compiler identification is unknown
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_C_COMPILER could be found.
-- Configuring incomplete, errors occurred!
See also "C:/projects/test/oqsprovider/build/CMakeFiles/CMakeOutput.log".
See also "C:/projects/test/oqsprovider/build/CMakeFiles/CMakeError.log".
I hope I get these two last posts right! Are we saying that neither MinGW64 nor MSVC work fine when building oqs provider (tests ?) from source? if so, that's disappointing. We need to run all the tests after building oqs to make sure everything is fine. This PR [https://github.com/open-quantum-safe/oqs-provider/pull/108] does NOT fix the tests, right? Has the aforementioned PR been tested/reviewed properly? What it normally happens in my office is that I fix 'A' and I break 'B'! I guess a lessons learned from here is that BEFORE every release PLEASE test as much as possible. No compilation errors as in here (#105) and no linking errors! This project is pretty small and basic compared to other huge projects (with dozens dependencies) I build from source on a regular basis.
I guess a lessons learned from here is that BEFORE every release PLEASE test as much as possible. No compilation errors as in here (https://github.com/open-quantum-safe/oqs-provider/issues/105) and no linking errors!
Not a really new lesson. We do this where we get support doing it. Windows support (particularly CI) is needed. Allow me to quote from earlier in this thread:
All help/PRs would be very welcome.
The only person that has provided a Windows-related PR so far was @VeronikaNguyen (thanks again). This project like most other not corporate-run projects relies on people with knowledge in specific areas to improve it. PLEASE do help, e.g., adding a mingw-based CI run to move us all together further towards closure of this issue.
@mingw-io Prior to the PR, I encountered a problem in the build process where I couldn't reach the stage of building oqsprov.dll
, as it would always crash before that. Now, I am pleased to see that the oqsprov.dll
was build and its associated features are functioning properly on Windows. I understand your emphasis on the importance of tests, and I agree that they are crucial. However, I don't know how to resolve the issue right now. If you'd like to contribute in fixing it, you're welcome to do so.
Build and test
oqsprovider
on Windows (x64). Includes adding CI.