I am having issue building the IoT project. I am not sure what I am doing wrong. I have over 1k+ build errors on components folder. Can anyone please shade some light. Below is the list of errors.
Thank you so much for your help.
[Codebox] | ^~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/port/freertos/include/arch/sys_arch.h:72:1: error: expected declaration specifiers before 'sys_sem_t'
72 | sys_sem_t* sys_thread_sem_get(void);
| ^~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/port/freertos/include/arch/sys_arch.h:80:3: error: storage class specified for parameter 'sys_thread_core_lock_t'
80 | } sys_thread_core_lock_t;
| ^~~~~~~~~~~~~~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/port/freertos/include/arch/sys_arch.h:83:18: error: expected declaration specifiers or '...' before 'sys_thread_core_lock_
'
83 | sys_thread_tcpip(sys_thread_core_lock_t type);
| ^~~~~~~~~~~~~~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/port/include/lwipopts.h:387:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
387 | {
| ^
In file included from C:/Users/arora/esp/v5.2/esp-idf/components/newlib/platform_include/errno.h:10,
from C:/Users/arora/esp/v5.2/esp-idf/components/lwip/port/esp32xx/include/arch/cc.h:12,
from C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/arch.h:48,
from C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/debug.h:40,
from C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/opt.h:52:
C:/Users/arora/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/sys-include/errno.h:5:13: error: storage class specified for parameter 'error_t'
5 | typedef int error_t;
| ^~~~~~~
In file included from C:/Users/arora/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/sys-include/errno.h:9:
C:/Users/arora/.esp[Codebox][/Codebox]ressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/sys-include/sys/errno.h:19:13: error: storage class specified for parameter '__errno'
19 | extern int *__errno (void);
| ^~~~~~~
C:/Users/arora/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/sys-include/sys/errno.h:26:36: error: storage class specified for parameter '_sys_errlist'
26 | extern __IMPORT const char * const _sys_errlist[];
| ^~~~~~~~~~~~
C:/Users/arora/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/sys-include/sys/errno.h:27:21: error: storage class specified for parameter '_sys_nerr'
27 | extern __IMPORT int _sys_nerr;
| ^~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/port/esp32xx/include/arch/cc.h:37:18: error: storage class specified for parameter 'u8_t'
37 | typedef uint8_t u8_t;
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/port/esp32xx/include/arch/cc.h:38:18: error: storage class specified for parameter 's8_t'
38 | typedef int8_t s8_t;
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/port/esp32xx/include/arch/cc.h:39:18: error: storage class specified for parameter 'u16_t'
39 | typedef uint16_t u16_t;
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/port/esp32xx/include/arch/cc.h:40:18: error: storage class specified for parameter 's16_t'
40 | typedef int16_t s16_t;
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/port/esp32xx/include/arch/cc.h:41:18: error: storage class specified for parameter 'u32_t'
41 | typedef uint32_t u32_t;
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/port/esp32xx/include/arch/cc.h:42:18: error: storage class specified for parameter 's32_t'
42 | typedef int32_t s32_t;
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/port/esp32xx/include/arch/cc.h:45:13: error: storage class specified for parameter 'sys_prot_t'
45 | typedef int sys_prot_t;
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/arch.h:125:19: error: storage class specified for parameter 'u8_t'
125 | typedef uint8_t u8_t;
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/arch.h:125:19: error: redefinition of parameter 'u8_t'
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/port/esp32xx/include/arch/cc.h:37:18: note: previous definition of 'u8_t' with type 'uint8_t' {aka 'unsigned char'}
37 | typedef uint8_t u8_t;
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/arch.h:126:19: error: storage class specified for parameter 's8_t'
126 | typedef int8_t s8_t;
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/arch.h:126:19: error: redefinition of parameter 's8_t'
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/port/esp32xx/include/arch/cc.h:38:18: note: previous definition of 's8_t' with type 'int8_t' {aka 'signed char'}
38 | typedef int8_t s8_t;
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/arch.h:127:19: error: storage class specified for parameter 'u16_t'
127 | typedef uint16_t u16_t;
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/arch.h:127:19: error: redefinition of parameter 'u16_t'
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/port/esp32xx/include/arch/cc.h:39:18: note: previous definition of 'u16_t' with type 'uint16_t' {aka 'short unsigned int'}
39 | typedef uint16_t u16_t;
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/arch.h:128:19: error: storage class specified for parameter 's16_t'
128 | typedef int16_t s16_t;
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/arch.h:128:19: error: redefinition of parameter 's16_t'
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/port/esp32xx/include/arch/cc.h:40:18: note: previous definition of 's16_t' with type 'int16_t' {aka 'short int'}
40 | typedef int16_t s16_t;
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/arch.h:129:19: error: storage class specified for parameter 'u32_t'
129 | typedef uint32_t u32_t;
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/arch.h:129:19: error: redefinition of parameter 'u32_t'
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/port/esp32xx/include/arch/cc.h:41:18: note: previous definition of 'u32_t' with type 'uint32_t' {aka 'long unsigned int'}
41 | typedef uint32_t u32_t;
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/arch.h:130:19: error: storage class specified for parameter 's32_t'
130 | typedef int32_t s32_t;
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/arch.h:130:19: error: redefinition of parameter 's32_t'
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/port/esp32xx/include/arch/cc.h:42:18: note: previous definition of 's32_t' with type 'int32_t' {aka 'long int'}
42 | typedef int32_t s32_t;
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/arch.h:132:19: error: storage class specified for parameter 'u64_t'
132 | typedef uint64_t u64_t;
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/arch.h:133:19: error: storage class specified for parameter 's64_t'
133 | typedef int64_t s64_t;
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/arch.h:135:19: error: storage class specified for parameter 'mem_ptr_t'
135 | typedef uintptr_t mem_ptr_t;
| ^~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/arch.h:202:13: error: storage class specified for parameter 'ssize_t'
202 | typedef int ssize_t;
| ^~~~~~~
In file included from C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/arch.h:228:
C:/Users/arora/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/sys-include/ctype.h:39:12: error: storage class specified for parameter 'isalnum_l'
39 | extern int isalnum_l (int __c, locale_t __l);
| ^~~~~~~~~
C:/Users/arora/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/sys-include/ctype.h:40:12: error: storage class specified for parameter 'isalpha_l'
40 | extern int isalpha_l (int __c, locale_t __l);
| ^~~~~~~~~
C:/Users/arora/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/sys-include/ctype.h:41:12: error: storage class specified for parameter 'isblank_l'
41 | extern int isblank_l (int __c, locale_t __l);
| ^~~~~~~~~
C:/Users/arora/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/sys-include/ctype.h:42:12: error: storage class specified for parameter 'iscntrl_l'
42 | extern int iscntrl_l (int __c, locale_t __l);
| ^~~~~~~~~
C:/Users/arora/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/sys-include/ctype.h:43:12: error: storage class specified for parameter 'isdigit_l'
43 | extern int isdigit_l (int __c, locale_t __l);
| ^~~~~~~~~
C:/Users/arora/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/sys-include/ctype.h:44:12: error: storage class specified for parameter 'isgraph_l'
44 | extern int isgraph_l (int __c, locale_t __l);
| ^~~~~~~~~
C:/Users/arora/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/sys-include/ctype.h:45:12: error: storage class specified for parameter 'islower_l'
45 | extern int islower_l (int __c, locale_t __l);
| ^~~~~~~~~
C:/Users/arora/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/sys-include/ctype.h:46:12: error: storage class specified for parameter 'isprint_l'
46 | extern int isprint_l (int __c, locale_t __l);
| ^~~~~~~~~
C:/Users/arora/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/sys-include/ctype.h:47:12: error: storage class specified for parameter 'ispunct_l'
47 | extern int ispunct_l (int __c, locale_t __l);
| ^~~~~~~~~
C:/Users/arora/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/sys-include/ctype.h:48:12: error: storage class specified for parameter 'isspace_l'
48 | extern int isspace_l (int __c, locale_t __l);
| ^~~~~~~~~
C:/Users/arora/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/sys-include/ctype.h:49:12: error: storage class specified for parameter 'isupper_l'
49 | extern int isupper_l (int __c, locale_t __l);
| ^~~~~~~~~
C:/Users/arora/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/sys-include/ctype.h:50:12: error: storage class specified for parameter 'isxdigit_l'
50 | extern int isxdigit_l(int __c, locale_t __l);
| ^~~~~~~~~~
C:/Users/arora/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/sys-include/ctype.h:51:12: error: storage class specified for parameter 'tolower_l'
51 | extern int tolower_l (int __c, locale_t __l);
| ^~~~~~~~~
C:/Users/arora/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/sys-include/ctype.h:52:12: error: storage class specified for parameter 'toupper_l'
52 | extern int toupper_l (int __c, locale_t __l);
| ^~~~~~~~~
C:/Users/arora/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/sys-include/ctype.h:56:12: error: storage class specified for parameter 'isascii_l'
56 | extern int isascii_l (int __c, locale_t __l);
| ^~~~~~~~~
C:/Users/arora/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/sys-include/ctype.h:57:12: error: storage class specified for parameter 'toascii_l'
57 | extern int toascii_l (int __c, locale_t __l);
| ^~~~~~~~~
C:/Users/arora/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/sys-include/ctype.h:70:33: error: storage class specified for parameter '_ctype_'
70 | extern __IMPORT const char _ctype_[];
| ^~~~~~~
C:/Users/arora/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/xtensa-esp-elf/sys-include/ctype.h:116:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
116 | {
| ^
In file included from C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/inet.h:44,
from C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netdb.h:42:
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/def.h:96:1: error: expected declaration specifiers before 'u16_t'
96 | u16_t lwip_htons(u16_t x);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/def.h:101:1: error: expected declaration specifiers before 'u32_t'
101 | u32_t lwip_htonl(u32_t x);
| ^~~~~
In file included from C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:43,
from C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/inet.h:45:
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:52:3: error: expected specifier-qualifier-list before 'u32_t'
52 | u32_t addr;
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:51:1: warning: empty declaration
51 | struct ip4_addr {
| ^~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:57:25: error: storage class specified for parameter 'ip4_addr_t'
57 | typedef struct ip4_addr ip4_addr_t;
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:60:1: warning: empty declaration
60 | struct netif;
| ^~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:151:1: error: expected declaration specifiers before 'u8_t'
151 | u8_t ip4_addr_isbroadcast_u32(u32_t addr, const struct netif *netif);
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:154:1: error: expected declaration specifiers before 'u8_t'
154 | u8_t ip4_addr_netmask_valid(u32_t netmask);
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:204:1: error: expected declaration specifiers before 'u32_t'
204 | u32_t ipaddr_addr(const char *cp);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:205:34: error: expected declaration specifiers or '...' before 'ip4_addr_t'
205 | int ip4addr_aton(const char *cp, ip4_addr_t *addr);
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:207:26: error: type defaults to 'int' in declaration of 'ip4_addr_t' [-Werror=implicit-in
]
207 | char *ip4addr_ntoa(const ip4_addr_t *addr);
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:207:37: error: expected ';', ',' or ')' before '*' token
207 | char *ip4addr_ntoa(const ip4_addr_t *addr);
| ^
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:208:28: error: type defaults to 'int' in declaration of 'ip4_addr_t' [-Werror=implicit-in
]
208 | char *ip4addr_ntoa_r(const ip4_addr_t *addr, char *buf, int buflen);
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:208:39: error: expected ';', ',' or ')' before '*' token
208 | char *ip4addr_ntoa_r(const ip4_addr_t *addr, char *buf, int buflen);
| ^
In file included from C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip6_addr.h:50,
from C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:44:
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip6_zone.h:136:1: warning: empty declaration
136 | enum lwip_ipv6_scope_type
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip6_addr.h:60:3: error: expected specifier-qualifier-list before 'u32_t'
60 | u32_t addr[4];
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip6_addr.h:59:1: warning: empty declaration
59 | struct ip6_addr {
| ^~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip6_addr.h:67:25: error: storage class specified for parameter 'ip6_addr_t'
67 | typedef struct ip6_addr ip6_addr_t;
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip6_addr.h:339:34: error: expected declaration specifiers or '...' before 'ip6_addr_t'
339 | int ip6addr_aton(const char *cp, ip6_addr_t *addr);
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip6_addr.h:341:26: error: type defaults to 'int' in declaration of 'ip6_addr_t' [-Werror=implicit-in
]
341 | char *ip6addr_ntoa(const ip6_addr_t *addr);
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip6_addr.h:341:37: error: expected ';', ',' or ')' before '*' token
341 | char *ip6addr_ntoa(const ip6_addr_t *addr);
| ^
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip6_addr.h:342:28: error: type defaults to 'int' in declaration of 'ip6_addr_t' [-Werror=implicit-in
]
342 | char *ip6addr_ntoa_r(const ip6_addr_t *addr, char *buf, int buflen);
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip6_addr.h:342:39: error: expected ';', ',' or ')' before '*' token
342 | char *ip6addr_ntoa_r(const ip6_addr_t *addr, char *buf, int buflen);
| ^
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:54:1: warning: empty declaration
54 | enum lwip_ip_addr_type {
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:71:5: error: expected specifier-qualifier-list before 'ip6_addr_t'
71 | ip6_addr_t ip6;
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:75:3: error: expected specifier-qualifier-list before 'u8_t'
75 | u8_t type;
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:76:3: error: storage class specified for parameter 'ip_addr_t'
76 | } ip_addr_t;
| ^~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:78:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ip_addr_any_type'
78 | extern const ip_addr_t ip_addr_any_type;
| ^~~~~~~~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:244:25: error: type defaults to 'int' in declaration of 'ip_addr_t' [-Werror=implicit-int]
244 | char *ipaddr_ntoa(const ip_addr_t *addr);
| ^~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:244:35: error: expected ';', ',' or ')' before '*' token
244 | char *ipaddr_ntoa(const ip_addr_t *addr);
| ^
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:245:27: error: type defaults to 'int' in declaration of 'ip_addr_t' [-Werror=implicit-int]
245 | char *ipaddr_ntoa_r(const ip_addr_t *addr, char *buf, int buflen);
| ^~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:245:37: error: expected ';', ',' or ')' before '*' token
245 | char *ipaddr_ntoa_r(const ip_addr_t *addr, char *buf, int buflen);
| ^
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:246:33: error: expected declaration specifiers or '...' before 'ip_addr_t'
246 | int ipaddr_aton(const char *cp, ip_addr_t *addr);
| ^~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:374:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ip_addr_any'
374 | extern const ip_addr_t ip_addr_any;
| ^~~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:375:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ip_addr_broadcast'
375 | extern const ip_addr_t ip_addr_broadcast;
| ^~~~~~~~~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:410:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ip6_addr_any'
410 | extern const ip_addr_t ip6_addr_any;
| ^~~~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/inet.h:55:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'in_addr_t'
55 | typedef u32_t in_addr_t;
| ^~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/inet.h:59:3: error: expected specifier-qualifier-list before 'in_addr_t'
59 | in_addr_t s_addr;
| ^~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/inet.h:58:1: warning: empty declaration
58 | struct in_addr {
| ^~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/inet.h:64:5: error: expected specifier-qualifier-list before 'u32_t'
64 | u32_t u32_addr[4];
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/inet.h:62:1: warning: empty declaration
62 | struct in6_addr {
| ^~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/inet.h:86:30: error: storage class specified for parameter 'in6addr_any'
86 | extern const struct in6_addr in6addr_any;
| ^~~~~~~~~~~
In file included from C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:44,
from C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/sockets.h:47,
from C:/Users/arora/esp/v5.2/esp-idf/components/lwip/include/lwip/sockets.h:8,
from C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netdb.h:43:
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/err.h:89:3: error: storage class specified for parameter 'err_enum_t'
89 | } err_enum_t;
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/err.h:96:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'err_t'
96 | typedef s8_t err_t;
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/err.h:110:18: error: unknown type name 'err_t'
110 | int err_to_errno(err_t err);
| ^~~~~
In file included from C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:49:
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:112:3: error: storage class specified for parameter 'pbuf_layer'
112 | } pbuf_layer;
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:168:3: error: storage class specified for parameter 'pbuf_type'
168 | } pbuf_type;
| ^~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:200:3: error: expected specifier-qualifier-list before 'u16_t'
200 | u16_t tot_len;
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:186:1: warning: empty declaration
186 | struct pbuf {
| ^~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:232:1: warning: empty declaration
232 | struct pbuf_rom {
| ^~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:242:16: error: storage class specified for parameter 'pbuf_free_custom_fn'
242 | typedef void (*pbuf_free_custom_fn)(struct pbuf *p);
| ^~~~~~~~~~~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:249:3: error: expected specifier-qualifier-list before 'pbuf_free_custom_fn'
249 | pbuf_free_custom_fn custom_free_function;
| ^~~~~~~~~~~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:245:1: warning: empty declaration
245 | struct pbuf_custom {
| ^~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:275:25: error: expected declaration specifiers or '...' before 'pbuf_layer'
275 | struct pbuf *pbuf_alloc(pbuf_layer l, u16_t length, pbuf_type type);
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:275:39: error: expected declaration specifiers or '...' before 'u16_t'
275 | struct pbuf *pbuf_alloc(pbuf_layer l, u16_t length, pbuf_type type);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:275:53: error: expected declaration specifiers or '...' before 'pbuf_type'
275 | struct pbuf *pbuf_alloc(pbuf_layer l, u16_t length, pbuf_type type);
| ^~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:276:50: error: expected declaration specifiers or '...' before 'u16_t'
276 | struct pbuf *pbuf_alloc_reference(void *payload, u16_t length, pbuf_type type);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:276:64: error: expected declaration specifiers or '...' before 'pbuf_type'
276 | struct pbuf *pbuf_alloc_reference(void *payload, u16_t length, pbuf_type type);
| ^~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:278:34: error: expected declaration specifiers or '...' before 'pbuf_layer'
278 | struct pbuf *pbuf_alloced_custom(pbuf_layer l, u16_t length, pbuf_type type,
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:278:48: error: expected declaration specifiers or '...' before 'u16_t'
278 | struct pbuf *pbuf_alloced_custom(pbuf_layer l, u16_t length, pbuf_type type,
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:278:62: error: expected declaration specifiers or '...' before 'pbuf_type'
278 | struct pbuf *pbuf_alloced_custom(pbuf_layer l, u16_t length, pbuf_type type,
| ^~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:280:34: error: expected declaration specifiers or '...' before 'u16_t'
280 | u16_t payload_mem_len);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:282:35: error: expected declaration specifiers or '...' before 'u16_t'
282 | void pbuf_realloc(struct pbuf *p, u16_t size);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:286:1: error: expected declaration specifiers before 'u8_t'
286 | u8_t pbuf_header(struct pbuf *p, s16_t header_size);
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:287:1: error: expected declaration specifiers before 'u8_t'
287 | u8_t pbuf_header_force(struct pbuf *p, s16_t header_size);
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:288:1: error: expected declaration specifiers before 'u8_t'
288 | u8_t pbuf_add_header(struct pbuf *p, size_t header_size_increment);
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:289:1: error: expected declaration specifiers before 'u8_t'
289 | u8_t pbuf_add_header_force(struct pbuf *p, size_t header_size_increment);
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:290:1: error: expected declaration specifiers before 'u8_t'
290 | u8_t pbuf_remove_header(struct pbuf *p, size_t header_size);
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:291:47: error: expected declaration specifiers or '...' before 'u16_t'
291 | struct pbuf *pbuf_free_header(struct pbuf *q, u16_t size);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:293:1: error: expected declaration specifiers before 'u8_t'
293 | u8_t pbuf_free(struct pbuf *p);
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:294:1: error: expected declaration specifiers before 'u16_t'
294 | u16_t pbuf_clen(const struct pbuf *p);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:298:1: error: unknown type name 'err_t'
298 | err_t pbuf_copy(struct pbuf *p_to, const struct pbuf *p_from);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:299:1: error: unknown type name 'err_t'
299 | err_t pbuf_copy_partial_pbuf(struct pbuf *p_to, const struct pbuf *p_from, u16_t copy_len, u16_t offset);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:299:76: error: expected declaration specifiers or '...' before 'u16_t'
299 | err_t pbuf_copy_partial_pbuf(struct pbuf *p_to, const struct pbuf *p_from, u16_t copy_len, u16_t offset);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:299:92: error: expected declaration specifiers or '...' before 'u16_t'
299 | err_t pbuf_copy_partial_pbuf(struct pbuf *p_to, const struct pbuf *p_from, u16_t copy_len, u16_t offset);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:300:1: error: expected declaration specifiers before 'u16_t'
300 | u16_t pbuf_copy_partial(const struct pbuf *p, void *dataptr, u16_t len, u16_t offset);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:301:79: error: expected declaration specifiers or '...' before 'u16_t'
301 | void *pbuf_get_contiguous(const struct pbuf *p, void *buffer, size_t bufsize, u16_t len, u16_t offset);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:301:90: error: expected declaration specifiers or '...' before 'u16_t'
301 | void *pbuf_get_contiguous(const struct pbuf *p, void *buffer, size_t bufsize, u16_t len, u16_t offset);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:302:1: error: unknown type name 'err_t'
302 | err_t pbuf_take(struct pbuf *buf, const void *dataptr, u16_t len);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:302:56: error: expected declaration specifiers or '...' before 'u16_t'
302 | err_t pbuf_take(struct pbuf *buf, const void *dataptr, u16_t len);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:303:1: error: unknown type name 'err_t'
303 | err_t pbuf_take_at(struct pbuf *buf, const void *dataptr, u16_t len, u16_t offset);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:303:59: error: expected declaration specifiers or '...' before 'u16_t'
303 | err_t pbuf_take_at(struct pbuf *buf, const void *dataptr, u16_t len, u16_t offset);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:303:70: error: expected declaration specifiers or '...' before 'u16_t'
303 | err_t pbuf_take_at(struct pbuf *buf, const void *dataptr, u16_t len, u16_t offset);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:304:41: error: expected declaration specifiers or '...' before 'u16_t'
304 | struct pbuf *pbuf_skip(struct pbuf* in, u16_t in_offset, u16_t* out_offset);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:304:58: error: expected declaration specifiers or '...' before 'u16_t'
304 | struct pbuf *pbuf_skip(struct pbuf* in, u16_t in_offset, u16_t* out_offset);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:305:44: error: expected declaration specifiers or '...' before 'pbuf_layer'
305 | struct pbuf *pbuf_coalesce(struct pbuf *p, pbuf_layer layer);
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:306:25: error: expected declaration specifiers or '...' before 'pbuf_layer'
306 | struct pbuf *pbuf_clone(pbuf_layer l, pbuf_type type, struct pbuf *p);
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:306:39: error: expected declaration specifiers or '...' before 'pbuf_type'
306 | struct pbuf *pbuf_clone(pbuf_layer l, pbuf_type type, struct pbuf *p);
| ^~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:315:1: error: expected declaration specifiers before 'u8_t'
315 | u8_t pbuf_get_at(const struct pbuf* p, u16_t offset);
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:316:43: error: expected declaration specifiers or '...' before 'u16_t'
316 | int pbuf_try_get_at(const struct pbuf* p, u16_t offset);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:317:34: error: expected declaration specifiers or '...' before 'u16_t'
317 | void pbuf_put_at(struct pbuf* p, u16_t offset, u8_t data);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:317:48: error: expected declaration specifiers or '...' before 'u8_t'
317 | void pbuf_put_at(struct pbuf* p, u16_t offset, u8_t data);
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:318:1: error: expected declaration specifiers before 'u16_t'
318 | u16_t pbuf_memcmp(const struct pbuf* p, u16_t offset, const void* s2, u16_t n);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:319:1: error: expected declaration specifiers before 'u16_t'
319 | u16_t pbuf_memfind(const struct pbuf* p, const void* mem, u16_t mem_len, u16_t start_offset);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/pbuf.h:320:1: error: expected declaration specifiers before 'u16_t'
320 | u16_t pbuf_strstr(const struct pbuf* p, const char* substr);
| ^~~~~
In file included from C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/stats.h:42,
from C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:50:
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/mem.h:50:16: error: storage class specified for parameter 'mem_size_t'
50 | typedef size_t mem_size_t;
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/mem.h:73:27: error: expected declaration specifiers or '...' before 'mem_size_t'
73 | void *mem_trim(void *mem, mem_size_t size);
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/mem.h:74:18: error: expected declaration specifiers or '...' before 'mem_size_t'
74 | void *mem_malloc(mem_size_t size);
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/mem.h:75:18: error: expected declaration specifiers or '...' before 'mem_size_t'
75 | void *mem_calloc(mem_size_t count, mem_size_t size);
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/mem.h:75:36: error: expected declaration specifiers or '...' before 'mem_size_t'
75 | void *mem_calloc(mem_size_t count, mem_size_t size);
| ^~~~~~~~~~
In file included from C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/stats.h:43:
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/memp.h:56:3: error: storage class specified for parameter 'memp_t'
56 | } memp_t;
| ^~~~~~
In file included from C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/memp.h:58:
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/priv/memp_priv.h:119:3: error: expected specifier-qualifier-list before 'u16_t'
119 | u16_t size;
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/priv/memp_priv.h:108:1: warning: empty declaration
108 | struct memp_desc {
| ^~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/memp.h:61:38: error: storage class specified for parameter 'memp_pools'
61 | extern const struct memp_desc* const memp_pools[MEMP_MAX];
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/memp.h:147:19: error: expected declaration specifiers or '...' before 'memp_t'
147 | void *memp_malloc(memp_t type);
| ^~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/memp.h:149:17: error: expected declaration specifiers or '...' before 'memp_t'
149 | void memp_free(memp_t type, void *mem);
| ^~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:113:1: warning: empty declaration
113 | enum lwip_internal_netif_client_data_index
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:152:1: warning: empty declaration
152 | struct netif;
| ^~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:156:1: warning: empty declaration
156 | enum netif_mac_filter_action {
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:168:16: error: expected declaration specifiers or '...' before '*' token
168 | typedef err_t (*netif_init_fn)(struct netif *netif);
| ^
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:178:16: error: expected declaration specifiers or '...' before '*' token
178 | typedef err_t (*netif_input_fn)(struct pbuf *p, struct netif *inp);
| ^
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:189:16: error: expected declaration specifiers or '...' before '*' token
189 | typedef err_t (*netif_output_fn)(struct netif *netif, struct pbuf *p,
| ^
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:202:16: error: expected declaration specifiers or '...' before '*' token
202 | typedef err_t (*netif_output_ip6_fn)(struct netif *netif, struct pbuf *p,
| ^
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:212:16: error: expected declaration specifiers or '...' before '*' token
212 | typedef err_t (*netif_linkoutput_fn)(struct netif *netif, struct pbuf *p);
| ^
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:214:16: error: storage class specified for parameter 'netif_status_callback_fn'
214 | typedef void (*netif_status_callback_fn)(struct netif *netif);
| ^~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:217:16: error: expected declaration specifiers or '...' before '*' token
217 | typedef err_t (*netif_igmp_mac_filter_fn)(struct netif *netif,
| ^
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:222:16: error: expected declaration specifiers or '...' before '*' token
222 | typedef err_t (*netif_mld_mac_filter_fn)(struct netif *netif,
| ^
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:244:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'netif_addr_idx_t'
244 | typedef u8_t netif_addr_idx_t;
| ^~~~~~~~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:268:3: error: expected specifier-qualifier-list before 'ip_addr_t'
268 | ip_addr_t ip_addr;
| ^~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:260:1: warning: empty declaration
260 | struct netif {
| ^~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:412:22: error: storage class specified for parameter 'netif_list'
412 | extern struct netif *netif_list;
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:416:22: error: storage class specified for parameter 'netif_default'
416 | extern struct netif *netif_default;
| ^~~~~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:420:66: error: unknown type name 'netif_init_fn'
420 | struct netif *netif_add_noaddr(struct netif *netif, void *state, netif_init_fn init, netif_input_fn input);
| ^~~~~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:420:86: error: unknown type name 'netif_input_fn'
420 | struct netif *netif_add_noaddr(struct netif *netif, void *state, netif_init_fn init, netif_input_fn input);
| ^~~~~~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:424:35: error: type defaults to 'int' in declaration of 'ip4_addr_t' [-Werror=implicit-int]
424 | const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, const ip4_addr_t *gw,
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:424:46: error: expected ';', ',' or ')' before '*' token
424 | const ip4_addr_t *ipaddr, const ip4_addr_t *netmask, const ip4_addr_t *gw,
| ^
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:426:48: error: type defaults to 'int' in declaration of 'ip4_addr_t' [-Werror=implicit-int]
426 | void netif_set_addr(struct netif *netif, const ip4_addr_t *ipaddr, const ip4_addr_t *netmask,
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:426:59: error: expected ';', ',' or ')' before '*' token
426 | void netif_set_addr(struct netif *netif, const ip4_addr_t *ipaddr, const ip4_addr_t *netmask,
| ^
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:442:50: error: type defaults to 'int' in declaration of 'ip4_addr_t' [-Werror=implicit-int]
442 | void netif_set_ipaddr(struct netif *netif, const ip4_addr_t *ipaddr);
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:442:61: error: expected ';', ',' or ')' before '*' token
442 | void netif_set_ipaddr(struct netif *netif, const ip4_addr_t *ipaddr);
| ^
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:443:51: error: type defaults to 'int' in declaration of 'ip4_addr_t' [-Werror=implicit-int]
443 | void netif_set_netmask(struct netif *netif, const ip4_addr_t *netmask);
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:443:62: error: expected ';', ',' or ')' before '*' token
443 | void netif_set_netmask(struct netif *netif, const ip4_addr_t *netmask);
| ^
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:444:46: error: type defaults to 'int' in declaration of 'ip4_addr_t' [-Werror=implicit-int]
444 | void netif_set_gw(struct netif *netif, const ip4_addr_t *gw);
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:444:57: error: expected ';', ',' or ')' before '*' token
444 | void netif_set_gw(struct netif *netif, const ip4_addr_t *gw);
| ^
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:507:1: error: unknown type name 'err_t'
507 | err_t netif_loop_output(struct netif *netif, struct pbuf *p);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:514:1: error: unknown type name 'err_t'
514 | err_t netif_input(struct pbuf *p, struct netif *inp);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:521:46: error: expected declaration specifiers or '...' before 's8_t'
521 | void netif_ip6_addr_set(struct netif *netif, s8_t addr_idx, const ip6_addr_t *addr6);
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:521:67: error: type defaults to 'int' in declaration of 'ip6_addr_t' [-Werror=implicit-int]
521 | void netif_ip6_addr_set(struct netif *netif, s8_t addr_idx, const ip6_addr_t *addr6);
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:521:78: error: expected ';', ',' or ')' before '*' token
521 | void netif_ip6_addr_set(struct netif *netif, s8_t addr_idx, const ip6_addr_t *addr6);
| ^
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:522:52: error: expected declaration specifiers or '...' before 's8_t'
522 | void netif_ip6_addr_set_parts(struct netif *netif, s8_t addr_idx, u32_t i0, u32_t i1, u32_t i2, u32_t i3);
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:522:67: error: expected declaration specifiers or '...' before 'u32_t'
522 | void netif_ip6_addr_set_parts(struct netif *netif, s8_t addr_idx, u32_t i0, u32_t i1, u32_t i2, u32_t i3);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:522:77: error: expected declaration specifiers or '...' before 'u32_t'
522 | void netif_ip6_addr_set_parts(struct netif *netif, s8_t addr_idx, u32_t i0, u32_t i1, u32_t i2, u32_t i3);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:522:87: error: expected declaration specifiers or '...' before 'u32_t'
522 | void netif_ip6_addr_set_parts(struct netif *netif, s8_t addr_idx, u32_t i0, u32_t i1, u32_t i2, u32_t i3);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:522:97: error: expected declaration specifiers or '...' before 'u32_t'
522 | void netif_ip6_addr_set_parts(struct netif *netif, s8_t addr_idx, u32_t i0, u32_t i1, u32_t i2, u32_t i3);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:524:52: error: expected declaration specifiers or '...' before 's8_t'
524 | void netif_ip6_addr_set_state(struct netif* netif, s8_t addr_idx, u8_t state);
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:524:67: error: expected declaration specifiers or '...' before 'u8_t'
524 | void netif_ip6_addr_set_state(struct netif* netif, s8_t addr_idx, u8_t state);
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:525:1: error: expected declaration specifiers before 's8_t'
525 | s8_t netif_get_ip6_addr_match(struct netif *netif, const ip6_addr_t *ip6addr);
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:526:62: error: expected declaration specifiers or '...' before 'u8_t'
526 | void netif_create_ip6_linklocal_address(struct netif *netif, u8_t from_mac_48bit);
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:527:1: error: unknown type name 'err_t'
527 | err_t netif_add_ip6_address(struct netif *netif, const ip6_addr_t *ip6addr, s8_t *chosen_idx);
| ^~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:527:56: error: type defaults to 'int' in declaration of 'ip6_addr_t' [-Werror=implicit-int]
527 | err_t netif_add_ip6_address(struct netif *netif, const ip6_addr_t *ip6addr, s8_t *chosen_idx);
| ^~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:527:67: error: expected ';', ',' or ')' before '*' token
527 | err_t netif_add_ip6_address(struct netif *netif, const ip6_addr_t *ip6addr, s8_t *chosen_idx);
| ^
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:558:1: error: expected declaration specifiers before 'u8_t'
558 | u8_t netif_name_to_index(const char *name);
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:559:28: error: expected declaration specifiers or '...' before 'u8_t'
559 | char * netif_index_to_name(u8_t idx, char *name);
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:560:34: error: expected declaration specifiers or '...' before 'u8_t'
560 | struct netif* netif_get_by_index(u8_t idx);
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:571:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'netif_nsc_reason_t'
571 | typedef u16_t netif_nsc_reason_t;
| ^~~~~~~~~~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:607:5: error: expected specifier-qualifier-list before 'u8_t'
607 | u8_t state;
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:613:5: error: expected specifier-qualifier-list before 'u8_t'
613 | u8_t state;
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:619:20: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
619 | const ip_addr_t* old_address;
| ^
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:627:5: error: expected specifier-qualifier-list before 's8_t'
627 | s8_t addr_index;
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:635:5: error: expected specifier-qualifier-list before 's8_t'
635 | s8_t addr_index;
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:641:3: error: storage class specified for parameter 'netif_ext_callback_args_t'
641 | } netif_ext_callback_args_t;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:651:60: error: unknown type name 'netif_nsc_reason_t'
651 | typedef void (*netif_ext_callback_fn)(struct netif* netif, netif_nsc_reason_t reason, const netif_ext_callback_args_t* args);
| ^~~~~~~~~~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:651:93: error: type defaults to 'int' in declaration of 'netif_ext_callback_args_t' [-Werror=implicit-int]
651 | typedef void (*netif_ext_callback_fn)(struct netif* netif, netif_nsc_reason_t reason, const netif_ext_callback_args_t* args);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:651:118: error: expected ';', ',' or ')' before '*' token
651 | typedef void (*netif_ext_callback_fn)(struct netif* netif, netif_nsc_reason_t reason, const netif_ext_callback_args_t* args);
| ^
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:654:1: warning: empty declaration
654 | struct netif_ext_callback;
| ^~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:657:3: error: unknown type name 'netif_ext_callback_fn'
657 | netif_ext_callback_fn callback_fn;
| ^~~~~~~~~~~~~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:659:3: error: storage class specified for parameter 'netif_ext_callback_t'
659 | } netif_ext_callback_t;
| ^~~~~~~~~~~~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:662:29: error: expected declaration specifiers or '...' before 'netif_ext_callback_t'
662 | void netif_add_ext_callback(netif_ext_callback_t* callback, netif_ext_callback_fn fn);
| ^~~~~~~~~~~~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:662:61: error: unknown type name 'netif_ext_callback_fn'
662 | void netif_add_ext_callback(netif_ext_callback_t* callback, netif_ext_callback_fn fn);
| ^~~~~~~~~~~~~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:663:32: error: expected declaration specifiers or '...' before 'netif_ext_callback_t'
663 | void netif_remove_ext_callback(netif_ext_callback_t* callback);
| ^~~~~~~~~~~~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:664:53: error: unknown type name 'netif_nsc_reason_t'
664 | void netif_invoke_ext_callback(struct netif* netif, netif_nsc_reason_t reason, const netif_ext_callback_args_t* args);
| ^~~~~~~~~~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:664:86: error: type defaults to 'int' in declaration of 'netif_ext_callback_args_t' [-Werror=implicit-int]
664 | void netif_invoke_ext_callback(struct netif* netif, netif_nsc_reason_t reason, const netif_ext_callback_args_t* args);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/netif.h:664:111: error: expected ';', ',' or ')' before '*' token
664 | void netif_invoke_ext_callback(struct netif* netif, netif_nsc_reason_t reason, const netif_ext_callback_args_t* args);
| ^
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/sockets.h:61:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sa_family_t'
61 | typedef u8_t sa_family_t;
| ^~~~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/sockets.h:66:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'in_port_t'
66 | typedef u16_t in_port_t;
| ^~~~~~~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/sockets.h:72:3: error: expected specifier-qualifier-list before 'u8_t'
72 | u8_t sin_len;
| ^~~~
C:/Users/arora/esp/v5.2/esp-idf/components/lwip/lwip/src/include/lwip/sockets.h:71:1: warning: empty declaration
71 | struct sockaddr_in {
| ^~~~~~
C:/Users/arora/OneDrive/Documents/espWorkspace/udemy_esp32/main/wifi_app.c:236: error: expected '{' at end of input
cc1.exe: some warnings being treated as errors
ninja: build stopped: subcommand failed.
* The terminal process "C:\Program Files\PowerShell\7\pwsh.exe -Command ninja " terminated with exit code: 1.
[/Codebox]
Components Library Errors
-
- Posts: 2
- Joined: Mon Feb 19, 2024 1:27 pm
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: No registered users and 18 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.