Browse thread
Wrapping OCaml function returning a variant
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2007-03-28 (15:07) |
From: | Joel Reymont <joelr1@g...> |
Subject: | Re: [Caml-list] Wrapping OCaml function returning a variant |
Big thanks to everyone for this awesome hand-holding with the FFI :-). I'm learning, albeit slowly. I have one remaining block on my road to success, apologies for reposting. I get undefined symbols when trying to produce an executable using the OCaml library with the C wrapper. gcc foo.c -L_build -lmorpher -o foo /usr/bin/ld: Undefined symbols: _caml_atom_table _caml_code_area_end _caml_code_area_start _caml_static_data_end _caml_static_data_start collect2: ld returned 1 exit status nm _build/libmorpher.a |grep caml_atom_table 00000400 C _caml_atom_table U _caml_atom_table What am I doing wrong? Thanks, Joel -- http://wagerlabs.com/