Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Yang Shouxun <yangsx@f...>
Subject: [Caml-list] Error during partial linking
Hi,

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.

Both byte compile and native compile work. Using "-pack" option for byte 
compiler also works as expected. The following is the line in my Makefile 
that gives the error.
---8<---
$(CAMLOPT) -pack -o $(RESULT:.cmo=.cmx) $(SOURCES:.ml=.cmx) $(SOURCES:.ml=.o)
---8<---

What can be likely reasons for this error?

TIA!
shouxun
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners