[comp.sources.games.bugs] compiling and linking omega

rdj@ttrdf.UUCP (Robert D. Jackson) (01/27/88)

In article <655@rivm05.UUCP> ccea3@rivm.UUCP (Adri Verhoef) writes:
... stuff deleted ...
>When omega finally was loading on my VAX 11/750 - which runs system V -
>ld complained:
>	I don't know about:
>_srandom()
>_random()
>	No output written to omega
>
>Q: Where do I get these?


Try using these #define's in odefs.h

extern long lrand48();
#define random() lrand48()
#define srandom(seed) srand48(seed)



-- 
Bob Jackson  (rdj@ttrdf)  312-982-3578
AT&T Information Systems
Computer Systems Division, 5555 Touhy Ave., Skokie, IL  60077
PATH:  ...!ihnp4!ttrdf!rdj