Mail Archives: djgpp/2000/06/17/09:19:26
The error message is "undefined reference to mrand48". I have
tried including urandom.h from c:\djgpp\gnu\gmp-3.01" but that
doesn't cure the problem.
Other troubles that I have, in trying to compile the mpf test
program t-add.c for instance, seem to be related to the long file
name problem (Frank Donahoe noticed one of my postings and told
me about Eliz's papers on the subject--I was aware of the problem
and steered away from long file names in writing genprec).
I think mrand48 is defined in urandom.h. Maybe an "extern"
will solve the problem and maybe it won't--I don't even know whether
"extern" is C code or not.
- Raw text -