chaos / genders

Genders is a static cluster configuration database used for cluster configuration management. It is used by a variety of tools and scripts for management of large clusters.
GNU General Public License v2.0
35 stars 12 forks source link

genders_query.tab.c:1908:3: error: expected expression at end of input #45

Open Alessandro-Barbieri opened 4 years ago

Alessandro-Barbieri commented 4 years ago

I get this when building the latest code

genders_query.tab.c: In function 'yyparse':
genders_query.tab.c:1908:3: error: expected expression at end of input
 1908 |   if (yychar <= YYEOF)
      |   ^~
genders_query.tab.c:1908:3: error: expected declaration or statement at end of input
genders_query.tab.c:1897:5: error: label 'yydefault' used but not defined
 1897 |     goto yydefault;
      |     ^~~~
genders_query.tab.c:1882:5: error: label 'yyacceptlab' used but not defined
 1882 |     YYACCEPT;
      |     ^~~~~~~~
genders_query.tab.c:1877:9: error: label 'yyabortlab' used but not defined
 1877 |         YYABORT;
      |         ^~~~~~~
genders_query.tab.c:1859:11: error: label 'yyexhaustedlab' used but not defined
 1859 |           goto yyexhaustedlab;
      |           ^~~~
chu11 commented 4 years ago

Got some similar errors, I think a make distclean; ./autogen.sh; ./configure needs to be done. Atleast for me.