You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 119 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
I compiled O'Caml 3.00 using "-with-pthread" option and now
when i try to make a native code program with thread support, i
get linking errors like:
/usr/lib/ocaml/libthreads.a(posix_b.o): In function caml_thread_tick': posix_b.o(.text+0x28d): undefined reference to something_to_do'
and others.
I fixed this by changing the line 53 of
otherlibs/systhreads/Makefile
-cclib -lthreads -cclib -lunix $(PTHREAD_LINK)
with
-cclib -lthreadsnat -cclib -lunix $(PTHREAD_LINK)
(other info .. i'm running linux 2.2.14 with debian frozen)
The text was updated successfully, but these errors were encountered:
I compiled O'Caml 3.00 using "-with-pthread" option and now
when i try to make a native code program with thread support, i
get linking errors like:
I fixed this by changing the line 53 of
otherlibs/systhreads/Makefile
-cclib -lthreads -cclib -lunix $(PTHREAD_LINK)
with
-cclib -lthreadsnat -cclib -lunix $(PTHREAD_LINK)
Right, this is a known bug in the OCaml 3.00 distribution. Your fix
is correct.
Original bug ID: 119
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
I compiled O'Caml 3.00 using "-with-pthread" option and now
when i try to make a native code program with thread support, i
get linking errors like:
/usr/lib/ocaml/libthreads.a(posix_b.o): In function
caml_thread_tick': posix_b.o(.text+0x28d): undefined reference to
something_to_do'and others.
I fixed this by changing the line 53 of
otherlibs/systhreads/Makefile
-cclib -lthreads -cclib -lunix $(PTHREAD_LINK)
with
-cclib -lthreadsnat -cclib -lunix $(PTHREAD_LINK)
(other info .. i'm running linux 2.2.14 with debian frozen)
The text was updated successfully, but these errors were encountered: