codecryptanalysis / mccl

modular code cryptanalysis library
MIT License
8 stars 3 forks source link

error when make check #15

Closed qc20000sj closed 2 weeks ago

qc20000sj commented 4 weeks ago

when I make check ,there are two errors,for example /usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’: 435 | function(_Functor&& f) | ^ /usr/include/c++/11/bits/std_function.h:435:145: note: ‘_ArgTypes’ /usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’: 530 | operator=(_Functor&& f) | ^ /usr/include/c++/11/bits/std_function.h:530:146: note: ‘_ArgTypes’ Should I solve the problem? Thank you.

cr-marcstevens commented 4 weeks ago

Thanks for notifying the issue. But it's very unclear from this snippet where the real issue lies. Could you share config.log and the full make check output?

qc20000sj commented 4 weeks ago

Thanke you reply. config.log make check.txt config.log and the full make check output are there.

cr-marcstevens commented 4 weeks ago

It looks like this is an error with test_cuda. Even though the buildsystem already supports CUDA and we have a compilation check test_cuda, CUDA is not actually used in mccl yet. You can disable building with CUDA by using ./configure --without-cuda.

cr-marcstevens commented 4 weeks ago

I'll leave this issue open, but this will probably be fixed only later.

qc20000sj commented 4 weeks ago

I have successfully compiled this program under your advice. Thank you for your recovery.