home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!news
- From: probreak@matt.ksu.ksu.edu (James Michael Chacon)
- Newsgroups: comp.os.linux
- Subject: Re: Yacc HELP ! Too many open files ?
- Date: 23 Dec 1992 01:43:10 -0600
- Organization: Kansas State University
- Lines: 28
- Message-ID: <1h95aeINN5ja@matt.ksu.ksu.edu>
- References: <1992Dec21.171611@rbg.informatik.th-darmstadt.de>
- NNTP-Posting-Host: matt.ksu.ksu.edu
- Keywords: Yacc, Bison
-
- qiwen@rbg.informatik.th-darmstadt.de (Alexander Dong) writes:
-
- >Hi !
-
- >I don't know why, yacc can not run ! It gives me a message:
- >too many open files ! But I haven't any open files !
- >What's wrong ?
-
- >So I used a bison an a PC, I have tried to compile the *.c File unter
- >Linux, but GCC could not find _yyerror. Perhaps I need any *.lib more.
- >But how can I get them ?
-
- >Thanks very much for your help !
-
- >Alexander
- >qiwen@rbg.informatik.th-darmstadt.de
-
- The yacc you are using is probably the shell script from one of the SLS
- distributions. This was broken, as it just kept calling itself until it
- ran out of file desciptors for your shell.
-
- Use bison -y instead as the command for yacc.
-
- You could also link yacc to bison by issueing the following command as root.
-
- rm -f /usr/bin/yacc; ln -s -f /usr/bin/bison /usr/bin/yacc
-
- James
-