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
[Caml-list] Error during partial linking
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-10-22 (08:42)
From: Xavier Leroy <xavier.leroy@i...>
Subject: Re: [Caml-list] Error during partial linking
> I'm trying to compile "baire" data structures library and package it
> as a .deb. I have a problem when try to pack all the modules as a
> single "baire" module to avoid name clash with stdlibs. The error
> message is shown as the title.

If you want help, you should provide more context for the error,
i.e. the command that fails and all error messages it prints.
Adding the "-verbose" option to ocamlopt will give even more useful
context.  At any rate:

> $(CAMLOPT) -pack -o $(RESULT:.cmo=.cmx) $( $(

The -o $(RESULT:.cmo=.cmx) might be wrong, since $(RESULT) is
(apparently) "baire", not "baire.cmo".

The $( is wrong too, you should just pass the .cmx
files to ocamlopt, it will deal with the underlying .o files all by

- Xavier Leroy
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: