Is it possible there is an object file or library built with an older version of the compiler?
emcc --clear-cache to rebuild system libs may also help, if the upgrade didn't rebuild them. On Tue, Oct 29, 2019 at 11:05 AM caiiiycuk <[email protected]> wrote: > Hi! Recently I updated dosbox to compile both on fastcomp+emterpreter and > upstream+asyncify. upstream+asyncify version is default now, but I want to > have option to use fastcomp+empterpreter. Now when I try to build fastcomp > version I have this errors: > warning: undefined symbol: __wasi_fd_close > warning: undefined symbol: __wasi_fd_fdstat_get > warning: undefined symbol: __wasi_fd_read > warning: undefined symbol: __wasi_fd_seek > warning: undefined symbol: __wasi_fd_write > > And typical stack of error: > abort js-dos.js line 1 > eval:8 > ___wasi_fd_write js-dos.js line 1 > eval:8 > ___stdio_write js-dos.js line 1 > WebAssembly.compile:1029969 > ___fwritex js-dos.js line 1 > WebAssembly.compile:706919 > _fwrite js-dos.js line 1 > WebAssembly.compile:75144 > _extract_zip js-dos.js line 1 > WebAssembly.compile:992635 > _extract_zip js-dos.js line 1 > eval:8 > success js-dos-fs.ts:76 > onReadyStateChange js-dos-xhr.ts:102 > onreadystatechange js-dos-xhr.ts:80 > > where extract_zip is function to extract zip files based on C file api > (fopen, fclose, fread). > > I missed something? > Thanks > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/emscripten-discuss/fce49bf1-21c9-4d26-a030-9e2f813890eb%40googlegroups.com > <https://groups.google.com/d/msgid/emscripten-discuss/fce49bf1-21c9-4d26-a030-9e2f813890eb%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAEX4NpTO%2BF9w6eSMaEyvbbkwrKaQbxsN82GmxKjU7FV14mME4w%40mail.gmail.com.
