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

  1. Path: rznews.rrze.uni-erlangen.de!news
  2. From: chrisbfd@theorie3.physik.uni-erlangen.de (Christian Bauernfeind)
  3. Newsgroups: comp.unix.amiga
  4. Subject: Re: AMIX ld error: what does it mean? Any fix?
  5. Date: 6 Jan 1996 15:43:22 GMT
  6. Organization: Regionales Rechenzentrum Erlangen, Germany
  7. Message-ID: <4cm5aq$ki9@rznews.rrze.uni-erlangen.de>
  8. References: <DKp8C0.L5v@chaco.cs.unm.edu> <4cjsbm$goi@globe.indirect.com>
  9. NNTP-Posting-Host: pocken.physik.uni-erlangen.de
  10. X-Newsreader: knews 0.9.3
  11.  
  12. In article <4cjsbm$goi@globe.indirect.com>,
  13.     fnf@fishpond.amigalib.com (Fred Fish) writes:
  14. >In article <DKp8C0.L5v@chaco.cs.unm.edu>,
  15. >Harold Iuzzolino <iuzzolin@chaco.cs.unm.edu> wrote:
  16. >>ld: f771: libelf error:  Memory error: output file space elf_update: 
  17. >>*** Error code 1 (bu21)
  18. >
  19. >This means you ran out of virtual memory space.  The error message
  20. >is pretty bogus.  I believe you have to change a couple of the kernel
  21. >tuning parameters and rebuild it to be rid of this problem.
  22. >
  23.  
  24. Hard to believe. I kept running into exacltly the same error (with gdb),
  25. and the swap space wasn't even used by half. _But_ Amix lets you add a
  26. swap file at run time, no need for a new kernel (didn't help me though.)
  27.  
  28. What solved the problem for me was replacing the -g compiler flag with 
  29. -O. Simple as that. (And you don't want to debug it anyway :-)
  30.  
  31. (Didn't you maintain gdb for a while Fred? You cost me a couple of gray 
  32. hairs! ;-)
  33.  
  34. Christian
  35. -- 
  36. Christian Bauernfeind <chrisbfd@theorie3.physik.uni-erlangen.de>
  37.  
  38. You make a grown man cry...
  39.  
  40.