<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi <span class="adr">Zhéxué</span></p>
<p>I think some background information might help here. Can you reply with the answers to these questions?</p>
<ol>
<li>confirm the DHCP version is 4.4.1-P1?</li>
<li>What operating system, and version? eg centos, ubuntu, bsd, etc</li>
<li>gcc version</li>
<li>the complete command line used with ./configure</li>
</ol>
<p>This may help someone identify what's going on.</p>
<p>regards,</p>
<p>Glenn</p>
<p id="reply-intro">On 2021-12-14 00:30, Zhéxué M. Krawutschke wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="replybody1">
<div><img id="v15A0DC51878A86EF7A1BB3232C2D20AFB" src="https://read-receipts.canarymail.io:8100/track/FCA67E6230579D93B761CDD4D8860DD3_5A0DC51878A86EF7A1BB3232C2D20AFB.png" width="0px" height="0px" />
<div id="v1CanaryBody">
<div>Hello together,</div>
<div> </div>
<div>
<div>I am new here and have a problem compiling the software, the system compiles the software with errors.</div>
<div> </div>
<div>I get the following error message:</div>
<div> </div>
<div>
<p class="v1p1" style="margin: 0px; font-stretch: normal; font-size: 17px; line-height: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); -webkit-text-size-adjust: auto;"><span class="v1s1" style="font-family: UICTFontTextStyleBody; font-size: 17px;">gcc -DHAVE_CONFIG_H -I. -I../includes <span class="v1Apple-converted-space"> </span>-I.. -DLOCALSTATEDIR='"/usr/local/NamedService/dhcp/db"' <span class="v1Apple-converted-space"> </span>-g -O2 <span class="v1Apple-converted-space"> </span>-Wall -Werror -fno-strict-aliasing -I../includes -I/root/tools/software/dhcp-4.4.2-P1/bind/include -MT dhcpd-mdb6.o -MD -MP -MF .deps/dhcpd-mdb6.Tpo -c -o dhcpd-mdb6.o `test -f 'mdb6.c' || echo './'`mdb6.c</span></p>
<p class="v1p1" style="margin: 0px; font-stretch: normal; font-size: 17px; line-height: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); -webkit-text-size-adjust: auto;"><span class="v1s1" style="font-family: UICTFontTextStyleBody; font-size: 17px;">mdb6.c: In function 'create_prefix6':</span></p>
<p class="v1p1" style="margin: 0px; font-stretch: normal; font-size: 17px; line-height: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); -webkit-text-size-adjust: auto;"><span class="v1s1" style="font-family: UICTFontTextStyleBody; font-size: 17px;">mdb6.c:1948:3: error: writing 16 bytes into a region of size 1 [-Werror=stringop-overflow=]</span></p>
<p class="v1p1" style="margin: 0px; font-stretch: normal; font-size: 17px; line-height: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); -webkit-text-size-adjust: auto;"><span class="v1s1" style="font-family: UICTFontTextStyleBody; font-size: 17px;"> 1948 | <span class="v1Apple-converted-space"> </span>memcpy(new_ds.buffer->data + ds.len, &tmp, sizeof(tmp));</span></p>
<p class="v1p1" style="margin: 0px; font-stretch: normal; font-size: 17px; line-height: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); -webkit-text-size-adjust: auto;"><span class="v1s1" style="font-family: UICTFontTextStyleBody; font-size: 17px;"> <span class="v1Apple-converted-space"> </span>| <span class="v1Apple-converted-space"> </span>^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span></p>
<p class="v1p1" style="margin: 0px; font-stretch: normal; font-size: 17px; line-height: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); -webkit-text-size-adjust: auto;"><span class="v1s1" style="font-family: UICTFontTextStyleBody; font-size: 17px;">In file included from ../includes/dhcpd.h:97,</span></p>
<p class="v1p1" style="margin: 0px; font-stretch: normal; font-size: 17px; line-height: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); -webkit-text-size-adjust: auto;"><span class="v1s1" style="font-family: UICTFontTextStyleBody; font-size: 17px;"> <span class="v1Apple-converted-space"> </span>from mdb6.c:175:</span></p>
<p class="v1p1" style="margin: 0px; font-stretch: normal; font-size: 17px; line-height: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); -webkit-text-size-adjust: auto;"><span class="v1s1" style="font-family: UICTFontTextStyleBody; font-size: 17px;">../includes/tree.h:62:16: note: at offset 0 to object 'data' with size 1 declared here</span></p>
<p class="v1p1" style="margin: 0px; font-stretch: normal; font-size: 17px; line-height: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); -webkit-text-size-adjust: auto;"><span class="v1s1" style="font-family: UICTFontTextStyleBody; font-size: 17px;"> <span class="v1Apple-converted-space"> </span>62 | <span class="v1Apple-converted-space"> </span>unsigned char data [1];</span></p>
<p class="v1p1" style="margin: 0px; font-stretch: normal; font-size: 17px; line-height: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); -webkit-text-size-adjust: auto;"><span class="v1s1" style="font-family: UICTFontTextStyleBody; font-size: 17px;"> <span class="v1Apple-converted-space"> </span>| <span class="v1Apple-converted-space"> </span>^~~~</span></p>
<p class="v1p1" style="margin: 0px; font-stretch: normal; font-size: 17px; line-height: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); -webkit-text-size-adjust: auto;"><span class="v1s1" style="font-family: UICTFontTextStyleBody; font-size: 17px;">cc1: all warnings being treated as errors</span></p>
<p class="v1p1" style="margin: 0px; font-stretch: normal; font-size: 17px; line-height: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); -webkit-text-size-adjust: auto;"><span class="v1s1" style="font-family: UICTFontTextStyleBody; font-size: 17px;">make[2]: *** [Makefile:781: dhcpd-mdb6.o] Error 1</span></p>
<p class="v1p1" style="margin: 0px; font-stretch: normal; font-size: 17px; line-height: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); -webkit-text-size-adjust: auto;"><span class="v1s1" style="font-family: UICTFontTextStyleBody; font-size: 17px;">make[2]: Leaving directory '/root/tools/software/dhcp-4.4.2-P1/server'</span></p>
<p class="v1p1" style="margin: 0px; font-stretch: normal; font-size: 17px; line-height: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); -webkit-text-size-adjust: auto;"><span class="v1s1" style="font-family: UICTFontTextStyleBody; font-size: 17px;">make[1]: *** [Makefile:970: all-recursive] Error 1</span></p>
<p class="v1p1" style="margin: 0px; font-stretch: normal; font-size: 17px; line-height: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); -webkit-text-size-adjust: auto;"><span class="v1s1" style="font-family: UICTFontTextStyleBody; font-size: 17px;">make[1]: Leaving directory '/root/tools/software/dhcp-4.4.2-P1/server'</span></p>
<p class="v1p1" style="margin: 0px; font-stretch: normal; font-size: 17px; line-height: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); -webkit-text-size-adjust: auto;"><span class="v1s1" style="font-family: UICTFontTextStyleBody; font-size: 17px;">make: *** [Makefile:496: all-recursive] Error 1</span></p>
</div>
<div> </div>
<div> </div>
<div> </div>
<div>What am I possibly doing wrong here? How can I correct this error?</div>
</div>
<div>Best regards</div>
<div> </div>
<div>Z. Matthias</div>
</div>
<div id="v1CanarySig" style="left: 0px;">
<div>
<div style="font-family: Helvetica;"> </div>
<div> </div>
</div>
</div>
<div id="v1CanaryDropbox"> </div>
</div>
</div>
<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">_______________________________________________<br />ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" target="_blank" rel="noopener noreferrer">https://www.isc.org/contact/</a> for more information.<br /><br />dhcp-users mailing list<br /><a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br /><a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank" rel="noopener noreferrer">https://lists.isc.org/mailman/listinfo/dhcp-users</a></div>
</blockquote>
</body></html>