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] mutually dependent modules
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-02-17 (14:53)
From: Giuseppe Lo Presti <glopresti@i...>
Subject: [Caml-list] mutually dependent modules
Hi all,
Let's suppose that we have two mutually dependent modules, and, i.e. in there is a call like A.f1() and in there is a
call like B.f2(). The question is how to link these modules? The .cmi
and .cmo compiling process runs ok, but when the linker tries to build
the executable, it stops saying something like:
Reference to undefined global `B'
make: *** [executable] Error 2
Any ideas?
Giuseppe Lo Presti

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