Skip to content

[OoB_5.8]: export to make files does not build. #159

Open
@ashok-rao

Description

@ashok-rao

Steps:

  1. mbed export -i make_gcc_arm -m K64F
  2. Navigate to root of example.
  3. make clean
  4. make

Expected result:
Makefile builds binary of example.

Actual result:
Compilation fail.

C:\Ashok\mbed_CLI\OoB_5_8\TLS\mbed-os-example-tls>make
C:/Ashok/mbed_CLI/OoB_5_8/TLS/mbed-os-example-tls/makefile:805: warning: overriding commands for target `.s.o'
C:/Ashok/mbed_CLI/OoB_5_8/TLS/mbed-os-example-tls/makefile:797: warning: ignoring old commands for target `.s.o'
"Compile: main.c"
../pk_verify/main.c:23:28: fatal error: mbedtls/config.h: No such file or directory
 #include "mbedtls/config.h"
                            ^
compilation terminated.
make[1]: *** [../pk_verify/main.o] Error 1
make: *** [all] Error 2

C:\Ashok\mbed_CLI\OoB_5_8\TLS\mbed-os-example-tls>

Makefile attached (remove txt extension - only used for uploading to GitHub).

Makefile.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions