Arduino-Add-On-for-LinkIt-SDK icon indicating copy to clipboard operation
Arduino-Add-On-for-LinkIt-SDK copied to clipboard

Undefined reference to `mbedtls_ecp_curve_info_from_name' function

Open sc0Vu opened this issue 5 years ago • 1 comments

Intro

I try to make my own library on linkit to connect to network. The library worked good if I compiled with gcc (link to installed mbedtls). But I couldn't compile with Arduino-Add-On-for-LinkIt-SDK.

Reproduce Steps

  1. make lib including mbedtls/ecp.h
  2. call mbedtls_ecp_curve_info_from_name
  3. you'll see the result

Error & Expected Results

collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board LinkIt 7697.

Environment

  • Arduino BSP Version: 1.8.9
  • OS(Windows/macOS/Linux):macOS 10.14.4
  • Additional external peripherals: Nope

sc0Vu avatar Jun 05 '19 08:06 sc0Vu