Compile errors in Heimdal: re-configure
Andrew Bartlett
abartlet at samba.org
Wed Jun 16 00:32:33 UTC 2021
If you see:
source4/heimdal/lib/com_err/parse.tab.c: In function ‘yyparse’:
source4/heimdal/lib/com_err/parse.tab.c:1487:20: 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.
eg
rm -rf bin && CC="ccache gcc" ./configure.developer && make -j
Andrew Bartlett
--
Andrew Bartlett (he/him) https://samba.org/~abartlet/
Samba Team Member (since 2001) https://samba.org
Samba Team Lead, Catalyst IT https://catalyst.net.nz/services/samba
Samba Development and Support, Catalyst IT - Expert Open Source
Solutions
More information about the samba-technical
mailing list