"Error compiling for board Node MCU 1.0 (ESP-12E module)"

Thread Starter

arduinolego611

Joined Jan 23, 2022
27
getting this error when I try to compile - "Error compiling for board Node MCU 1.0 (ESP-12E module)".

connecting to the MBTA (Massachusetts Bay Transit Authority) API. I got my json parsing code from ArduinoJson Assistant, and the top section of my code is from a YouTube video about connecting to an API.

I have all my libraries installed. also, a simple blink sketch seems to be compiling just fine for the Node MCU board.

any help with this error message is appreciated...


My Code:
#include <WiFiClientSecure.h>
#include <ESP8266WiFi.h>
#include <ArduinoJson.h>

char ssid[] = "******";
char password[] = "*********";
char direction_destinations;

WiFiClientSecure client;

#define TEST_HOST "https://api-v3.mbta.com"
//#define TEST_HOST_FINGERPRINT " "

void setup ()
{
  Serial.begin(9600);

  WiFi.mode(WIFI_STA);
  WiFi.disconnect();
  delay(100);

Serial.print("Connecting WiFi: ");
Serial.println(ssid);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED)
 {
  Serial.print(".");
  delay (500);
 }
Serial.println("");
Serial.println("WiFi connected");
Serial.println("IP address: ");
IPAddress ip = WiFi.localIP();
Serial.println(ip);

//client.setFingerprint (TEST_HOST_FINGERPRINT);
makeHTTPRequest ();
}

void makeHTTPRequest ()
{
  client.setTimeout(10000);
  if (!client.connect(TEST_HOST, 443))
  {
    Serial.println(F("Connection failed"));
    return;
  }

yield();

client.print(F("GET"));
client.print("/routes");   //ERROR HERE?
client.println(F(" HTTP/1.1"));

client.print(F("Host: "));
client.println(TEST_HOST);

client.println(F("Cache-control: no-cache"));

if (client.println() == 0)
{
  Serial.println(F("Failed to send request"));
  return;
}

char status[131072] = {0};
client.readBytesUntil('\r', status, sizeof(status));    //error here?
if (strcmp(status, "HTTP/1.1 200 OK") != 0)
{
  Serial.print(F("Unexpected response: "));
  Serial.println(status);
  return;
}

  char endOfHeaders[] = "\r\n\r\n";                     // error here?
  if (!client.find(endOfHeaders))
  {
    Serial.println(F("Invalid response"));
    return;
  }

while (client.available() && client.peek() != '{')      //error here?
  {
    char c = 0;
    client.readBytes(&c, 1);
    Serial.print(c);
    Serial.println("BAD");
  }

DynamicJsonDocument doc(131072);

DeserializationError error = deserializeJson(doc, client);

if (error)
  {
  Serial.print(F("deserializeJson() failed: "));
  Serial.println(error.f_str());
  return;
  }

for (JsonObject data_item : doc["data"].as<JsonArray>())        //data? replace? error?
  {
  JsonObject data_item_attributes = data_item["attributes"];
  const char* data_item_attributes_color = data_item_attributes["color"]; // "DA291C", "DA291C", "ED8B00", ...
  const char* data_item_attributes_description = data_item_attributes["description"]; // "Rapid Transit", ...

  const char* data_item_attributes_direction_destinations_0 = data_item_attributes["direction_destinations"][0];
  const char* data_item_attributes_direction_destinations_1 = data_item_attributes["direction_destinations"][1];

  const char* data_item_attributes_direction_names_0 = data_item_attributes["direction_names"][0];
  const char* data_item_attributes_direction_names_1 = data_item_attributes["direction_names"][1];

  const char* data_item_attributes_fare_class = data_item_attributes["fare_class"]; // "Rapid Transit", ...
  const char* data_item_attributes_long_name = data_item_attributes["long_name"]; // "Red Line", "Mattapan ...
  const char* data_item_attributes_short_name = data_item_attributes["short_name"]; // nullptr, nullptr, ...
  long data_item_attributes_sort_order = data_item_attributes["sort_order"]; // 10010, 10011, 10020, ...
  const char* data_item_attributes_text_color = data_item_attributes["text_color"]; // "FFFFFF", "FFFFFF", ...
  int data_item_attributes_type = data_item_attributes["type"]; // 1, 0, 1, 0, 0, 0, 0, 1, 3, 3, 3, 3, 3, ...

  const char* data_item_id = data_item["id"]; // "Red", "Mattapan", "Orange", "Green-B", "Green-C", ...

  const char* data_item_links_self = data_item["links"]["self"]; // "/routes/Red", "/routes/Mattapan", ...

  const char* data_item_relationships_line_data_id = data_item["relationships"]["line"]["data"]["id"];
  const char* data_item_relationships_line_data_type = data_item["relationships"]["line"]["data"]["type"];

  const char* data_item_type = data_item["type"]; // "route", "route", "route", "route", "route", "route", ...
  }
const char* jsonapi_version = doc["jsonapi"]["version"]; // "1.0"



Serial.print ("direction_destinations:");
Serial.println (direction_destinations);

 
}

