herumi / mcl

a portable and fast pairing-based cryptography library
BSD 3-Clause "New" or "Revised" License
452 stars 152 forks source link

Fix build failed on arm 32bit linux #13

Closed prprhyt closed 6 years ago

prprhyt commented 6 years ago

I found this problem on arm 32bit (Raspberry Pi3 / arm 32bit version Raspbian)

Error message: include/mcl/ec.hpp:597:11: error: no matching function for call to ‘mcl::EcT<mcl::Fp2T<mcl::FpT<mcl::bn256::local::FpTag, 256u> > >::mulArray(mcl::EcT<mcl::Fp2T<mcl::FpT<mcl::bn256::local::FpTag, 256u> > >&, uint32_t [2], size_t&, bool)’ mulArray(z, ua, un, y < 0);