[OE-core] [PATCH] libnl: fix compilation on hosts without lex

Eric Bénard eric at eukrea.com
Mon Jan 7 20:48:42 UTC 2013


Hi Otavio,

Le Mon, 7 Jan 2013 15:59:24 -0200,
Otavio Salvador <otavio at ossystems.com.br> a écrit :

> On Mon, Jan 7, 2013 at 2:43 PM, Eric Bénard <eric at eukrea.com> wrote:
> > * libnl's makefiles are calling $(LEX) but only define $(FLEX), thus
> > compilation on a host which doesn't have lex fails with :
> > | lex --header-file=route/cls/ematch_grammar.h  -o route/cls/ematch_grammar.c route/cls/ematch_grammar.l
> > | make[1]: lex: Command not found
> > | make[1]: *** [route/cls/ematch_grammar.c] Error 127
> >
> > * this patch fix this by setting LEX variable to flex tool
> >
> > Signed-off-by: Eric Bénard <eric at eukrea.com>
> 
> I have prepared a patch for this issue but I did patch the Makefile.am
> to use $(FLEX) as this is the fix commited in upstream 3.2.17. If you
> do not object, I'd like to propose mine patch for review as it is more
> in line with upstream fix.
> 
as the end result is the same, the maintainer now has the choice ;-)

Eric




More information about the Openembedded-core mailing list