Re: Error compiling DHCP......

"Zhéxué M. Krawutschke" <[email protected]>
Newsgroups gmane.network.dhcp.isc.dhcp-server
Message-ID <3c9be759-d942-413a-a216-f04dc302f20e__40184.950821434$1639493301$gmane$org@Canary>
Hi Glenn,

yes, I confirm, that I want to use 4.4.2-P1 from your WEB-Site (https://www.isc.org/download/#DHCP), not 4.4.1...
My Operating system is Debian Bullseye on ARM64 - Architecture
gcc iwas 10.2
the command-line was:
./configure --prefix=/usr/local/NamedService/dhcp/Rel.4.4.2-P1 --enable-dhcpv6 --enable-dhcpv4o6 --enable-use-sockets --enable-log-pid --enable-libtool --localedir=/etc/default --localstatedir=/usr/local/NamedService/dhcp/db

In this constellation íve got this error message.
best regards

Zhéxué Matthias

> On Dienstag, Dez. 14, 2021 at 6:24 AM, Glenn Satchell <[email protected] (mailto:[email protected])> wrote:
>
> Hi Zhéxué
>
>
> I think some background information might help here. Can you reply with the answers to these questions?
>
> confirm the DHCP version is 4.4.1-P1?
> What operating system, and version? eg centos, ubuntu, bsd, etc
> gcc version
> the complete command line used with ./configure
>
>
> This may help someone identify what's going on.
>
>
> regards,
>
>
> Glenn
>
>
> On 2021-12-14 00:30, Zhéxué M. Krawutschke wrote:
>
> > Hello together,
> >
> > I am new here and have a problem compiling the software, the system compiles the software with errors.
> >
> > I get the following error message:
> >
> > gcc -DHAVE_CONFIG_H -I. -I../includes -I.. -DLOCALSTATEDIR='"/usr/local/NamedService/dhcp/db"' -g -O2 -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
> > mdb6.c: In function 'create_prefix6':
> > mdb6.c:1948:3: error: writing 16 bytes into a region of size 1 [-Werror=stringop-overflow=]
> > 1948 | memcpy(new_ds.buffer->data + ds.len, &tmp, sizeof(tmp));
> > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > In file included from ../includes/dhcpd.h:97,
> > from mdb6.c:175:
> > ../includes/tree.h:62:16: note: at offset 0 to object 'data' with size 1 declared here
> > 62 | unsigned char data [1];
> > | ^~~~
> > cc1: all warnings being treated as errors
> > make[2]: *** [Makefile:781: dhcpd-mdb6.o] Error 1
> > make[2]: Leaving directory '/root/tools/software/dhcp-4.4.2-P1/server'
> > make[1]: *** [Makefile:970: all-recursive] Error 1
> > make[1]: Leaving directory '/root/tools/software/dhcp-4.4.2-P1/server'
> > make: *** [Makefile:496: all-recursive] Error 1
> >
> >
> >
> >
> > What am I possibly doing wrong here? How can I correct this error?
> >
> > Best regards
> >
> > Z. Matthias
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
> >
> > dhcp-users mailing list
> > [email protected] (mailto:[email protected])
> > https://lists.isc.org/mailman/listinfo/dhcp-users _______________________________________________
> ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
>
> dhcp-users mailing list
> [email protected]
> https://lists.isc.org/mailman/listinfo/dhcp-users

_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/dhcp-users
signature.asc (application/pgp-signature, 946 B)
-----BEGIN PGP SIGNATURE-----
Version: Canary PGP V3

iQJ0BAABCgBeVxxaaMOpeHXDqSBNLiBLcmF3dXRzY2hrZSBbc3lzLiAmIG5ldC5B
ZG1pbiAgKFB1YmxpYyBBY2NvdW50KV0gKCkgPHN5cy5hZG1pbkByb2JvdHVtLmFp
PgUCYbiumgAKCRDbzwpXwt8QaeSzD/wJUzYtpOPq2KYUKB456upLBAs9m0h6iy66
CstWAjQ9QXCoZ8ByWDHx4MX3aiXJDSFmxGXxWsNu35oi/WJBM7DvebjprFd76oRg
fkaCthfVXRooZJgKHIeB1gNS5RElu8Qot+aVAf7oSWRTCy5ugWZNV+EzIJOiVwe8
EjG4UwdoIZu0WiZYGab0KHQ2heHsf1Ux1LMbmrH9X7lRMr9VnK4J6oji44iLnB6P
G6oc2W8t4PR2yaHwz+b22R5plft8HYZABjz0JhB7BvAHytGrlIXioXrzTiiY13sv
3QMBCbFEwWeYd2+zVr1nHleduxDMqq1DOfK8TpXQcieda43H1pyykdpAGR0x1pi4
r095iXaWyc0IVHrEyZuzQ9DItF+8kI40zj4PsdGQMlIuV2R2BALJXE0NIxa59PDN
GTFIH1G7ExSX67PHNZxHqEpLYw8vfqxhlDHdtyb5vtzdlK5nq3lN50/36rM0EZ2/
PkqRPodcnzDPjl3DnGj67UO5NcA4DIIStgDpGvEW5GJJvw4qZvVlL/PH0BX7yBwv
eZmpe+K6v7jWv6DiC7Oo4XNAiQ9eVdj7KRPo0kR7JUtDEwae53YjquaPZLeLrlNf
tnXbCE9i7OR5sFDTWBvsIuGOhYAmZ+hvz1pzeK30jNMxENCgr2vw7i3MSS4xosIG
je0vwXYiDA==
=SJeC
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.