From: "J.T. Conklin" Date: Fri, 17 Mar 1995 14:16:52 -0800 To: jchang AT kame DOT media DOT mit DOT edu (John Chang) Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: erf, and the *rand48 functions >>>>> "John" == John Chang writes: John> The linker complains about these functions with an "unresolved John> externals" message. Am I linking in the right library with -lm, John> or are these functions simply unimplemented? I can't seem to John> find them in the lib*.a files I've downloaded so far. I maintain the NetBSD math library (which is also used by FreeBSD), and have made available a version I ported to djgpp. It has the erf() function that you need. It is available via anon ftp from ftp.cygnus.com:~ftp/pub/jtc/djgpp/* It would be nice if djgpp V2 adopted this or another complete math library. The V1 libm is woefully inadequate. Versions of the *rand48 functions can be stolen from NetBSD as well. Try: ftp.netbsd.org:~ftp/pub/NetBSD/NetBSD-current/src/lib/libc/stdlib/*48.c --jtc