From: Jens Axboe <axboe@kernel.dk>
To: Tim Delaney <2timdelaney@gmail.com>,
fio@vger.kernel.org, Stephen Cameron <stephenmcameron@gmail.com>
Subject: Re: BUG - Cannot build fio on redhat 5
Date: Tue, 14 Oct 2014 15:07:07 -0600 [thread overview]
Message-ID: <543D907B.3080005@kernel.dk> (raw)
In-Reply-To: <CAMA-6iaCvppOLvBOP6K2+Gt-BEo5x_m_BXvq8xs8K8ezgt132w@mail.gmail.com>
On 10/14/2014 01:58 PM, Tim Delaney wrote:
> Trying to make fio on redhat 5.9 results in:
>
> lex: unknown flag '-'. For usage, try
> lex --help
> make: *** [lex.yy.c] Error 1
>
> Changeset "c9fa1c8d (Stephen M. Cameron 2014-10-06 17:58:32 -0500
> 270)" introduced the lex '--header-file' option, but that option is
> not valid on redhat 5.
>
> Makefile diff...
>
> ifdef CONFIG_ARITHMETIC
> lex.yy.c: exp/expression-parser.l
> - $(QUIET_LEX)$(LEX) exp/expression-parser.l
> + $(QUIET_LEX)$(LEX) --header-file=lexer.h exp/expression-parser.l
Stephen, ideas on how to work around this? Would be nice if we could
make-do without the lexer.h generation. Unfortunately I don't have a
RHEL5 here.
Tim, what does lex --version and flex --version say?
--
Jens Axboe
next prev parent reply other threads:[~2014-10-14 21:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-14 19:58 BUG - Cannot build fio on redhat 5 Tim Delaney
2014-10-14 21:07 ` Jens Axboe [this message]
2014-10-15 3:13 ` Jens Axboe
2014-10-15 4:24 ` Stephen Cameron
2014-10-15 14:29 ` Jens Axboe
2014-10-15 14:51 ` Jens Axboe
2014-10-15 14:56 ` Greg Freemyer
2014-10-15 15:00 ` Jens Axboe
2014-10-16 20:35 ` Greg Freemyer
2014-10-16 20:43 ` Fwd: " Greg Freemyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=543D907B.3080005@kernel.dk \
--to=axboe@kernel.dk \
--cc=2timdelaney@gmail.com \
--cc=fio@vger.kernel.org \
--cc=stephenmcameron@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.