DNSserver.a

I have gotten great help here, it is really appreciated!!

I am trying to restore a commercial product but really challenged, of course I hardly know what I am doing which does not help.

Arduino: 1.8.5 (Windows 10), Board: "Adafruit Feather HUZZAH ESP8266, 80 MHz, Flash, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

Build options changed, rebuilding all
Archiving built core (caching) in: C:\Users\Ralph\AppData\Local\Temp\arduino_cache_292060\core\core_esp8266_esp8266_huzzah_CpuFrequency_80,VTable_flash,FlashSize_4M1M,
LwIPVariant_v2mss536,Debug_Disabled,DebugLevel_None____,FlashErase_none,UploadSpeed_115200_b28655e896e265c316f738bee62acfb0.a

xtensa-lx106-elf-gcc: error: libraries\DNSServer\DNSServer.a: No such file or directory

Multiple libraries were found for "ESP8266mDNS.h"
 Used: C:\Users\Ralph\Documents\Arduino\libraries\ESP8266mDNS
 Not used: C:\Users\Ralph\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.2\libraries\ESP8266mDNS
Multiple libraries were found for "DNSServer.h"
 Used: C:\Users\Ralph\Documents\Arduino\libraries\DNSServer
 Not used: C:\Users\Ralph\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.2\libraries\DNSServer
exit status 1
Error compiling for board Adafruit Feather HUZZAH ESP8266.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Where would I get DNSserver.a?

I have DNSserver 1.1.0 and ESPAsyncDNSserver 1.0.0 installed. Do I need older versions?

Thanks for the help!!

Ralph

I removed the two Arduino\libraries

Now I am getting:

Arduino: 1.8.5 (Windows 10), Board: "Adafruit Feather HUZZAH ESP8266, 80 MHz, Flash, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

Build options changed, rebuilding all
Archiving built core (caching) in: C:\Users\Ralph\AppData\Local\Temp\arduino_cache_292060\core\core_esp8266_esp8266_huzzah_CpuFrequency_80,VTable_flash,FlashSize_4M1M,LwIPVariant_v2mss536,Debug_Disabled,DebugLevel_None____,FlashErase_none,UploadSpeed_115200_b28655e896e265c316f738bee62acfb0.a
Sketch uses 427736 bytes (40%) of program storage space. Maximum is 1044464 bytes.
Global variables use 37148 bytes (45%) of dynamic memory, leaving 44772 bytes for local variables. Maximum is 81920 bytes.
C:\Users\Ralph\AppData\Local\Arduino15\packages\esp8266\tools\esptool\0.4.13/esptool.exe -vv -cd nodemcu -cb 115200 -cp COM9 -ca 0x00000 -cf C:\Users\Ralph\AppData\Local\Temp\arduino_build_47912/src.ino.bin 
esptool v0.4.13 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
	setting board to nodemcu
	setting baudrate from 115200 to 115200
	setting port from COM1 to COM9
	setting address from 0x00000000 to 0x00000000
	espcomm_upload_file
	espcomm_upload_mem
	setting serial port timeouts to 1000 ms
opening bootloader
resetting board
trying to connect
	flush start
	setting serial port timeouts to 1 ms
	setting serial port timeouts to 1000 ms
	flush complete
	espcomm_send_command: sending command header
	espcomm_send_command: sending command payload
	read 0, requested 1
trying to connect
	flush start
	setting serial port timeouts to 1 ms
	setting serial port timeouts to 1000 ms
	flush complete
	espcomm_send_command: sending command header
	espcomm_send_command: sending command payload
	read 0, requested 1
trying to connect
	flush start
	setting serial port timeouts to 1 ms
	setting serial port timeouts to 1000 ms
	flush complete
	espcomm_send_command: sending command header
	espcomm_send_command: sending command payload
	read 0, requested 1
resetting board
trying to connect
	flush start
	setting serial port timeouts to 1 ms
	setting serial port timeouts to 1000 ms
	flush complete
	espcomm_send_command: sending command header
	espcomm_send_command: sending command payload
	read 0, requested 1
trying to connect
	flush start
	setting serial port timeouts to 1 ms
	setting serial port timeouts to 1000 ms
	flush complete
	espcomm_send_command: sending command header
	espcomm_send_command: sending command payload
	read 0, requested 1
