-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
Undefined reference to functions of regex.h library (IDFGH-372) #2407
Comments
I believe the supplied newlib does not provide regex support but you can use std::regex from libstdc++ |
But if I use only C language there are no standard regex library? |
Has anyone found any altrnative to POSIX's regex? I'm contemplating on using https://github.com/kokke/tiny-regex-c, but it lacks some features. Is there any way to add the source code to esp-idf in order to make /components/newlib/include/regex.h work? |
bump. unless c++ regex is supported, then unbump. |
Environment
Problem Description
When building a project with C regex (#include <regex.h>) linker reports about undefined reference of
regcomp/regexec
functionsExpected Behavior
Project builds successfully.
Actual Behavior
Failed on linkage phase
Code to reproduce this issue
Debug Logs
The text was updated successfully, but these errors were encountered: