libntl / ntl

266 stars 53 forks source link

Compilation error ZZ.h #18

Closed saholmes closed 2 years ago

saholmes commented 2 years ago

When compiling I get the following error...

ZZ.h:1826:15: error: ‘MulHiUL’ was not declared in this scope 1826 | q = (long) MulHiUL(a, bninv); | ^~~

Looks like q is declared as a long but MulHiUL is not found (within scope).

Version NTL 11.5.1 Distributor ID: Ubuntu Description: Ubuntu 20.04.4 LTS Release: 20.04 Codename: focal

Compiler version g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0

saholmes commented 2 years ago

Re-installed toolchain and this seems to have fixed the issue (added compiler support for ARM.