From: gwong AT cse DOT unsw DOT edu DOT au (Geoffrey Wong) To: djgpp AT sun DOT soe DOT clarkson DOT edu Date: Mon, 11 Dec 95 13:34:06 +1100 Hi, I am wondering if anyone out there can help me. I have a type defined as:- double drand48(); Now as far as I know, this is perfectly Okay in Unix, and drand48() would take on some random floating point value. But when I compile it under DOS using djgpp's gcc. It complains:- c:\ilp\foil>make Ndmake: warning -- VPATH directory `bin' unsearchable or empty. Ndmake: warning -- VPATH directory `headers' unsearchable or empty. gcc -o foil6 @all.obj -lm state.o: In function `OriginalState': state.c:126: undefined reference to `drand48' state.o: In function `RandomTuple': state.c:269: undefined reference to `drand48' *** Error code 1 Is there a DOS equivalent to that, maybe I just need to call up the right library. Does anyone know the answer? Geoff