delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/17/09:19:26

From: GAMMELJL AT SLU DOT EDU
Date: Sat, 17 Jun 2000 08:19:49 -0500 (CDT)
Subject: Rich Dawe's port of gmp to djgpp Attn: Eli Z
To: djgpp AT delorie DOT com
Message-id: <01JQPB1Z49WY9JPJIH@SLU.EDU>
Organization: SAINT LOUIS UNIVERSITY St. Louis, MO
X-VMS-To: IN%"djgpp AT delorie DOT com"
MIME-version: 1.0
Reply-To: djgpp AT delorie DOT com

     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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019