I am a new user in Fortran77. Can someone please help me out with this matter. When I am trying to compile the code in this link (http://earthquake.usgs.gov/research/software/#HASH
), I get the following error:
fmech_subs.o: In function `focalmc_':
.text+0xa9f): undefined reference to `rand_'
collect2: ld returned 1 exit status
I have no idea why I got this error on Ubuntu linux. In fact, I have tried it with Mandriva and the compilation went well with no errors.
Thank you in advance for your help.