Error Message:
Arduino: 1.8.15 (Mac OS X), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"











/private/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/AppTranslocation/D895B270-FA60-4793-B7C0-79D051915876/d/Arduino-5.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /private/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/AppTranslocation/D895B270-FA60-4793-B7C0-79D051915876/d/Arduino-5.app/Contents/Java/hardware -hardware /Users/hill/Library/Arduino15/packages -tools /private/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/AppTranslocation/D895B270-FA60-4793-B7C0-79D051915876/d/Arduino-5.app/Contents/Java/tools-builder -tools /private/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/AppTranslocation/D895B270-FA60-4793-B7C0-79D051915876/d/Arduino-5.app/Contents/Java/hardware/tools/avr -tools /Users/hill/Library/Arduino15/packages -built-in-libraries /private/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/AppTranslocation/D895B270-FA60-4793-B7C0-79D051915876/d/Arduino-5.app/Contents/Java/libraries -libraries /Users/hill/Documents/Arduino/libraries -fqbn=esp8266:esp8266:nodemcuv2:xtal=80,vt=flash,exception=disabled,stacksmash=disabled,ssl=all,mmu=3232,non32xfer=fast,eesz=4M2M,led=2,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 -ide-version=10815 -build-path /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237 -warnings=default -build-cache /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_cache_182009 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.python3.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1 -prefs=runtime.tools.python3-3.7.2-post1.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1 -prefs=runtime.tools.mklittlefs.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/mklittlefs/3.0.4-gcc10.3-1757bed -prefs=runtime.tools.mklittlefs-3.0.4-gcc10.3-1757bed.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/mklittlefs/3.0.4-gcc10.3-1757bed -prefs=runtime.tools.mkspiffs.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/mkspiffs/3.0.4-gcc10.3-1757bed -prefs=runtime.tools.mkspiffs-3.0.4-gcc10.3-1757bed.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/mkspiffs/3.0.4-gcc10.3-1757bed -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed -prefs=runtime.tools.xtensa-lx106-elf-gcc-3.0.4-gcc10.3-1757bed.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed -verbose /Users/hill/Documents/Arduino/MBTA_json_without_attributes/MBTA_json_without_attributes.ino
/private/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/AppTranslocation/D895B270-FA60-4793-B7C0-79D051915876/d/Arduino-5.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /private/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/AppTranslocation/D895B270-FA60-4793-B7C0-79D051915876/d/Arduino-5.app/Contents/Java/hardware -hardware /Users/hill/Library/Arduino15/packages -tools /private/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/AppTranslocation/D895B270-FA60-4793-B7C0-79D051915876/d/Arduino-5.app/Contents/Java/tools-builder -tools /private/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/AppTranslocation/D895B270-FA60-4793-B7C0-79D051915876/d/Arduino-5.app/Contents/Java/hardware/tools/avr -tools /Users/hill/Library/Arduino15/packages -built-in-libraries /private/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/AppTranslocation/D895B270-FA60-4793-B7C0-79D051915876/d/Arduino-5.app/Contents/Java/libraries -libraries /Users/hill/Documents/Arduino/libraries -fqbn=esp8266:esp8266:nodemcuv2:xtal=80,vt=flash,exception=disabled,stacksmash=disabled,ssl=all,mmu=3232,non32xfer=fast,eesz=4M2M,led=2,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 -ide-version=10815 -build-path /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237 -warnings=default -build-cache /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_cache_182009 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.python3.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1 -prefs=runtime.tools.python3-3.7.2-post1.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1 -prefs=runtime.tools.mklittlefs.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/mklittlefs/3.0.4-gcc10.3-1757bed -prefs=runtime.tools.mklittlefs-3.0.4-gcc10.3-1757bed.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/mklittlefs/3.0.4-gcc10.3-1757bed -prefs=runtime.tools.mkspiffs.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/mkspiffs/3.0.4-gcc10.3-1757bed -prefs=runtime.tools.mkspiffs-3.0.4-gcc10.3-1757bed.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/mkspiffs/3.0.4-gcc10.3-1757bed -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed -prefs=runtime.tools.xtensa-lx106-elf-gcc-3.0.4-gcc10.3-1757bed.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed -verbose /Users/hill/Documents/Arduino/MBTA_json_without_attributes/MBTA_json_without_attributes.ino
Using board 'nodemcuv2' from platform in folder: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2
Using core 'esp8266' from platform in folder: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2
Detecting libraries used...
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/sdk/include -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/sdk/lwip2/include -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/core -c -w -Werror=return-type -Os -g -free -fipa-pta -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++17 -ffunction-sections -fdata-sections -fno-exceptions -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10815 -DARDUINO_ESP8266_NODEMCU_ESP12E -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU_ESP12E\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO -DESP8266 -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266 -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/variants/nodemcu /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/sketch/MBTA_json_without_attributes.ino.cpp -o /dev/null
Alternatives for WiFiClientSecure.h: [ESP8266WiFi@1.0 WiFiClientSecure-main@1.0]
ResolveLibrary(WiFiClientSecure.h)
  -> candidates: [ESP8266WiFi@1.0 WiFiClientSecure-main@1.0]
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/sdk/include -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/sdk/lwip2/include -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/core -c -w -Werror=return-type -Os -g -free -fipa-pta -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++17 -ffunction-sections -fdata-sections -fno-exceptions -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10815 -DARDUINO_ESP8266_NODEMCU_ESP12E -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU_ESP12E\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO -DESP8266 -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266 -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/variants/nodemcu -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WiFi/src /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/sketch/MBTA_json_without_attributes.ino.cpp -o /dev/null
Alternatives for ArduinoJson.h: [ArduinoJson-6.x@6.19.4 ArduinoJson@6.19.3]
ResolveLibrary(ArduinoJson.h)
  -> candidates: [ArduinoJson-6.x@6.19.4 ArduinoJson@6.19.3]
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/sdk/include -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/sdk/lwip2/include -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/core -c -w -Werror=return-type -Os -g -free -fipa-pta -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++17 -ffunction-sections -fdata-sections -fno-exceptions -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10815 -DARDUINO_ESP8266_NODEMCU_ESP12E -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU_ESP12E\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO -DESP8266 -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266 -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/variants/nodemcu -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WiFi/src -I/Users/hill/Documents/Arduino/libraries/ArduinoJson/src /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/sketch/MBTA_json_without_attributes.ino.cpp -o /dev/null
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WiFi/src/BearSSLHelpers.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WiFi/src/CertStoreBearSSL.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WiFi/src/ESP8266WiFi.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WiFi/src/ESP8266WiFiAP.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WiFi/src/ESP8266WiFiGeneric.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WiFi/src/ESP8266WiFiGratuitous.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WiFi/src/ESP8266WiFiMulti.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WiFi/src/ESP8266WiFiSTA-WPS.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WiFi/src/ESP8266WiFiSTA.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WiFi/src/ESP8266WiFiScan.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WiFi/src/WiFiClient.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WiFi/src/WiFiClientSecureBearSSL.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WiFi/src/WiFiServer.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WiFi/src/WiFiServerSecureBearSSL.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WiFi/src/WiFiUdp.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WiFi/src/enable_wifi_at_boot_time.cpp
Generating function prototypes...
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/sdk/include -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/sdk/lwip2/include -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/core -c -w -Werror=return-type -Os -g -free -fipa-pta -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++17 -ffunction-sections -fdata-sections -fno-exceptions -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10815 -DARDUINO_ESP8266_NODEMCU_ESP12E -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU_ESP12E\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO -DESP8266 -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266 -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/variants/nodemcu -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WiFi/src -I/Users/hill/Documents/Arduino/libraries/ArduinoJson/src /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/sketch/MBTA_json_without_attributes.ino.cpp -o /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/preproc/ctags_target_for_gcc_minus_e.cpp
/private/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/AppTranslocation/D895B270-FA60-4793-B7C0-79D051915876/d/Arduino-5.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/Users/hill/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3 -I /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/signing.py --mode header --publickey /Users/hill/Documents/Arduino/MBTA_json_without_attributes/public.key --out /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/core/Updater_Signing.h
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/sdk/include -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/sdk/lwip2/include -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/core -c -Werror=return-type -Os -g -free -fipa-pta -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++17 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10815 -DARDUINO_ESP8266_NODEMCU_ESP12E -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU_ESP12E\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO -DESP8266 -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266 -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/variants/nodemcu -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WiFi/src -I/Users/hill/Documents/Arduino/libraries/ArduinoJson/src /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/sketch/MBTA_json_without_attributes.ino.cpp -o /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/sketch/MBTA_json_without_attributes.ino.cpp.o
Compiling libraries...
Compiling library "ESP8266WiFi"
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/libraries/ESP8266WiFi/BearSSLHelpers.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/libraries/ESP8266WiFi/ESP8266WiFi.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/libraries/ESP8266WiFi/CertStoreBearSSL.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/libraries/ESP8266WiFi/ESP8266WiFiAP.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/libraries/ESP8266WiFi/ESP8266WiFiGeneric.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/libraries/ESP8266WiFi/ESP8266WiFiGratuitous.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/libraries/ESP8266WiFi/ESP8266WiFiSTA-WPS.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/libraries/ESP8266WiFi/ESP8266WiFiSTA.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/libraries/ESP8266WiFi/ESP8266WiFiScan.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/libraries/ESP8266WiFi/ESP8266WiFiMulti.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/libraries/ESP8266WiFi/WiFiClient.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/libraries/ESP8266WiFi/WiFiClientSecureBearSSL.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/libraries/ESP8266WiFi/WiFiUdp.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/libraries/ESP8266WiFi/WiFiServerSecureBearSSL.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/libraries/ESP8266WiFi/WiFiServer.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/libraries/ESP8266WiFi/enable_wifi_at_boot_time.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/libraries/ESP8266WiFi/ESP8266WiFi.a
Compiling library "ArduinoJson"
Compiling core...
Using precompiled core: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_cache_182009/core/core_641dd63bd71752f4dca83495fee81295.a
Linking everything together...
/Users/hill/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3 -I /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/mkdir.py -p /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/ld_h/
/Users/hill/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3 -I /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/cp.py /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/sdk/ld/eagle.flash.4m2m.ld /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/ld_h/local.eagle.flash.ld.h
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-gcc -CC -E -P -DVTABLES_IN_FLASH -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/ld_h/local.eagle.flash.ld.h -o /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/local.eagle.flash.ld
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-gcc -CC -E -P -DVTABLES_IN_FLASH -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/sdk/ld/eagle.app.v6.common.ld.h -o /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/local.eagle.app.v6.common.ld
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-gcc -fno-exceptions -Wl,-Map -Wl,/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/MBTA_json_without_attributes.ino.map -g -Werror=return-type -Os -nostdlib -Wl,--no-check-sections -u app_entry -u _printf_float -u _scanf_float -Wl,-static -L/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/sdk/lib -L/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/sdk/lib/NONOSDK22x_190703 -L/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237 -L/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/sdk/libc/xtensa-lx106-elf/lib -Tlocal.eagle.flash.ld -Wl,--gc-sections -Wl,-wrap,system_restart_local -Wl,-wrap,spi_flash_read -o /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/MBTA_json_without_attributes.ino.elf -Wl,--start-group /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/sketch/MBTA_json_without_attributes.ino.cpp.o /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237/libraries/ESP8266WiFi/ESP8266WiFi.a /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_cache_182009/core/core_641dd63bd71752f4dca83495fee81295.a -lhal -lphy -lpp -lnet80211 -llwip2-536-feat -lwpa -lcrypto -lmain -lwps -lbearssl -lespnow -lsmartconfig -lairkiss -lwpa2 -lstdc++ -lm -lc -lgcc -Wl,--end-group -L/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_287237
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_cache_182009/core/core_641dd63bd71752f4dca83495fee81295.a(core_esp8266_main.cpp.o): in function `__loop_end':
/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266/core_esp8266_main.cpp:189: undefined reference to `loop'
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_cache_182009/core/core_641dd63bd71752f4dca83495fee81295.a(core_esp8266_main.cpp.o): in function `_ZL12loop_wrapperv':
/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266/core_esp8266_main.cpp:195: undefined reference to `loop'
collect2: error: ld returned 1 exit status
Multiple libraries were found for "WiFiClientSecure.h"
 Used: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WiFi
 Not used: /Users/hill/Documents/Arduino/libraries/WiFiClientSecure-main
Multiple libraries were found for "ArduinoJson.h"
 Used: /Users/hill/Documents/Arduino/libraries/ArduinoJson
 Not used: /Users/hill/Documents/Arduino/libraries/ArduinoJson-6.x
Using library ESP8266WiFi at version 1.0 in folder: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WiFi
Using library ArduinoJson at version 6.19.3 in folder: /Users/hill/Documents/Arduino/libraries/ArduinoJson
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
 
Top