Error compiling DHCP......
"Zhéxué M. Krawutschke" <[email protected]>
| Newsgroups | gmane.network.dhcp.isc.dhcp-server |
|---|---|
| Message-ID | <2a93b602-acab-4ca4-a0c9-b4982c9ff156@Canary> |
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] https://lists.isc.org/mailman/listinfo/dhcp-users
signature.asc
(application/pgp-signature, 946 B)
-----BEGIN PGP SIGNATURE----- Version: Canary PGP V3 iQJ0BAABCgBeVxxaaMOpeHXDqSBNLiBLcmF3dXRzY2hrZSBbc3lzLiAmIG5ldC5B ZG1pbiAgKFB1YmxpYyBBY2NvdW50KV0gKCkgPHN5cy5hZG1pbkByb2JvdHVtLmFp PgUCYbdLBwAKCRDbzwpXwt8QafyTD/9ifzFO/ttQtwf0rgq2DN4tzGv9TrXDurD3 P2h4nxi7rPFDJSC0RPO+m/k3ZQUDMy8mn47wJ5pF/cqbvwCxtZ+pTrOS2YmHJCY3 6/7rrNXZXQuPIaADTptbkEUwT5N5o5jQN6ooSYuKDd7zxA3r4bnjn+NwTEkqHNLq oEMFnFuW3XNSUrAilu6iSbSKnjGDCvNMYQFoF5W7PMhXlqhfGmy0ERGPbgOkIfQu PXYjVRRviurIZ7vPV38zDTGgi52Cy/ITnkpTvy2h14phoI5zn44LPWUP5hZikU8Y DvVntpSvUywAmHZT1gDP6RlqxuJVVzArYsVNUrGgJc/zLsjNaqPncCx6PUUJkhJ7 ESNw4CaInIfdTW+wvt8VMwRcwwp3gJm6dI0RpHq++Aq8EQzgXow28fvbN6nDv5I0 YmnrU7XFEQQTE/MumFas8OxEUZzhXckpUUElYOu4k2P7MmqvYAe2yPuiHOpsaFwe RlU6chS7yW1+6tekKe+gqViCGIYMpv6WdHUHN3/0qtZCbZecMfVrdKFJz3MgDFF4 4otQE5+jeVDeate4wKaLDlKYE5KDajyGg0dQpzVXW7Rqq57j8lHqhwaQgTAVz1Au g96LYzhYPtC5KQ+DBOyW+X/SgpaPw+HCq+NCLOHFf3UzsmeMAyKo0G2fvB/aEVrY /VgkHyVttA== =fQU2 -----END PGP SIGNATURE-----