Hello guys!
I want to include the http_server example in my components directory.
I added at Makefile:
EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common
like in the example code of http_server.
Unfortunately the issue raise: /esp/hello_world/build/protocol_examples_common\libprotocol_examples_common.a(connect.o):(.literal.example_connect+0x4): undefined reference to `stop'
/esp/hello_world/build/protocol_examples_common\libprotocol_examples_common.a(connect.o):(.literal.example_connect+0x28): undefined reference to `start'
/esp/esp-idf/examples/common_components/protocol_examples_common/connect.c:77: undefined reference to `start'
Can somene help me / explain me the solution?
Thank you very much
Another undefined reference ISSUE...
Re: Another undefined reference ISSUE...
Hi Alex,
It looks like maybe the component config hasn't been included in the project correctly, which is odd.
If you run "make menuconfig" do you see the "Example Connection Configuration" submenu? If you check this, save the config, and then rebuild - does it work?
Angus
It looks like maybe the component config hasn't been included in the project correctly, which is odd.
If you run "make menuconfig" do you see the "Example Connection Configuration" submenu? If you check this, save the config, and then rebuild - does it work?
Angus
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 92 guests