Compile errors in Heimdal: re-configure

Andrew Bartlett abartlet at
Wed Jun 16 00:32:33 UTC 2021

If you see:

source4/heimdal/lib/com_err/ In function ‘yyparse’:
source4/heimdal/lib/com_err/ error: passing
argument 1 of ‘yyerror’ discards ‘const’ qualifier from pointer target
type [-Werror=discarded-qualifiers]
 1487 |       yyerror (YY_("syntax error"));
      |                    ^~~~~~~~~~~~~~

Just re-configure or blow away bin/ as I've updated our build system
and the old configure results are not what you need to keep building.


 rm -rf bin && CC="ccache gcc" ./configure.developer && make -j 

Andrew Bartlett
Andrew Bartlett (he/him)
Samba Team Member (since 2001)
Samba Team Lead, Catalyst IT

Samba Development and Support, Catalyst IT - Expert Open Source

More information about the samba-technical mailing list