"Mike Pastore" <mike at oobak.org> writes: int main(int argc, char *argv[]) { unsigned long a[20]; mpz_t z; mpz_import(z, 20, 1, sizeof(a[0]), 0, 0, a); return(0); } GNU MP: Cannot reallocate memory (old_size=2058812348 new_size=80) Resources lost You need to initiate z. -- Torbjörn