beetle-psx-libretro icon indicating copy to clipboard operation
beetle-psx-libretro copied to clipboard

Emscripten compilation fails

Open BurningChicky opened this issue 5 years ago • 1 comments

Is Emscripten a supported platform? When I compile with Retroarch Emscripten, I get the following errors:

error: undefined symbol: gg_filestream_close
warning: Link with `-s LLD_REPORT_UNDEFINED` to get more information on undefined symbols
warning: To disable errors for undefined symbols use `-s ERROR_ON_UNDEFINED_SYMBOLS=0`
warning: _gg_filestream_close may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: gg_filestream_get_size
warning: _gg_filestream_get_size may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: gg_filestream_open
warning: _gg_filestream_open may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: gg_filestream_read
warning: _gg_filestream_read may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: gg_filestream_read_file
warning: _gg_filestream_read_file may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: gg_filestream_seek
warning: _gg_filestream_seek may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: gg_filestream_tell
warning: _gg_filestream_tell may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: gg_filestream_write
warning: _gg_filestream_write may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: gg_scond_free
warning: _gg_scond_free may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: gg_scond_new
warning: _gg_scond_new may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: gg_scond_signal
warning: _gg_scond_signal may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: gg_scond_wait
warning: _gg_scond_wait may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: gg_scond_wait_timeout
warning: _gg_scond_wait_timeout may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: gg_slock_free
warning: _gg_slock_free may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: gg_slock_lock
warning: _gg_slock_lock may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: gg_slock_new
warning: _gg_slock_new may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: gg_slock_unlock
warning: _gg_slock_unlock may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: gg_sthread_create
warning: _gg_sthread_create may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: gg_sthread_join
warning: _gg_sthread_join may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: gg_string_trim_whitespace_right
warning: _gg_string_trim_whitespace_right may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
Error: Aborting compilation due to previous errors

BurningChicky avatar May 08 '20 12:05 BurningChicky

This is fixed at head, you will need to adjust the "MEMORY" flag in the Makefile.emscripten for the frontend when building though.

thelamer avatar Nov 14 '21 20:11 thelamer