Re: BUG - Cannot build fio on redhat 5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Been traveling all day, so only just now saw this thread... I can take
a look tomorrow, if you haven't already solved it.  I don't have
access to any rhel5 systems though.

-- steve


On Tue, Oct 14, 2014 at 4:07 PM, Jens Axboe <axboe@xxxxxxxxx> wrote:
> 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
>
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux