| Anonymous | Login | Signup for a new account | 2013-05-22 21:39 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||
| 0000119 | OCaml | OCaml general | public | 2000-05-18 20:26 | 2000-06-14 17:05 | |||
| Reporter | administrator | |||||||
| Assigned To | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||
| Status | closed | Resolution | fixed | |||||
| Platform | OS | OS Version | ||||||
| Product Version | ||||||||
| Target Version | Fixed in Version | |||||||
| Summary | 0000119: problem with systhreads | |||||||
| 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) | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Notes |
|
|
(0000392) administrator (administrator) 2000-06-05 14:22 |
> 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. Thanks for the bug report. - Xavier Leroy |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2005-11-18 10:13 | administrator | New Issue | |
| Copyright © 2000 - 2011 MantisBT Group |