emconfigure ./configure EMCONFIGURE_JS=1 --disable-intrinsics --disable-rtcd CFAGS='-02' --disable-asm --disable-oggtest --disable-extra-programs --prefix ~/emscripten_opus
emmake make && emmake install
emcc main.c -s WASM=1 -Iinclude/opus -lopus -L$HOME/emscripten_opus/lib -s LINKABLE=1 -s EXTRA_EXPORTED_RUNTIME_METHODS='["cwrap", "ccall"]'
[parse exception: attempted pop from empty stack / beyond block start boundary at 398161 (at 0:398161)]Fatal: error in parsing inputemcc: error: '/home/user/emsdk/upstream/bin/wasm-emscripten-finalize --detect-features --global-base=1024 --check-stack-overflow /tmp/emscripten_temp_5cqqc8q2/a.out.wasm -o /tmp/emscripten_temp_5cqqc8q2/a.out.wasm.o.wasm' failed (1)Additionally I've discovered that removing the -s LINKABLE=1 argument fixes this issue, however immeidatelly causes the page to crash when I run it (SIGSEGV), so I assume this is not the way to go about it.
--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/2a14d39d-ced8-435a-bde6-fa4a991130dbo%40googlegroups.com.
Assertion failed: Cannot call unknown function decodeOggPage, make sure it is exported
[parse exception: attempted pop from empty stack / beyond block start boundary at 20550 (at 0:20550)]Fatal: error in parsing inputemcc: error: '/home/user/emsdk/upstream/bin/wasm-emscripten-finalize --detect-features --global-base=33554432 --check-stack-overflow /tmp/emscripten_temp_ugi93if_/a.out.wasm -o /tmp/emscripten_temp_ugi93if_/a.out.wasm.o.wasm' failed (1)emcc main.c -Iinclude/opus -lopus -L$HOME/emscripten_opus/lib -s EXTRA_EXPORTED_RUNTIME_METHODS='["cwrap", "ccall"]' -s ALLOW_MEMORY_GROWTH=1 -fsanitize=address -s EXPORTED_FUNCTIONS="['_decodeOggPage']"
--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/987bf27d-fca9-4ad7-9719-0c193f1d756fo%40googlegroups.com.