grub-1.95 build error
Quoted 15 lines
I try to build grub-1.95. My system is:
OS: Slackware 10.2
compiler: gcc: Configured with: ../gcc-3.3.6/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux Thread model: posix
gcc version 3.3.6As usual I execute:
$ ./configure $ make
Quoted 8 lines
and have an error:
bison -d -p
grub_script_yy-bgrub_script./normal/parser.y ./normal/parser.y:54: unrecognized: %lex-param
./normal/parser.y:54: Skipping to next %
./normal/parser.y:55: unrecognized: %parse-param
./normal/parser.y:55: Skipping to next %
make: *** [grub_script.tab.c] Error 1
The problem is in old bison version, on slackware 10.2 installed bison 1.31. I try to build grub on slackware 11.0 with bison 2.1 - it builds normally.