Skip to content

3.10.6 fails to compile on Arduino UNO R4 WiFI #4704

Closed

Description

@R1250R-Rider

Board / MCU

Arduino Uno (ATmega328P)

LED Chipset

WS2812B / NeoPixel

FastLED Version

3.10.6

Arduino / PlatformIO version

Arduino IDE 2.3.10

Operating System

Windows

Description

Title:
FastLED 3.10.6 fails to link on Arduino UNO R4 WiFi (multiple definition of FileSystem::beginSd)

Description:

I have been using FastLED 3.10.5 ok, it has just updated to 3.10.6 and FastLED now fails to compile even with the minimal sketch code

Board:
Arduino UNO R4 WiFi

Arduino IDE:
2.3.10

FastLED:
3.10.6

Problem:

On updating to 3.10.6, my sketches now all fail to compile. This is even for a minimal sketch in Arduino as listed below:

    #include <FastLED.h>
    void setup() {}
    void loop() {}

Linker output:

multiple definition of `fl::FileSystem::beginSd(int)'

Object files involved:

fl.system.sd+.cpp.o
fl.fs.sd+.cpp.o

Full error:

C:\Users<user>\AppData\Local\arduino\sketches...\libraries\FastLED\fl\build\fl.system.sd+.cpp.o:
multiple definition of `fl::FileSystem::beginSd(int)'

C:\Users<user>\AppData\Local\arduino\sketches...\libraries\FastLED\fl\build\fl.fs.sd+.cpp.o:
first defined here

collect2.exe: error: ld returned 1 exit status

Notes:

Rolling back to FastLED 3.10.5 fixes the problem immediately.

Steps to reproduce

Install FastLED 3.10.6
Create the following sketch on Arduino UNO and compile

   #include <FastLED.h>
    void setup() {}
    void loop() {}

Minimal sketch

#include <FastLED.h>
void setup() {}
void loop() {}

Serial / debug output

C:\Users\user\AppData\Local\arduino\sketches\B9A6496141EED41963A1A6E9C4581366\libraries\FastLED\fl\build\fl.system.sd+.cpp.o: In function `fl::shared_ptr<fl::FsImpl>::reset()':
E:\user\OneDrive\Documents\Arduino\libraries\FastLED\src/fl/stl/shared_ptr.h:291: multiple definition of `fl::FileSystem::beginSd(int)'
C:\Users\user\AppData\Local\arduino\sketches\B9A6496141EED41963A1A6E9C4581366\libraries\FastLED\fl\build\fl.fs.sd+.cpp.o:E:\user\OneDrive\Documents\Arduino\libraries\FastLED\src/fl/stl/shared_ptr.h:291: first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1

Compilation error: exit status 1

Checklist

  • I have searched existing issues for duplicates
  • I have tested with the latest FastLED release or git master
  • I can reproduce this with a minimal sketch

Activity

  1. added
    status: triage
    type: bug
    on Oct 5, 2026
  2. zackees commented on Oct 6, 2026

    @zackees
    Member

    Fixed in #4714. Cause: 3.10.6 renamed the SD build unit src/fl/build/fl.system.sd+.cpp to fl.fs.sd+.cpp. Unpacking 3.10.6 over 3.10.5 leaves the old file in place, and Arduino compiles every .cpp under src/, so FileSystem::beginSd is defined twice. The next release ships an empty file under the old name, which overwrites the stale one. Workaround until then: delete libraries/FastLED completely and reinstall, or delete src/fl/build/fl.system.sd+.cpp from your install. Why CI missed it: CI only builds clean checkouts and never tests an in-place upgrade. A release-time check (ci/check_released_sources.py) now requires an empty placeholder for every compiled source file a release removes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: triagetype: bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions