Mail Archives: djgpp/1995/12/10/22:45:20
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
- Raw text -