Skip to content

multiple definition of AuthenticationMiddleware #130

@minou65

Description

@minou65

Platform

ESP32

IDE / Tooling

Arduino (IDE/CLI)

What happened?

Hi
Since I have updated to esp 3.1.3, I recive the following error

ld.exe: ESPAsyncWebServer-3.3.12\Middleware.cpp.o: in function AuthenticationMiddleware::setUsername(char const*)
Middleware.cpp:56: multiple definition of AuthenticationMiddleware setUsername(char const*); WebServer\middleware\AuthenticationMiddleware.cpp.o C _daten\Arduino-Packages\packages\esp32\hardware\esp32\3.1.3\libraries\WebServer\src\middleware\AuthenticationMiddleware.cpp first defined here

ld.exe: ESPAsyncWebServer-3.3.12\Middleware.cpp.o: in function AuthenticationMiddleware::setPassword(char const*)
Middleware.cpp:61: multiple definition of AuthenticationMiddleware setPassword(char const*); WebServer\middleware\AuthenticationMiddleware.cpp.o C _daten\Arduino-Packages\packages\esp32\hardware\esp32\3.1.3\libraries\WebServer\src\middleware\AuthenticationMiddleware.cpp first defined here

When I go back to 3.0.7, from where I was comeing, the error is not anymore there

Stack Trace

nop

Minimal Reproductible Example (MRE)

nop

I confirm that:

  • I have read the documentation.
  • I have searched for similar discussions.
  • I have searched for similar issues.
  • I have looked at the examples.
  • I have upgraded to the lasted version of ESPAsyncWebServer (and AsyncTCP for ESP32).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions