lkcd
[Top] [All Lists]

Re: libsial: compilation failure

To: Luc Chouinard <lucc@xxxxxxx>
Subject: Re: libsial: compilation failure
From: "Matt D. Robinson" <yakker@xxxxxxxxxxxxxx>
Date: Mon, 09 Jul 2001 07:12:50 -0700
Cc: Felix Radensky <felix@xxxxxxxxx>, lkcd@xxxxxxxxxxx
References: <3B4858E5.2BD748A7@allot.com> <3B495A6D.CAA1B5AE@alacritech.com> <3B49AB93.E88B5E3E@sgi.com>
Sender: owner-lkcd@xxxxxxxxxxx
Thanks for jumping in there and fixing this, Luc. :)

--Matt

Luc Chouinard wrote:
> 
> That's right Matt.
> 
> I just checked in a sial.y that takes care of the type clash and the
> empty action.
> It should compile fine on Slackware now. Is Slackware symblink'ing yacc
> to bison ?
> 
> cvs diff sial.y
> 
> diff -r1.3 sial.y
> 75c75
> <       | ctype_decl ';'
> ---
> >       | ctype_decl ';'                { ; }
> 123,124d122
> <       ;
> <
> 
> "Matt D. Robinson" wrote:
> >
> > Hi, Felix:
> >
> > yacc != bison (at least, on my system) ... I assume you aren't
> > using Berkeley's yacc?  You are correct -- bison fails, but
> > yacc doesn't.  If you need a quick fix, use Berkeley's yacc.
> > In the meantime, I'll take a look at how to fix this.
> >
> > (I have RH on a build system, which has byacc-1.9-18)
> >
> > --Matt
> >
> > Felix Radensky wrote:
> > >
> > > Hi,
> > >
> > > I'm trying to compile lkcdutils-1.0.7 on Slackware 8.0 (gcc-2.95.3,
> > > bison-1.28).
> > > Compilation fails on file sial.y
> > >
> > > yacc -psial -v -t -d sial.y
> > > sial.y:76: type clash (`' `t') on default action
> > > sial.y:125: invalid input: ;
> > > make[1]: *** [sial.tab.h] Error 1
> > >
> > > Please help.
> > >
> > > Thanks in advance.
> > >
> > > Felix.
> 
> --
> Luc

<Prev in Thread] Current Thread [Next in Thread>