On Sun, 27 Oct 2002, Reinhard Karcher wrote:
> Am Sonntag, 27. Oktober 2002 14:54 schrieb Lars Bj�rndal:
> > Compile problem: I've upgraded to RedHat 8.0 since the last time I
> > compiled Dosemu. The error message is:
> >
> > make[3]: Entering directory `/home/lrs/dosemu-1.1.3/src/base/init'
> > bison -y -v -do parser.c parser.y
> > gcc -c -D_GNU_SOURCE -O2 -fomit-frame-pointer -MD -mcpu=i686
[...]
> -I/home/lrs/dosemu-1.1.3/src/include/slang -DYYPURE -o parser.o parser.c
> > parser.y: In function `yyparse':
> > parser.y:554: parse error before '}' token
> Your yacc or bison is too new. There is an ; missing after config.pc = $2.
> If you edit parser.y in line 554 and put the ; in it, you can build your
> dosemu.
Thanks, I've fixed that now so it will be in the next pre. The right file
to fix is parser.y.in. Parser.y is generated from parser.y.in during the
configuration stage, so if you don't change parser.y as well, you must
use 'make distclean' to clean everything + the old config.
I'll make a 1.1.3.6 available with this patch and the new sound code later
this week.
Bart
--- dosemu-1.1.3.5/src/base/init/parser.y.in Sun Oct 27 00:46:40 2002
+++ dosemu-1.1.3.6/src/base/init/parser.y.in Sun Oct 27 12:29:48 2002
@@ -514,7 +514,7 @@
else
c_printf("CONF: Ignoring 'rdtsc' statement\n");
}
- | PCI bool { config.pci = $2 }
+ | PCI bool { config.pci = $2; }
| BOOTA
{ IFCLASS(CL_BOOT){
if (priv_lvl)
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html