home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / unix / amiga / 53 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.8 KB

  1. Path: bandelier.cs.unm.edu!iuzzolin
  2. From: iuzzolin@bandelier.cs.unm.edu (Harold Iuzzolino)
  3. Newsgroups: comp.unix.amiga
  4. Subject: Re: AMIX ld error: what does it mean? Any fix?
  5. Date: 8 Jan 1996 17:41:20 GMT
  6. Organization: The University of New Mexico, Department of Computer Science
  7. Sender: news@bandelier.cs.unm.edu
  8. Message-ID: <DKvIGv.Hsv@bandelier.cs.unm.edu>
  9. References: <DKp8C0.L5v@chaco.cs.unm.edu>
  10. NNTP-Posting-Host: bandelier.cs.unm.edu
  11.  
  12. In article <DKp8C0.L5v@chaco.cs.unm.edu>,
  13. Harold Iuzzolino <iuzzolin@chaco.cs.unm.edu> wrote:
  14. >I am trying to compile GNU fortran 77 on an A3000UX running AMIX 2.1p2a.
  15. >The C compiler is GCC 2.7.2.  When it tries to link-edit, I get the 
  16. >message:
  17. >
  18. >ld: f771: libelf error:  Memory error: output file space elf_update: 
  19. >*** Error code 1 (bu21)
  20. >
  21. >Does anyone know what this error means?
  22. >
  23.  
  24. My thanks to those who responded, and especially to Rob Healey (rhealy@
  25. mr.net) who had the simplest fix:
  26.  
  27.    " ... Basically, do a ulimit -a and then set the limits that aren't 
  28.    unlimited to unlimited and then compile. ..."
  29.  
  30. Rob's suggestion worked beautifully.  I now have GNU fortran 0.5.17 
  31. working.  It is actually a hook into gcc 2.7.2, but since I can spare 
  32. the 100 MB that gcc-2.7.2 takes, it is an improvement over having no 
  33. fortran at all.  
  34.  
  35. For those interested in updating the original AMIX gcc version 1.4.?,
  36. you will have to comment out the "long long int" (64-bit int) in the 
  37. later versions of gcc for the first compile, then recompile the new
  38. version with itself, leaving in the "long long int".  You will also 
  39. need about 150 MB of space on your hard drive, of which you can reclaim 
  40. 50 to 75 MB when you are done.  
  41.  
  42. Harold Iuzzolino
  43. E-mail:  iuzzolin@cs.unm.edu  (going away soon) 
  44.    or    iuzzolin@nmia.com    (long term address) 
  45.