internetofhomethings / ESP8266-Triple-Server

HTPP, MQTT and CoAP Server
14 stars 7 forks source link

Functions are conflicting how to resolve please help #2

Open heartinstaller opened 1 year ago

heartinstaller commented 1 year ago

There are many function conflict errors but here posting one. please guide to resolve this issue.

In file included from /Users/USER/Documents/phd_project/Application code/3in1_code_repo/trails/http_coap_mqtt_server/http_coap_mqtt_server.ino:24: /Users/USER/Documents/Arduino/libraries/webserver/mem_manager.h:72:7: error: conflicting declaration of C function 'void pvPortMalloc(size_t)' 72 | void pvPortMalloc( size_t xWantedSize ) ;//ICACHE_FLASH_ATTR; | ^~~~ In file included from /Users/USER/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.2/cores/esp8266/pgmspace.h:12, from /Users/USER/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.2/cores/esp8266/Arduino.h:292, from /private/var/folders/mk/x70t1tx91w178bk5123cv3yh0000gn/T/arduino/sketches/1C5C5214B62B574260D418DC3F6FD861/sketch/http_coap_mqtt_server.ino.cpp:1: /Users/USER/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.2/tools/sdk/include/ets_sys.h:202:7: note: previous declaration 'void pvPortMalloc(size_t, const char, int)' 202 | void pvPortMalloc(size_t xWantedSize, const char file, int line) attribute((malloc, alloc_size(1))); | ^~~~

heartinstaller commented 1 year ago

3 functions are causing the error: conflicting declaration. please help

heartinstaller commented 1 year ago

I'm getting 140+ errors please someone save me.

pcarew commented 2 months ago

Hello @heartinstaller , did you manage to get this up and running? I'm considering trying this out but wanted to understand what the current chance of installation success was.