Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Won't compile in Debug mode: undefined reference to `_ZTVN10iotwebconf17WebRequestWrapperE' #289

Open
fourwheel opened this issue Dec 11, 2024 · 1 comment

Comments

@fourwheel
Copy link

Hi!
I would like to build in VSCode with Platformio in debug mode (by putting build_type = debug into platformio.ini)
Unfortunatelly, the built will run into an error for unresolved symbols.

The error message I receive is:

c:/users/XYZ/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\nodemcu\src\main.cpp.o:(.text._ZNSt17_Function_handlerIFvvEZ5setupEUlvE_E9_M_invokeERKSt9_Any_data+0x4): undefined reference to _ZTVN10iotwebconf17WebRequestWrapperE' c:/users/XYZ/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\nodemcu\src\main.cpp.o: in function _ZNSt14_Function_baseD4Ev':
C:\Users\XYZ.platformio\packages\framework-arduinoespressif8266\cores\esp8266/WString.h:210: undefined reference to _Z11configSavedv' c:/users/XYZ/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\nodemcu\lib8da\libIotWebConf.a(IotWebConf.cpp.o):(.text._ZN10iotwebconf10IotWebConfC2EPKcP9DNSServerPNS_16WebServerWrapperES2_S2_+0x0): undefined reference to _ZTVN10iotwebconf16WebServerWrapperE'

I was searching the internet and found this post, where the same/similar problem is described: https://sysprogs.com/w/forums/topic/cant-compile-debug-configuration-for-esp8226-and-iotwebconf/

Any hints, any tips?

Thank you!

@toshinori8
Copy link

hej. Did you find solution to this? I have same problem on ESP32 S3. On NodeMCU v1 no problems at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants