Cannot make libnl

C470IP c470ip at
Wed Oct 17 17:26:42 UTC 2012


While compiling libnl I get the following errors:

route/cls/ematch_grammar.c:773:5: error: unknown type name 'YYSTYPE'
route/cls/ematch_grammar.c:816:1: error: unknown type name 'YYSTYPE'
route/cls/ematch_grammar.c:818:23: error: unknown type name 'YYSTYPE'
route/cls/ematch_grammar.c:931:17: error: unknown type name 'YYSTYPE'
route/cls/ematch_grammar.c:954:1: error: unknown type name 'YYSTYPE'
route/cls/ematch_grammar.c:2433:1: error: unknown type name 'YYSTYPE'
route/cls/ematch_grammar.c:2439:23: error: unknown type name 'YYSTYPE'
route/cls/ematch_grammar.c:1766:26: warning: 'yy_get_previous_state' defined 
but not used [-Wunused-function]
route/cls/ematch_grammar.c:1799:26: warning: 'yy_try_NUL_trans' defined but 
not used [-Wunused-function]
route/cls/ematch_grammar.c:1631:12: warning: 'yy_get_next_buffer' defined 
but not used [-Wunused-function]
make[2]: *** [route/cls/ematch_grammar.lo] Error 1
make[2]: Exiting `/libnl/lib'
make[1]: *** [all] Error 2
make[1]: Exiting `/libnl/lib'
make: *** [all-recursive] Error 1

I've tried bison 2.2, 2.3 and 2.6.2 with no success. Byacc and flex are also 
installed. Is it possible to fix these errors somehow? Unfortunately my 
knowledge of source syntax is not sufficient.

With best regards, C470IP. 

More information about the linux-dect mailing list