From: Jere S. <xm...@xm...> - 2004-07-13 12:23:03
|
Hi, since 3.08 is now officially released, I think extlib should support it as well. I use the MS windows port of ocaml and when using DynArray I get the following linking errors: extlib.lib(dynArray.obj) : error LNK2001: unresolved external symbol _obj_block extlib.lib(dynArray.obj) : error LNK2001: unresolved external symbol _obj_dup .. coming from these two lines in dynArray.ml: -- external idup : 'a intern -> 'a intern = "obj_dup" external imake : int -> int -> 'a intern = "obj_block" -- And when I changed them to: -- external idup : 'a intern -> 'a intern = "caml_obj_dup" external imake : int -> int -> 'a intern = "caml_obj_block" -- everything started to work again.. I have no idea how to make extlib to work with both 3.07 and 3.08 at the same time. Also haven't checked whether other parts of extlib use similar tricks. -- Jere Sanisalo [xm...@xm...] - http://www.xmunkki.org/ |