Article View: gnu.misc.discuss
Article #72789help with bison needed
From: David Boles
Date: Mon, 13 Jan 1992 15:58
Date: Mon, 13 Jan 1992 15:58
17 lines
1422 bytes
1422 bytes
My apologies if this is not the place to ask this, but there is no gnu.utils.help newsgroup here. I am having a problem using the parser generated by bison. I am running it on an SGI 4D/310 using IRIX 3.3.2, a SysV thingy. I followed (to the best of my knowledge) the instructions for making bison, using an alloca.o from my emacs installation. However when I try to use the parser output from bison, I get errors. If I try to link the final executable without also linking alloca.o (note that this is the executable for _my_ code, not the bison executable) I get an error that alloca is undefined. If I link in alloca.o, I get an error xmalloc undefined. Now, I found xmalloc in the source to bison, and indeed it is called in the parser. Why is such a call generated in the parser? What am I doing wrong? Thanks, David Boles
Technical Details
Message-ID:
<1992Jan13.155818.10855@chpc.utexas.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!wupost!cs.utexas.edu!hermes.chpc.utexas.edu!apas611Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1025b4,3edd52e97aaa926f,start X-Google-Attributes: gid1025b4,public X-Google-ArrivalTime: 1992-01-13 08:06:57 PST Newsgroups: gnu.misc.discuss Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!wupost!cs.utexas.edu!hermes.chpc.utexas.edu!apas611 From: apas611@chpc.utexas.edu (David Boles) Subject: help with bison needed Message-ID: <1992Jan13.155818.10855@chpc.utexas.edu> Organization: The University of Texas System - CHPC Distribution: usa Date: Mon, 13 Jan 92 15:58:18 GMT Lines: 19