--- ocaml-3.04+7/otherlibs/systhreads/posix.c.threadhack Fri Dec 7 22:33:00 2001 +++ ocaml-3.04+7/otherlibs/systhreads/posix.c Sat Apr 13 22:08:22 2002 @@ -91,6 +91,10 @@ typedef struct caml_thread_struct * caml_thread_t; +#ifndef NATIVE_CODE +asm(".weak external_raise"); +#endif + /* The descriptor for the currently executing thread */ static caml_thread_t curr_thread = NULL; --- ocaml-3.04+7/otherlibs/systhreads/Makefile.threadhack Sat Apr 13 22:20:06 2002 +++ ocaml-3.04+7/otherlibs/systhreads/Makefile Sat Apr 13 22:20:10 2002 @@ -32,7 +32,7 @@ allopt: libthreadsnat.a threads.cmxa libthreads.a: $(BYTECODE_C_OBJS) - $(MKLIB) -o threads $(BYTECODE_C_OBJS) + $(MKLIB) -o threads $(BYTECODE_C_OBJS) $(PTHREAD_LINK) posix_b.o: posix.c $(BYTECC) -O -I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) \