On 2014-10-06 16:31, Stephen Cameron wrote:
Glad I could help, and that this got fio going for you, and it's ok as
a temporary fix, but really, it should just work without having to
mess around with such things, so I still have some work to do to
figure out how to make that happen.
Neto, can you try this patch? It's basically what Steve sent, just
wrapped up into a complete patch. Apply the patch, make clean, and then
make.
--
Jens Axboe
diff --git a/Makefile b/Makefile
index d735ec7e991d..1c2994366718 100644
--- a/Makefile
+++ b/Makefile
@@ -277,7 +277,7 @@ y.tab.o: y.tab.c y.tab.h
$(QUIET_CC)$(CC) -o $@ $(CFLAGS) $(CPPFLAGS) -c $<
y.tab.c: exp/expression-parser.y
- $(QUIET_YACC)$(YACC) --no-lines -d exp/expression-parser.y
+ $(QUIET_YACC)$(YACC) --no-lines -d -b y exp/expression-parser.y
y.tab.h: y.tab.c
diff --git a/configure b/configure
index f7d8ff92b22c..e3ec25232706 100755
--- a/configure
+++ b/configure
@@ -1279,14 +1279,14 @@ LEX=$(which lex 2> /dev/null)
if test -x "$LEX" ; then
lex="yes"
fi
-YACC=$(which yacc 2> /dev/null)
+YACC=$(which bison 2> /dev/null)
if test -x "$YACC" ; then
yacc="yes"
+ yacc_is_bison="yes"
else
- YACC=$(which bison 2> /dev/null)
+ YACC=$(which yacc 2> /dev/null)
if test -x "$YACC" ; then
yacc="yes"
- yacc_is_bison="yes"
fi
fi
if test "$yacc" = "yes" && test "$lex" = "yes" ; then