Ok thanks, will apply modifications and try build again
Le jeudi 11 juillet 2019 17:09:17 UTC+2, Mehdi Sabwat a écrit : > > This is your Makefile we are talking about. The one located in > stockfish.js src/ > > On Thu, Jul 11, 2019, 17:07 laurent bernabe <[email protected] > <javascript:>> wrote: > >> I don't understand, as emsdk does not seem to have any Makefile >> >> Le jeudi 11 juillet 2019 14:26:36 UTC+2, Mehdi Sabwat a écrit : >>> >>> works with latest-upstream and removing fno-exceptions: >>> >>> diff --git a/src/Makefile b/src/Makefile >>> index 7d4d3014..acbbd65e 100644 >>> --- a/src/Makefile >>> +++ b/src/Makefile >>> @@ -177,7 +177,7 @@ ifeq ($(STATIC),1) >>> CXXFLAGS += -static >>> endif >>> >>> -CXXFLAGS += -Wall -Wcast-qual -fno-exceptions -std=c++11 $( >>> EXTRACXXFLAGS) >>> +CXXFLAGS += -Wall -Wcast-qual -std=c++11 $(EXTRACXXFLAGS) >>> DEPENDFLAGS += -std=c++11 >>> LDFLAGS += $(EXTRALDFLAGS) >>> >>> >>> >>> >>> >>> On Thursday, July 11, 2019 at 2:12:49 PM UTC+2, Floh wrote: >>>> >>>> This is the relevant error from the attached error log: >>>> >>>> > error: undefined symbol: __cxa_uncaught_exception >>>> >>>> ...may be related to this ticket: >>>> https://github.com/emscripten-core/emscripten/issues/8856 >>>> >>>> Cheers, >>>> -Floh. >>>> >>>> On Thursday, 11 July 2019 11:41:58 UTC+2, laurent bernabe wrote: >>>>> >>>>> Hi, >>>>> >>>>> I am aiming at building a custom version of StockfishJS >>>>> <https://github.com/nmrugg/stockfish.js/> in order to use it with >>>>> React-Native. >>>>> >>>>> I am using >>>>> >>>>> - Kubuntu 19.04 64 bits >>>>> - a recent version a Emscripten SDK (downloaded today) : not the >>>>> incoming, but the standard version >>>>> >>>>> >>>>> So, I started to install emscripten sdk and try to build it in a >>>>> standard way : >>>>> >>>>> 1. I went inside src subfolder of the repository sources >>>>> 2. Launched the command >>>>> >>>>> make build ARCH=wasm COMP=emscripten >>>>> >>>>> . >>>>> >>>>> But it fails, the errors are joined in the output.txt. >>>>> >>>>> The main error is >>>>> >>>>> shared:ERROR: >>>>> '/home/laurent-bernabe/Programmes/emsdk/node/8.9.1_64bit/bin/node >>>>> /home/laurent-bernabe/Programmes/emsdk/fastcomp/emscripten/src/compiler.js >>>>> >>>>> /tmp/tmpbZp3OW.txt /home/laurent-bernabe/Programmes/emsdk/fastcomp/ems >>>>> cripten/src/library_pthread_stub.js' failed (1) >>>>> >>>>> >>>>> >>>>> Thanks in advance, >>>>> >>>>> Regards >>>>> >>>> -- >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/emscripten-discuss/edb690d1-04b6-425b-983b-8225dc5c9dbb%40googlegroups.com >> >> <https://groups.google.com/d/msgid/emscripten-discuss/edb690d1-04b6-425b-983b-8225dc5c9dbb%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- 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/01e03ee7-22e1-4b7b-a5cd-ca7c898cc8a3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
