-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Hi there! I'd love to get this working but can't get it to build:
** OCaml configuration completed successfully **
echo "/usr/local/lib/ocaml/stublibs" > ld.conf
echo "/usr/local/lib/ocaml" >> ld.conf
sed -n -e '/^ /s/ \([A-Z]\)/ \&\&lbl_\1/gp' \
-e '/^}/q' caml/instruct.h > caml/jumptbl.h
emcc -O2 -fno-strict-aliasing -fwrapv -D_FILE_OFFSET_BITS=64 -DCAML_NAME_SPACE -Wall -Werror -c interp.c
In file included from interp.c:24:
./caml/fail.h:51:9: error: 'sigsetjmp' macro redefined [-Werror,-Wmacro-redefined]
#define sigsetjmp(buf,save) setjmp(buf)
^
/Users/mweichert/Projects/emsdk/fastcomp/emscripten/system/include/libc/setjmp.h:24:9: note: previous definition is here
#define sigsetjmp(buf, x) setjmp((buf))
^
1 error generated.
shared:ERROR: compiler frontend failed to generate LLVM bitcode, halting
make: *** [interp.o] Error 1
emcc -O2 -fno-strict-aliasing -fwrapv -D_FILE_OFFSET_BITS=64 -DCAML_NAME_SPACE -Wall -Werror -c interp.c
In file included from interp.c:24:
./caml/fail.h:51:9: error: 'sigsetjmp' macro redefined [-Werror,-Wmacro-redefined]
#define sigsetjmp(buf,save) setjmp(buf)
^
/Users/mweichert/Projects/emsdk/fastcomp/emscripten/system/include/libc/setjmp.h:24:9: note: previous definition is here
#define sigsetjmp(buf, x) setjmp((buf))
Metadata
Metadata
Assignees
Labels
No labels