trying to connect
	flush start
	setting serial port timeouts to 1 ms
	setting serial port timeouts to 1000 ms
	flush complete
	espcomm_send_command: sending command header
	espcomm_send_command: sending command payload
	read 0, requested 1
resetting board
trying to connect
	flush start
	setting serial port timeouts to 1 ms
	setting serial port timeouts to 1000 ms
	flush complete
	espcomm_send_command: sending command header
	espcomm_send_command: sending command payload
	read 0, requested 1
trying to connect
	flush start
	setting serial port timeouts to 1 ms
	setting serial port timeouts to 1000 ms
	flush complete
	espcomm_send_command: sending command header
	espcomm_send_command: sending command payload
	read 0, requested 1
trying to connect
	flush start
	setting serial port timeouts to 1 ms
	setting serial port timeouts to 1000 ms
	flush complete
	espcomm_send_command: sending command header
	espcomm_send_command: sending command payload
	read 0, requested 1
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

re: warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed

Is that a communication problem between Arduino IDE and ESP8266 12e Huzzah?

I am using a Adafruit Huzzah

Ralph

Ralph

Yes, that's a communication issue - it's the ESP8266's equivalent to a stk500 sync error on the classic AVR boards.

Anything connected to reset, the strapping pins, or the serial pins? Disconnect those if so when uploading. I'm not familiar with that board - does it have autoreset/upload, or does it need you to reset it with the upload button held down to upload? Many ESP8266 boards do, but some use a few transistors to reset it in upload mode using DTR and RTS.

Thanks for the reply!!

Adafruit Huzzah

It has a reset button and a GPIO 0 button.

I will try the Adafruit forum.

It is strange that removing the DNSserver folders from the Library has gotten me to this error.

No one ever answered my question about DNSserver.a.

Thanks again,

Ralph

Ralphpdq:
It is strange that removing the DNSserver folders from the Library has gotten me to this error.

The two things are completely unrelated. When you removed the problematic DNSserver library it allowed your code to finally compile. Then you ran into an upload error. Upload errors have nothing to do with your code. You would have the same error no matter what code you were attempting to upload.

Thanks,

Yes pert, I found that out trying to load blink.ino.

So where might I find DNSserver.a?

Ralph

You don't need to find it. Your code is compiling. Likely DNSserver.a is a file generated during the compilation process. It is now possible for libraries to use precompiled archive files but this feature has only been available since Arduino IDE 1.8.6 so it's very unlikely that your DNSserver is using that feature.

Thanks but, I stopped getting the DNSserver.a only after I removed the DSserver folder from Arduino\Library!

If I restore the DNSserver library I will get the DNSserver.a file not found.

Ralph

Why do you want to restore it? My understanding is that you had two libraries named DNSServer on your computer:

Ralphpdq:

Multiple libraries were found for "DNSServer.h"

Used: C:\Users\Ralph\Documents\Arduino\libraries\DNSServer
Not used: C:\Users\Ralph\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.2\libraries\DNSServer

And you removed the one at C:\Users\Ralph\Documents\Arduino\libraries\DNSServer. Likely you never should have installed the library to that location in the first place. We already went through this same sort of scenario with other libraries you installed in strange places for unknown reasons.

I just copied the Arduino GIT CORE download to the Libraries folder.

That seemed like the logical thing to do, you are saying the Arduino GIT CORE download should just be ignored?

Ralph

What is the "Arduino GIT CORE"? Post a link to where you downloaded it from.

GitHub - arduino/ArduinoCore-avr: The Official Arduino AVR core
https://github.com/arduino/ArduinoCore-avr
The Official Arduino AVR core. Contribute to arduino/ArduinoCore-avr development by creating an account on GitHub.

"The Official Arduino AVR core" sorta implies that it is important.

Ralph

...which is why the Arduino IDE comes pre-installed with it.

The files are specific to the AVR architecture. For this reason, the Arduino IDE is configured to only use those files when an AVR board is selected. If you put those files in your {sketchbook folder}/libraries folder it could cause those files to be used for non-AVR boards, which won't work.

You're really making things much more difficult than they need to be. Are you finding instructions to do these things somewhere, or are you just making it up as you go along?

Anyway, there is no DNSServer in "The Official Arduino AVR Core" so that has nothing to do with why you had that library at C:\Users\Ralph\Documents\Arduino\libraries\DNSServer.