G77 fork problems

Dave Love d.love@dl.ac.uk
Mon Jan 18 15:38:00 GMT 1999


>>>>> "SMS" == Suhaib M Siddiqi <ssiddiqi@inspirepharm.com> writes:

 SMS> Has anyone any suggestions why G77 (EGCS-1.1.1) gives undefined
 SMS> refernece to fork_.  I get same problem on RedHat Linux 5.2 with
 SMS> EGCS-1.1.1 and Cygnus-B20 with EGCS-1.1.1.

 SMS> gridu.f: undefined reference to `fork_'
 SMS> collect2: ld returned 1 exit status.

Presumably you haven't defined a Fortran-callable routine `fork' in
what you're linking.  If you expected it to be a g77 intrinsic, you're
out of luck.  I think its absence is discussed in the doc somewhere.




More information about the Gcc-bugs mailing list