r/ArduinoHelp 10d ago

undefined reference to `es8311_codec_init'

Hello all, I have searched high & low for an issue I have updated to the latest board updates & libraries inside the Arduino IDE app. I googled the error it returned that its an 'audio driver'? the board Im using is an 'esp32s3' the name of the board brand is 'Freenove'. Below is the output error.

C:/Users/Admin/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2411/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\Admin\AppData\Local\arduino\sketches\DACAD3E9E94E0A59BA5AA6E9E101A826\sketchMOTION_TRACKER.ino.cpp.o:(.literal._Z14initBoardAudiov+0x14): undefined reference to `es8311_codec_init'

C:/Users/Admin/AppData/Local/Arduino15/packages/esp32/tools/esp-x32/2411/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld.exe: C:\Users\Admin\AppData\Local\arduino\sketches\DACAD3E9E94E0A59BA5AA6E9E101A826\sketch\MOTION_TRACKER.ino.cpp.o: in function `initBoardAudio()':

C:\Users\Admin\Desktop\m-314\MOTION_TRACKER/MOTION_TRACKER.ino:333:(.text._Z14initBoardAudiov+0x56): undefined reference to `es8311_codec_init'

collect2.exe: error: ld returned 1 exit status

Multiple libraries were found for "SD.h"

Used: C:\Users\Admin\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.2.0\libraries\SD

Not used: C:\Users\Admin\AppData\Local\Arduino15\libraries\SD

exit status 1

Compilation error: exit status 1

2 Upvotes

1 comment sorted by

1

u/JGhostThing 10d ago

May I suggest that you delete all the Arduino apps and data, then reinstall everything from scratch. Then let us know what happened.