Re: [lwip-users] `MEMP_NUM_PPP_PCB' undeclared here (not in a function)
markus forrer wrote: > If I remove /*(PPP_SUPPORT*6*MEMP_NUM_PPP_PCB) +*/ it works. > Looks like something changed in the new version of lwip? Yes: the ppp configuration has been split out, as this is "merely" a netif to lwip. As a result, MEMP_NUM_PPP_PCB is not defined globally (it has been defined to 0 before). Regards, Simon ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users
Re: [lwip-users] `MEMP_NUM_PPP_PCB' undeclared here (not in a function)
Hi Simon Thank you for your answer. > first: why did you send this three times? Sorry for that, I'm new here. I subscribed for the mailing list but never got a mail. So I tried again. > Seems like MEMP_NUM_SYS_TIMEOUT > references MEMP_NUM_PPP_PCB. My lwipopts.h looks like: #define MEMP_NUM_SYS_TIMEOUT (LWIP_TCP + IP_REASSEMBLY + LWIP_ARP + (2*LWIP_DHCP) + LWIP_AUTOIP + LWIP_IGMP + LWIP_DNS + (PPP_SUPPORT*6*MEMP_NUM_PPP_PCB) + (LWIP_IPV6 ? (1 + LWIP_IPV6_REASS + LWIP_IPV6_MLD) : 0)) If I remove /*(PPP_SUPPORT*6*MEMP_NUM_PPP_PCB) +*/ it works. Looks like something changed in the new version of lwip? Thank you very much and best regards Markus ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users
Re: [lwip-users] `MEMP_NUM_PPP_PCB' undeclared here (not in a function)
Hi, first: why did you send this three times? Am 11.08.2019 um 09:15 schrieb markus.for...@gmx.ch: Hello I updated lwip from 2.0.3 to 2.1.2 and get the following build error without any modifications: memp_std.h(102): `MEMP_NUM_PPP_PCB' undeclared here (not in a function) memp_std.h(102): size of array `memp_memory_SYS_TIMEOUT_base' has non-integer type memp_std.h(102): `MEMP_NUM_PPP_PCB' undeclared here (not in a function) memp_std.h(102): initializer element is not constant memp_std.h(102): (near initialization for `memp_SYS_TIMEOUT.num') Thank you very much for some hints. Seems like MEMP_NUM_SYS_TIMEOUT references MEMP_NUM_PPP_PCB. However, as this doesn't happen in our sources, it's got to be something in your project or header files. Try searching for the definition of MEMP_NUM_SYS_TIMEOUT and see where MEMP_NUM_PPP_PCB is referenced. Regards, Simon ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users
[lwip-users] `MEMP_NUM_PPP_PCB' undeclared here (not in a function)
Hello I updated lwip from 2.0.3 to 2.1.2 and get the following build error without any modifications: /lwip/src/core/memp.c(79): /lwip/src/include/lwip/priv/memp_std.h(102): `MEMP_NUM_PPP_PCB' undeclared here (not in a function) /lwip/src/include/lwip/priv/memp_std.h(102): size of array `memp_memory_SYS_TIMEOUT_base' has non-integer type /lwip/src/include/lwip/priv/memp_std.h(102): `MEMP_NUM_PPP_PCB' undeclared here (not in a function) /lwip/src/include/lwip/priv/memp_std.h(102): initializer element is not constant /lwip/src/include/lwip/priv/memp_std.h(102): (near initialization for `memp_SYS_TIMEOUT.num') Thank you very much for some hints. Best regards Markus ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users
[lwip-users] `MEMP_NUM_PPP_PCB' undeclared here (not in a function)
Hello I updated lwip from 2.0.3 to 2.1.2 and get the following build error without any modifications: /lwip/src/core/memp.c(79): /lwip/src/include/lwip/priv/memp_std.h(102): `MEMP_NUM_PPP_PCB' undeclared here (not in a function) /lwip/src/include/lwip/priv/memp_std.h(102): size of array `memp_memory_SYS_TIMEOUT_base' has non-integer type /lwip/src/include/lwip/priv/memp_std.h(102): `MEMP_NUM_PPP_PCB' undeclared here (not in a function) /lwip/src/include/lwip/priv/memp_std.h(102): initializer element is not constant /lwip/src/include/lwip/priv/memp_std.h(102): (near initialization for `memp_SYS_TIMEOUT.num') Thank you very much for some hints. Best regards Markus ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users
[lwip-users] `MEMP_NUM_PPP_PCB' undeclared here (not in a function)
Hello I updated lwip from 2.0.3 to 2.1.2 and get the following build error without any modifications: memp_std.h(102): `MEMP_NUM_PPP_PCB' undeclared here (not in a function) memp_std.h(102): size of array `memp_memory_SYS_TIMEOUT_base' has non-integer type memp_std.h(102): `MEMP_NUM_PPP_PCB' undeclared here (not in a function) memp_std.h(102): initializer element is not constant memp_std.h(102): (near initialization for `memp_SYS_TIMEOUT.num') Thank you very much for some hints. Best regards Markus ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users