Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: [Caml-list] Building O'Caml projects properly.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Markus Mottl <markus@m...>
Subject: Re: [Caml-list] Building O'Caml projects properly.
On Mon, 01 Oct 2001, Jeremy Fincher wrote:
> Everything works correctly *except* that after I make libinstall, it
> removes the *.mli files from the directory, which I don't want it to do.

Remove .mli-files? The libinstall target doesn't remove any files
at all. It just copies them to the right directory. Or did you mean
anything else?

> ocamlc  -I ../lib      -ccopt -L../lib  unix.cma pcre.cma   -o ircbot \
>                         calc_parser.cmo calc_lexer.cmo ircmsg.cmo irclib.cmo 
> ircutils.cmo logger.cmo flusher.cmo ircusers.cmo factoids.cmo help.cmo 
> privmsg_callbacks.cmo callbacks.cmo irctester.cmo
> Error while linking ircmsg.cmo: Reference to undefined global `Py_string'

This is not surprising, because it obviously doesn't link against
"py_string.cmo". You can specify this using the "LIBS" variable. Just add
"py_string" and everything should be fine.

Regards,
Markus Mottl

-- 
Markus Mottl                                             markus@oefai.at
Austrian Research Institute
for Artificial Intelligence                  http://www.oefai.at/~markus
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr