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

Otavio Salvador otavio at ossystems.com.br
Mon Jan 7 17:59:24 UTC 2013


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.

--
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br




More information about the Openembedded-core mailing list