Skip to contentSkip to conversation

grub-1.95 build error

DISCUSSION Dmitriy Tchoomack 1 participant 1 message Jan 8, 2007

lore
Share & tools
lore
#0 lore raw
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.6

As usual I execute:

$ ./configure
$ make
Quoted 8 lines

and have an error:

bison -d -p grub_script_yy -b grub_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.