Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2001-10-01 (08:07)
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.

Markus Mottl

Markus Mottl                                   
Austrian Research Institute
for Artificial Intelligence        
Bug reports:  FAQ:
To unsubscribe, mail  Archives: