Skip to content
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

Cannot build an imported project that has managed components (undefined reference) (IEP-1273) #1004

Open
sfeutrier opened this issue Jun 25, 2024 · 2 comments

Comments

@sfeutrier
Copy link

Describe the bug
My team has a project managed on GIT. I got the project and imported it in Espressif-IDE. I first faced an issue saying that my components has been modified locally so I run the bat script to remove the ".component_hash" files.
I tried again to build but now I face an issue of "undefined reference".

station/managed_components/espressif__iot_bridge/src/bridge_wifi.c:209:(.text.esp_bridge_create_softap_netif+0x18): undefined reference to esp_netif_create_default_wifi_ap'`

Note it says the calls to esp_netif_create_default_wifi_ap is at line 209 in this file. But it's not. It's at line 285. But I don't know if it's relevant.

Expected behavior
I should succeed to build without any issue.

Espressif-IDE Product Information:
Console.txt

Eclipse Error log:
error_logs

@github-actions github-actions bot changed the title Cannot build an imported project that has managed components (undefined reference) Cannot build an imported project that has managed components (undefined reference) (IEP-1273) Jun 25, 2024
@kolipakakondal
Copy link
Collaborator

Hi @sfeutrier Could you please provide a sample project to reproduce the problem so that we can take a look?

@sfeutrier
Copy link
Author

Hello @kolipakakondal
I cannot provide a sample project as it is under NDA, sorry.
What I can say is that I removed the sdkconfig (not the .default one). Rebuild and tada, it worked!
I have no clue on what happened. It made us this with several Espressif-IDE projects maintained on Git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants