bportaluri / WiFiEsp

Arduino WiFi library for ESP8266 modules
GNU General Public License v3.0
550 stars 210 forks source link

BUG (unknown) (redefinition and other) #186

Open paolovr70 opened 5 years ago

paolovr70 commented 5 years ago

Arduino:1.8.9 (Windows 10), Scheda:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

C:\Users\paolo\Google Drive...\Arduino\libraries\WiFiEsp\src\WiFiEspServer.cpp: In member function 'begin':

C:\Users\paolo\Google Drive...\Arduino\libraries\WiFiEsp\src\WiFiEspServer.cpp:58:1: internal compiler error: Segmentation fault

}

^

Please submit a full bug report,

with preprocessed source if appropriate.

See http://gcc.gnu.org/bugs.html for instructions.

lto-wrapper.exe: fatal error: C:\Users\paolo\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2/bin/avr-gcc returned 1 exit status

compilation terminated.

c:/users/paolo/appdata/local/arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/../lib/gcc/avr/5.4.0/../../../../avr/bin/ld.exe: error: lto-wrapper failed

collect2.exe: error: ld returned 1 exit status

Errore durante la compilazione per la scheda Arduino/Genuino Mega or Mega 2560.

In file included from C:\Users\paolo....\Oggetti\Elettronica\Arduino\libraries\WiFiEsp\src/WiFiEsp.h:30:0,

             from C:\Users\paolo\Google Drive\...\Arduino\2019\sketch_jan29_v1.29_ET_P_RTC_LCD_DH_SN_L_SDA_G_B_IFT_IP_W_T_B_GS\sketch_jan29_v1.29_ET_P_RTC_LCD_DH_SN_L_SDA_G_B_IFT_IP_W_T_B_GS.ino:22:

C:\Users\paolo...\Oggetti\Elettronica\Arduino\libraries\WiFiEsp\src/utility/EspDrv.h:43:0: warning: "MAX_SOCK_NUM" redefined

define MAX_SOCK_NUM 4

^

In file included from C:\Users\paolo\Google Drive...\Arduino\2019\sketch_jan29_v1.29_ET_P_RTC_LCD_DH_SN_L_SDA_G_B_IFT_IP_W_T_B_GS\sketch_jan29_v1.29_ET_P_RTC_LCD_DH_SN_L_SDA_G_B_IFT_IP_W_T_B_GS.ino:16:0:

C:\Users\paolo\Google Drive...\Arduino\libraries\Ethernet\src/Ethernet.h:39:0: note: this is the location of the previous definition

define MAX_SOCK_NUM 8

^

JAndrassy commented 5 years ago

this is know bug in the compiler and has nothing to do with this library. use Arduino AVR boards package 1.6.21