www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/12/09/22:59:35

From: gwong AT cse DOT unsw DOT edu DOT au (Geoffrey Wong)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Sun, 10 Dec 95 13:44:17 +1100
Subject: Unix functions?

Hi,
	When I make it give me the following error:-

 Volume in drive C is GEOFF
 Directory of  c:\ilp\foil\f*.*

factrise.d        697   5-12-95 10:13p
fibonacc.d        404   4-11-95  3:22p
fibonacc.d0       323   4-11-95  3:22p
finddef.c       12350   6-12-95 12:44p
finddef.o       21654   8-12-95  2:51p
      35,428 bytes in 5 file(s)             98,304 bytes allocated
 126,107,648 bytes free

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'
utility.o: In function `CPUTime':
utility.c:63: undefined reference to `times'

*** Error code 1

Now I suspect that the problem is that drand48 and CUPTime are functions
only used for Unix, is there a dos counter part at all?

Thanks
Geoff

- Raw text -


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