home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / c / 17002 < prev    next >
Encoding:
Internet Message Format  |  1992-11-22  |  862 b 

  1. Path: sparky!uunet!noc.near.net!bigboote.WPI.EDU!bigwpi.WPI.EDU!llew
  2. From: llew@bigwpi.WPI.EDU (Lok C. Lew Yan Voon)
  3. Newsgroups: comp.lang.c
  4. Subject: has anybody heard of 'onexit' ?
  5. Date: 23 Nov 1992 01:55:08 GMT
  6. Organization: Worcester Polytechnic Institute
  7. Lines: 19
  8. Distribution: world
  9. Message-ID: <1epdlsINNkrm@bigboote.WPI.EDU>
  10. NNTP-Posting-Host: bigwpi.wpi.edu
  11.  
  12. i'm running a set of f77 codes on a dec3100 (ultrix),
  13. together with a C interface for doing dynamic memory
  14. allocation.
  15.  
  16. now i decided to convert all the prog into C by using f2c.
  17. when i tried to compile everything, the linker complains:
  18.     Undefined:
  19.     onexit
  20.  
  21. i did a grep on all the .c files and there's no 'onexit'
  22. string.
  23. (btw, i had done the same on a different platform and
  24. there's no problem.)
  25.  
  26. does anyone know what's going on?
  27. (i've no knowledge of C beyond chp one of K&R!)
  28.  
  29. thanks,
  30. lok
  31.