home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / linux / 16404 < prev    next >
Encoding:
Text File  |  1992-11-11  |  1.2 KB  |  36 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!lynx!zia.aoc.nrao.edu!laphroaig!cflatter
  3. From: cflatter@nrao.edu (Chris Flatters)
  4. Subject: Re: Bison Problem  (SLS package)
  5. Message-ID: <1992Nov11.175846.7009@zia.aoc.nrao.edu>
  6. Sender: news@zia.aoc.nrao.edu
  7. Reply-To: cflatter@nrao.edu
  8. Organization: NRAO
  9. References: <1992Nov11.080449.19481@menudo.uh.edu>
  10. Date: Wed, 11 Nov 92 17:58:46 GMT
  11. Lines: 23
  12.  
  13. In article 19481@menudo.uh.edu, wjin@cs.uh.edu (W. Woody Jin) writes:
  14. >
  15. >I have the following problem when I run bison (yacc).
  16. >Why does it happen ?   I am using SLS package.
  17. >
  18. >11:32:54> make
  19. >yacc -dv parse.y
  20. >/usr/bin/bison: Too many open files
  21. >make: *** [y.tab.c] Error 1
  22.  
  23. Take a look at /usr/bin/yacc and /usr/bin/bison.
  24.  
  25. yacc is (correctly) a shell script which invokes bison -y.
  26. bison is (incorrectly) linked to yacc.
  27.  
  28. This means that the yacc script calls itself recursively without bound.
  29. The recursion is forcibly ended when the kernel runs out of file I/O
  30. channels.
  31.  
  32. Recommended cure: reinstall bison.
  33.  
  34.     Chris Flatters
  35.     cflatter@nrao.edu
  36.