Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!udel!princeton!phoenix!mplevine From: mplevine@phoenix.Princeton.EDU (Marshall P. Levine) Newsgroups: comp.sys.amiga Subject: Help with Lattice 5.04 Message-ID: <13504@phoenix.Princeton.EDU> Date: 2 Feb 90 15:04:08 GMT Reply-To: mplevine@phoenix.Princeton.EDU (Marshall P. Levine) Distribution: na Organization: Computer Science Department, Princeton University Lines: 17 I recently bought Lattice 5.04. I wrote a small test program in two modules. The smaller module has the main function. The larger one has a function called by main. It also contains a call to drand48(). The moment the program reaches the call to drand48(), the computer crashes. I compiled the program with : lc -Lm main.c terrain.c I also tried, lc -Lm -fl main.c terrain.c Both crash. I did include math.h in the module that has drand48 and I did seed the generator with srand48(). Help, please!!!!!!!!!!! -- Marshall Levine mplevine@phoenix.princeton.edu