Hi, I had some problems compiling the dhcpserver extra:
1) Missing definitions in prot/dhcp.h that I actually solved adding a new include, with a copy of definition missing;
2) definition of macro: ip4_addr4 in lwip/lwip/src/include/lwip/ip4_addr.h: is defined as const, so the compiler refuse to compile row 208 in dhcpserver.h:
ip4_addr4(&(dhcpmsg->yiaddr)) += (freelease - state->leases);
I've solved with some workaround.
Hi, I had some problems compiling the dhcpserver extra: 1) Missing definitions in prot/dhcp.h that I actually solved adding a new include, with a copy of definition missing; 2) definition of macro: ip4_addr4 in lwip/lwip/src/include/lwip/ip4_addr.h: is defined as const, so the compiler refuse to compile row 208 in dhcpserver.h: ip4_addr4(&(dhcpmsg->yiaddr)) += (freelease - state->leases); I've solved with some workaround.
Kind Regards,
--gra