[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] `MEMP_NUM_PPP_PCB' undeclared here (not in a function)
From: |
address@hidden |
Subject: |
Re: [lwip-users] `MEMP_NUM_PPP_PCB' undeclared here (not in a function) |
Date: |
Sun, 11 Aug 2019 20:02:22 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
Hi,
first: why did you send this three times?
Am 11.08.2019 um 09:15 schrieb address@hidden:
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