home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 21501 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  1.3 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!news
  2. From: probreak@matt.ksu.ksu.edu (James Michael Chacon)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Yacc HELP ! Too many open files ?
  5. Date: 23 Dec 1992 01:43:10 -0600
  6. Organization: Kansas State University
  7. Lines: 28
  8. Message-ID: <1h95aeINN5ja@matt.ksu.ksu.edu>
  9. References: <1992Dec21.171611@rbg.informatik.th-darmstadt.de>
  10. NNTP-Posting-Host: matt.ksu.ksu.edu
  11. Keywords: Yacc, Bison
  12.  
  13. qiwen@rbg.informatik.th-darmstadt.de (Alexander Dong) writes:
  14.  
  15. >Hi !
  16.  
  17. >I don't know why, yacc can not run ! It gives me a message:
  18. >too many open files ! But I haven't any open files !
  19. >What's wrong ?
  20.  
  21. >So I used a bison an a PC, I have tried to compile the *.c File unter 
  22. >Linux, but GCC could not find _yyerror. Perhaps I need any *.lib more.
  23. >But how can I get them ?
  24.  
  25. >Thanks very much for your help !
  26.  
  27. >Alexander
  28. >qiwen@rbg.informatik.th-darmstadt.de
  29.  
  30. The yacc you are using is probably the shell script from one of the SLS
  31. distributions. This was broken, as it just kept calling itself until it 
  32. ran out of file desciptors for your shell.
  33.  
  34. Use bison -y instead as the command for yacc.
  35.  
  36. You could also link yacc to bison by issueing the following command as root.
  37.  
  38. rm -f /usr/bin/yacc; ln -s -f /usr/bin/bison /usr/bin/yacc
  39.  
  40. James
  41.