HomeACcessoryKid / ESP8266-HomeKit

HomeKit server Native on ESP8266_RTOS with an API approach
https://www.youtube.com/watch?v=Xnr-utWDIR8
Apache License 2.0
487 stars 74 forks source link

implicit declaration of function 'wc_HKDF' (hkc.c) #27

Closed kostasoft closed 5 years ago

kostasoft commented 7 years ago

Hello! After replacing the file hkc.c with a new one, this error occurs when compiling. The old file is compiled normally

lindien954 commented 7 years ago

Hi, Have you do this after replacing hkc.c ? ESP8266_RTOS_SDK$ cd ESP8266-HomeKit ESP8266-HomeKit$ ./deploy.sh

kostasoft commented 7 years ago

Oh sure. So I compile

kostasoft commented 7 years ago

compile

kostasoft commented 7 years ago

I added:

include <wolfssl / wolfcrypt / hmac.h>

And everything became normal