Hello, I don’t really know how to explain my projects. Basically, I want to connect to my esp8266 and in my code I have an error and I have no idea why. So that’s why I’m calling on you for help. Thanks
this is the error I got:
c:/users/iceskull/.platformio/packages/toolchain-xtensa/bin/…/lib/gcc/xtensa-lx106-elf/10.3.0/…/…/…/…/xtensa-lx106-elf/bin/ld.exe: .pio\build\huzzah\src\main.cpp.o:(.text.setup+0x84): undefined reference to _ZN5Servo6attachEi' c:/users/iceskull/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\huzzah\src\main.cpp.o:(.text.setup+0xfc): undefined reference to
_ZN5Servo6attachEi’
c:/users/iceskull/.platformio/packages/toolchain-xtensa/bin/…/lib/gcc/xtensa-lx106-elf/10.3.0/…/…/…/…/xtensa-lx106-elf/bin/ld.exe: .pio\build\huzzah\src\main.cpp.o:(.text.setup+0x10a): undefined reference to _ZN5Servo6attachEi' c:/users/iceskull/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\huzzah\src\main.cpp.o:(.text.startup._GLOBAL__sub_I_etat1+0x0): undefined reference to
_ZN5ServoC1Ev’
c:/users/iceskull/.platformio/packages/toolchain-xtensa/bin/…/lib/gcc/xtensa-lx106-elf/10.3.0/…/…/…/…/xtensa-lx106-elf/bin/ld.exe: .pio\build\huzzah\src\main.cpp.o:(.text.startup._GLOBAL__sub_I_etat1+0xd): undefined reference to _ZN5ServoC1Ev' c:/users/iceskull/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\huzzah\src\main.cpp.o:(.text.startup._GLOBAL__sub_I_etat1+0x16): undefined reference to
_ZN5ServoC1Ev’
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\huzzah\firmware.elf] Error 1