English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Producing a C wrapper with ocamlbuild or OMake
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-03-28 (14:44)
From: Joel Reymont <joelr1@g...>
Subject: Re: [Caml-list] Producing a C wrapper with ocamlbuild or OMake
One last question... Two, actually.

How would I add another C file to the pipeline to produce the final  

Then, I tried using the library I built but I get an error. I have no  
iea what's going on, does anyone? I'm on Mac OSX if it matters.

gcc foo.c -L_build -lmorpher -o foo
/usr/bin/ld: Undefined symbols:
collect2: ld returned 1 exit status

nm _build/libmorpher.a |grep caml_atom_table
00000400 C _caml_atom_table
          U _caml_atom_table

	Thanks, Joel