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

malloc.h -> stdlib.h on macOS Catalina #48

Open
prlabu opened this issue Apr 17, 2020 · 1 comment
Open

malloc.h -> stdlib.h on macOS Catalina #48

prlabu opened this issue Apr 17, 2020 · 1 comment
Labels
documentation Primarily related to documenting usage or code

Comments

@prlabu
Copy link

prlabu commented Apr 17, 2020

Installing HTK on macOS Catalina. Following the steps outlined in HTK on OS X, error arises the make all step...

strarr.c:21:10: fatal error: 'malloc.h' file not found
#include <malloc.h>
         ^~~~~~~~~~
1 error generated.
make[1]: *** [strarr.o] Error 1
make: *** [HTKLib/HTKLib.a] Error 1

The fix, for me at least: replace line 21 (#include <malloc.h>) of ./HTKLib/strarr.c with #include <stdlib.h>

I can submit a pull request if that will help, just didn't think it's worth it for the small issue.

@colynhn
Copy link

colynhn commented Jul 3, 2020

Your method solved my problem, thanks.

@chrisbrickhouse chrisbrickhouse added the documentation Primarily related to documenting usage or code label Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Primarily related to documenting usage or code
Projects
None yet
Development

No branches or pull requests

3 participants