[ofa-general] Re: [PATCH 6/7 V3] osm: QoS - compiling policy file parser

Michael S. Tsirkin mst at dev.mellanox.co.il
Tue Aug 28 10:37:47 PDT 2007


> Quoting Sasha Khapyorsky <sashak at voltaire.com>:
> Subject: Re: [PATCH 6/7 V3] osm: QoS - compiling policy file parser
> 
> On 18:06 Tue 28 Aug     , Yevgeny Kliteynik wrote:
> >  Sasha Khapyorsky wrote:
> > > On 02:11 Tue 28 Aug     , Yevgeny Kliteynik wrote:
> > >> Compiling QoS policy file parser.
> > >>
> > >> C & H files are generated from Lex & Yacc files and the
> > >> generated files are compiled.
> > >> Generated files are not included in git, but they do get
> > >> included in RPM as they are also created by 'make dist'.
> > >> Generated files can be removed by "make maintainer-clean".
> > >>
> > >> Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
> > > Applied. Thanks. As discussed I will remove lex and yacc deps.
> > 
> >  After removing these deps, Lex fails on my machine.
> 
> Yes, as well as 'yacc' - the comman line is 'bison' specific.
> 
> >  Apparently, with these flags make uses "flex", and w/o them it uses "lex".
> >  I'll look into this, but in the mean time please put these flags back as
> >  OpenSM compilation is now broken.
> 
> Ok, I will put this back for now, but lex/yacc should be improved.
> 
> Sasha

It might be easier to just force flex/bison usage.

-- 
MST



More information about the general mailing list