oraoto/pib

Build error

Yurunsoft opened this issue · 4 comments

......

Build complete.
Don't forget to run 'make test'.

error: undefined symbol: getdtablesize
warning: To disable errors for undefined symbols use `-s ERROR_ON_UNDEFINED_SYMBOLS=0`
error: undefined symbol: getgrnam
error: undefined symbol: popen
Error: Aborting compilation due to previous errors
ERROR:root:'/root/emsdk/node/8.9.1_64bit/bin/node /root/emsdk/emscripten/tag-1.38.13/src/compiler.js /tmp/tmpqr0XyG.txt /root/emsdk/emscripten/tag-1.38.13/src/library_pthread_stub.js' failed (1)

In emscripten 1.18.13, ERROR_ON_UNDEFINED_SYMBOLS is the default, so we should add -s ERROR_ON_UNDEFINED_SYMBOLS=0 to build.sh.

Fixed: f851736

TravisCI is added to track if the build failed with latest emscripten.

Thanks!