Displaying 2 results from an estimated 2 matches for "emscriptem".
Did you mean:
emscripten
2015 May 05
2
Compiling opus with emscripten: malloc_hook
Hi xiph,
I'm trying to compile libopus from git.xiph.org/opus.git with
emscripten. The regular:
$ emconfigure ./configure --enable-fixed-point
$ emmake make
gets me quite far, but it hangs on the use of __malloc_hook in the tests:
tests/test_opus_api.c:1776:16: error: use of undeclared identifier
'__malloc_hook'; did you mean 'malloc_hook'?
orig_malloc=__malloc_hook;
2015 May 05
0
Compiling opus with emscripten: malloc_hook
...at could find its way back
> upstream? It would be nice if libopus were emscripten compatible out
> of the box.
Presence of __malloc_hook is explicitly tested by the autoconf script;
line 593 of configure.ac in my local tree.
It won't attempt to use it unless that tests passes; does the
emscriptem stuff run the configuration tests in the correct target
environment? Are you overriding the build system?
It's not clear to me why its failing.