error: unknown type name 'psk_hint_key_t'

Willen
Posts: 4
Joined: Mon May 25, 2020 3:17 am

error: unknown type name 'psk_hint_key_t'

Postby Willen » Thu Jun 04, 2020 7:40 am

Hi ESP guys,
I used git clone to reinstall my esp-mdf framwork in my ubuntu OS. When I built a demo project (such as no_router project) by Make, the following error issue displayed, how can I do? Thank you!


CC build/esp_http_client/esp_http_client.o
In file included from /home/user/esp/esp-mdf/esp-idf/components/esp_http_client/esp_http_client.c:31:
/home/user/esp/esp-mdf/esp-idf/components/tcp_transport/include/esp_transport_ssl.h:150:73: error: unknown type name 'psk_hint_key_t'
void esp_transport_ssl_set_psk_key_hint(esp_transport_handle_t t, const psk_hint_key_t* psk_hint_key);
^~~~~~~~~~~~~~
/home/user/esp/esp-mdf/esp-idf/make/component_wrapper.mk:291: recipe for target 'esp_http_client.o' failed
make[1]: *** [esp_http_client.o] Error 1
/home/user/esp/esp-mdf/esp-idf/make/project.mk:635: recipe for target 'component-esp_http_client-build' failed
make: *** [component-esp_http_client-build] Error 2

Who is online

Users browsing this forum: No registered users and 66 guests