-
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 `if_nametoindex' (IDFGH-12575) #13577
Labels
Resolution: NA
Issue resolution is unavailable
Status: Done
Issue is done internally
Type: Bug
bugs in IDF
Comments
github-actions
bot
changed the title
undefined reference to `if_nametoindex'
undefined reference to `if_nametoindex' (IDFGH-12575)
Apr 10, 2024
espressif-bot
added
Status: In Progress
Work is in progress
and removed
Status: Opened
Issue is new
labels
Apr 16, 2024
Hi @AxelLin, For a workaround you can use |
espressif-bot
added
Status: Reviewing
Issue is being reviewed
and removed
Status: In Progress
Work is in progress
labels
Apr 24, 2024
espressif-bot
assigned david-cermak and espressif-abhikroy and unassigned espressif-abhikroy and david-cermak
May 3, 2024
espressif-bot
added
Status: Done
Issue is done internally
Resolution: NA
Issue resolution is unavailable
and removed
Status: Reviewing
Issue is being reviewed
labels
May 13, 2024
espressif-bot
pushed a commit
that referenced
this issue
Jul 3, 2024
espressif-bot
pushed a commit
that referenced
this issue
Jul 3, 2024
espressif-bot
pushed a commit
that referenced
this issue
Jul 4, 2024
espressif-bot
pushed a commit
that referenced
this issue
Aug 7, 2024
eshjordan
pushed a commit
to eshjordan/esp-idf
that referenced
this issue
Sep 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Resolution: NA
Issue resolution is unavailable
Status: Done
Issue is done internally
Type: Bug
bugs in IDF
Answers checklist.
IDF version.
v5.1.3-416-gd23b7a0361
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
What is the expected behavior?
if_nametoindex() should pass compilation.
What is the actual behavior?
compile error: undefined reference to `if_nametoindex'
Steps to reproduce.
Follow https://docs.espressif.com/projects/esp-idf/zh_CN/v5.1.2/esp32/api-reference/kconfig.html#config-lwip-netif-api to set CONFIG_LWIP_NETIF_API=y.
Add below code and compile:
int rc = if_nametoindex("sta0");
Then got compile error: undefined reference to `if_nametoindex'
Build or installation Logs.
No response
More Information.
No response
The text was updated successfully, but these errors were encountered: