The Wayback Machine - https://web.archive.org/web/20200621140835/https://github.com/HaxeFoundation/haxe/issues/9251
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: mbedtls/debug.h: No such file or directory #9251

Open
eclipticccc opened this issue Mar 17, 2020 · 3 comments
Open

Fatal error: mbedtls/debug.h: No such file or directory #9251

eclipticccc opened this issue Mar 17, 2020 · 3 comments
Assignees
Labels
Milestone

Comments

@eclipticccc
Copy link

@eclipticccc eclipticccc commented Mar 17, 2020

Hi there, I'm trying to build Haxe with OCaml 4.02.3 and dune 1.11.4. When I try running make however, I get this error:

File "libs/javalib/jData.ml", line 1:
Error: Some fatal warnings were triggered (2 occurrences)
    ocamlc libs/mbedtls/mbedtls_stubs.o (exit 2)
(cd _build/default/libs/mbedtls && /home/admin/.opam/4.02.3/bin/ocamlc.opt -g -ccopt -O -ccopt -fno-defer-pop -ccopt -Wall -ccopt -D_FILE_OFFSET_BITS=64 -ccopt -D_REENTRANT -ccopt -O -ccopt -fPIC -ccopt -g -o mbedtls stubs.o mbedtls stubs.c)
mbedtls_stubs.c:21:10: fatal error: mbedtls/debug.h: No such file or directory
  #include "mbedtls/debug.h"
                ^~~~~~~~~~~~
compilation terminated.
@RealyUniqueName
Copy link
Member

@RealyUniqueName RealyUniqueName commented Mar 17, 2020

If you're building on Windows, then you need this: https://github.com/Simn/mingw64-mbedtls

@eclipticccc
Copy link
Author

@eclipticccc eclipticccc commented Mar 17, 2020

I'm building on Ubuntu 18.04 LTS.

@RealyUniqueName
Copy link
Member

@RealyUniqueName RealyUniqueName commented Mar 18, 2020

Huh, I'm building on Ubuntu 18.04 LTS too and I didn't have any issues. Do you have libmbedtls-dev installed? If you don't, try $ sudo apt install libmbedtls-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.