Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] cameleon compiling problem...
[ 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: Re: [Caml-list] cameleon compiling problem...
Dimitri Ara wrote:
> Michael Wohlwend <mwohlwend@web.de> a écrit :
> 
> 
>>Hi,
>>
>>I get the following compiler error (see below) and don't know how to correct 
>>it.

Michael's problem seems to be the same as mine.

> The Cam_plug module should have been compiled before the omom plugin.
> What is the first error?
> 

After manually restart make in some subdirs (I can't remember them all 
now), the first error is when compiling zoggy/zog_data.ml:

---8<---
$ make
make byte
make[1]: Entering directory `/home/bruce/unzipped/cameleon-1.1'
make TARGET=byte iter
make[2]: Entering directory `/home/bruce/unzipped/cameleon-1.1'
for i in options okey configwin gpattern ioxml ocamlcvs zoggy mlchat 
report dbforge cameleon omom plugins ; do (cd $i ; make byte) ; done
make[3]: Entering directory `/home/bruce/unzipped/cameleon-1.1/options'
make[3]: Nothing to be done for `byte'.
make[3]: Leaving directory `/home/bruce/unzipped/cameleon-1.1/options'
make[3]: Entering directory `/home/bruce/unzipped/cameleon-1.1/okey'
make[3]: Nothing to be done for `byte'.
make[3]: Leaving directory `/home/bruce/unzipped/cameleon-1.1/okey'
make[3]: Entering directory `/home/bruce/unzipped/cameleon-1.1/configwin'
make[3]: Nothing to be done for `byte'.
make[3]: Leaving directory `/home/bruce/unzipped/cameleon-1.1/configwin'
make[3]: Entering directory `/home/bruce/unzipped/cameleon-1.1/gpattern'
make[3]: Nothing to be done for `byte'.
make[3]: Leaving directory `/home/bruce/unzipped/cameleon-1.1/gpattern'
make[3]: Entering directory `/home/bruce/unzipped/cameleon-1.1/ioxml'
make[3]: Nothing to be done for `byte'.
make[3]: Leaving directory `/home/bruce/unzipped/cameleon-1.1/ioxml'
make[3]: Entering directory `/home/bruce/unzipped/cameleon-1.1/ocamlcvs'
make[3]: Nothing to be done for `byte'.
make[3]: Leaving directory `/home/bruce/unzipped/cameleon-1.1/ocamlcvs'
make[3]: Entering directory `/home/bruce/unzipped/cameleon-1.1/zoggy'
if test -f zog_gui_base.ml ; then make byte2 ; else make world ; fi
make[4]: Entering directory `/home/bruce/unzipped/cameleon-1.1/zoggy'
/usr/bin/ocamlc.opt -pp 'grep -v DEBUG' -I /usr/lib/ocaml/lablgtk -I 
/usr/lib/ocaml -I /home/bruce/unzipped/cameleon-1.1/ioxml -I 
/home/bruce/unzipped/cameleon-1.1/options -I 
/home/bruce/unzipped/cameleon-1.1/okey -I 
/home/bruce/unzipped/cameleon-1.1/configwin -I 
/home/bruce/unzipped/cameleon-1.1/gpattern -I 
/home/bruce/unzipped/cameleon-1.1/dbforge -I 
/home/bruce/unzipped/cameleon-1.1/dbforge/ocamlsql -I 
/home/bruce/unzipped/cameleon-1.1/report -I +ocamldoc -I +camlp4 -I 
/home/bruce/unzipped/cameleon-1.1/zoggy -I 
/home/bruce/unzipped/cameleon-1.1/mlchat -I 
/home/bruce/unzipped/cameleon-1.1/ocamlcvs -I 
/home/bruce/unzipped/cameleon-1.1/cameleon -I 
/home/bruce/unzipped/cameleon-1.1/camtop -I 
/home/bruce/unzipped/cameleon-1.1/omom -c zog_data.ml
File "/tmp/camlpp3b6a24", line 215, characters 17-25:
Unbound value C.string
make[4]: *** [zog_data.cmi] Error 2
make[4]: Leaving directory `/home/bruce/unzipped/cameleon-1.1/zoggy'
make[3]: *** [byte] Error 2
make[3]: Leaving directory `/home/bruce/unzipped/cameleon-1.1/zoggy'
make[3]: Entering directory `/home/bruce/unzipped/cameleon-1.1/mlchat'
/usr/bin/ocamlc.opt -pp 'grep -v DEBUG' -I /usr/lib/ocaml/lablgtk -I 
/usr/lib/ocaml -I /home/bruce/unzipped/cameleon-1.1/ioxml -I 
/home/bruce/unzipped/cameleon-1.1/options -I 
/home/bruce/unzipped/cameleon-1.1/okey -I 
/home/bruce/unzipped/cameleon-1.1/configwin -I 
/home/bruce/unzipped/cameleon-1.1/gpattern -I 
/home/bruce/unzipped/cameleon-1.1/dbforge -I 
/home/bruce/unzipped/cameleon-1.1/dbforge/ocamlsql -I 
/home/bruce/unzipped/cameleon-1.1/report -I +ocamldoc -I +camlp4 -I 
/home/bruce/unzipped/cameleon-1.1/zoggy -I 
/home/bruce/unzipped/cameleon-1.1/mlchat -I 
/home/bruce/unzipped/cameleon-1.1/ocamlcvs -I 
/home/bruce/unzipped/cameleon-1.1/cameleon -I 
/home/bruce/unzipped/cameleon-1.1/camtop -I 
/home/bruce/unzipped/cameleon-1.1/omom -c chat_app.ml
File "/tmp/camlpp023bc3", line 21, characters 2-10:
Unbound value C.string
make[3]: *** [chat_app.cmi] Error 2
make[3]: Leaving directory `/home/bruce/unzipped/cameleon-1.1/mlchat'
make[3]: Entering directory `/home/bruce/unzipped/cameleon-1.1/report'
/usr/bin/ocamlc.opt -pp 'grep -v DEBUG' -I /usr/lib/ocaml/lablgtk -I 
/usr/lib/ocaml -I /home/bruce/unzipped/cameleon-1.1/ioxml -I 
/home/bruce/unzipped/cameleon-1.1/options -I 
/home/bruce/unzipped/cameleon-1.1/okey -I 
/home/bruce/unzipped/cameleon-1.1/configwin -I 
/home/bruce/unzipped/cameleon-1.1/gpattern -I 
/home/bruce/unzipped/cameleon-1.1/dbforge -I 
/home/bruce/unzipped/cameleon-1.1/dbforge/ocamlsql -I 
/home/bruce/unzipped/cameleon-1.1/report -I +ocamldoc -I +camlp4 -I 
/home/bruce/unzipped/cameleon-1.1/zoggy -I 
/home/bruce/unzipped/cameleon-1.1/mlchat -I 
/home/bruce/unzipped/cameleon-1.1/ocamlcvs -I 
/home/bruce/unzipped/cameleon-1.1/cameleon -I 
/home/bruce/unzipped/cameleon-1.1/camtop -I 
/home/bruce/unzipped/cameleon-1.1/omom -c rep_desc_gui.ml
File "/tmp/camlpp056d5c", line 25, characters 19-27:
Unbound value C.string
make[3]: *** [rep_desc_gui.cmi] Error 2
make[3]: Leaving directory `/home/bruce/unzipped/cameleon-1.1/report'
make[3]: Entering directory `/home/bruce/unzipped/cameleon-1.1/dbforge'
Makefile:108: warning: overriding commands for target `dbf_types.cmi'
Makefile:105: warning: ignoring old commands for target `dbf_types.cmi'
cd ocamlsql && make byte
make[4]: Entering directory 
`/home/bruce/unzipped/cameleon-1.1/dbforge/ocamlsql'
make[4]: Nothing to be done for `byte'.
make[4]: Leaving directory 
`/home/bruce/unzipped/cameleon-1.1/dbforge/ocamlsql'
/usr/bin/ocamlc.opt -pp 'grep -v DEBUG' -I /usr/lib/ocaml/lablgtk -I 
/usr/lib/ocaml -I /home/bruce/unzipped/cameleon-1.1/ioxml -I 
/home/bruce/unzipped/cameleon-1.1/options -I 
/home/bruce/unzipped/cameleon-1.1/okey -I 
/home/bruce/unzipped/cameleon-1.1/configwin -I 
/home/bruce/unzipped/cameleon-1.1/gpattern -I 
/home/bruce/unzipped/cameleon-1.1/dbforge -I 
/home/bruce/unzipped/cameleon-1.1/dbforge/ocamlsql -I 
/home/bruce/unzipped/cameleon-1.1/report -I +ocamldoc -I +camlp4 -I 
/home/bruce/unzipped/cameleon-1.1/zoggy -I 
/home/bruce/unzipped/cameleon-1.1/mlchat -I 
/home/bruce/unzipped/cameleon-1.1/ocamlcvs -I 
/home/bruce/unzipped/cameleon-1.1/cameleon -I 
/home/bruce/unzipped/cameleon-1.1/camtop -I 
/home/bruce/unzipped/cameleon-1.1/omom -c dbf_html_rep.ml
File "/tmp/camlpp01d7ed", line 8, characters 0-11:
Unbound module Report
make[3]: *** [dbf_html_rep.cmo] Error 2
make[3]: Leaving directory `/home/bruce/unzipped/cameleon-1.1/dbforge'
make[3]: Entering directory `/home/bruce/unzipped/cameleon-1.1/cameleon'
/usr/bin/ocamlc.opt -c -pp "camlp4o " -I /usr/lib/ocaml/lablgtk -I 
/usr/lib/ocaml -I /home/bruce/unzipped/cameleon-1.1/ioxml -I 
/home/bruce/unzipped/cameleon-1.1/options -I 
/home/bruce/unzipped/cameleon-1.1/okey -I 
/home/bruce/unzipped/cameleon-1.1/configwin -I 
/home/bruce/unzipped/cameleon-1.1/gpattern -I 
/home/bruce/unzipped/cameleon-1.1/dbforge -I 
/home/bruce/unzipped/cameleon-1.1/dbforge/ocamlsql -I 
/home/bruce/unzipped/cameleon-1.1/report -I +ocamldoc -I +camlp4 -I 
/home/bruce/unzipped/cameleon-1.1/zoggy -I 
/home/bruce/unzipped/cameleon-1.1/mlchat -I 
/home/bruce/unzipped/cameleon-1.1/ocamlcvs -I 
/home/bruce/unzipped/cameleon-1.1/cameleon -I 
/home/bruce/unzipped/cameleon-1.1/camtop -I 
/home/bruce/unzipped/cameleon-1.1/omom cam_misc.ml
File "cam_misc.ml", line 272, characters 3-19:
Unbound value Configwin.string
make[3]: *** [cam_misc.cmi] Error 2
make[3]: Leaving directory `/home/bruce/unzipped/cameleon-1.1/cameleon'
make[3]: Entering directory `/home/bruce/unzipped/cameleon-1.1/omom'
/usr/bin/ocamlc.opt -pp camlp4o -I /usr/lib/ocaml/lablgtk -I 
/usr/lib/ocaml -I /home/bruce/unzipped/cameleon-1.1/ioxml -I 
/home/bruce/unzipped/cameleon-1.1/options -I 
/home/bruce/unzipped/cameleon-1.1/okey -I 
/home/bruce/unzipped/cameleon-1.1/configwin -I 
/home/bruce/unzipped/cameleon-1.1/gpattern -I 
/home/bruce/unzipped/cameleon-1.1/dbforge -I 
/home/bruce/unzipped/cameleon-1.1/dbforge/ocamlsql -I 
/home/bruce/unzipped/cameleon-1.1/report -I +ocamldoc -I +camlp4 -I 
/home/bruce/unzipped/cameleon-1.1/zoggy -I 
/home/bruce/unzipped/cameleon-1.1/mlchat -I 
/home/bruce/unzipped/cameleon-1.1/ocamlcvs -I 
/home/bruce/unzipped/cameleon-1.1/cameleon -I 
/home/bruce/unzipped/cameleon-1.1/camtop -I 
/home/bruce/unzipped/cameleon-1.1/omom -c omom_gui_variables.ml
File "omom_gui_variables.ml", line 150, characters 15-23:
Unbound value C.string
make[3]: *** [omom_gui_variables.cmo] Error 2
make[3]: Leaving directory `/home/bruce/unzipped/cameleon-1.1/omom'
make[3]: Entering directory `/home/bruce/unzipped/cameleon-1.1/plugins'
/usr/bin/ocamlc.opt -pp 'grep -v DEBUG' -I /usr/lib/ocaml/lablgtk -I 
/usr/lib/ocaml -I /home/bruce/unzipped/cameleon-1.1/ioxml -I 
/home/bruce/unzipped/cameleon-1.1/options -I 
/home/bruce/unzipped/cameleon-1.1/okey -I 
/home/bruce/unzipped/cameleon-1.1/configwin -I 
/home/bruce/unzipped/cameleon-1.1/gpattern -I 
/home/bruce/unzipped/cameleon-1.1/dbforge -I 
/home/bruce/unzipped/cameleon-1.1/dbforge/ocamlsql -I 
/home/bruce/unzipped/cameleon-1.1/report -I +ocamldoc -I +camlp4 -I 
/home/bruce/unzipped/cameleon-1.1/zoggy -I 
/home/bruce/unzipped/cameleon-1.1/mlchat -I 
/home/bruce/unzipped/cameleon-1.1/ocamlcvs -I 
/home/bruce/unzipped/cameleon-1.1/cameleon -I 
/home/bruce/unzipped/cameleon-1.1/camtop -I 
/home/bruce/unzipped/cameleon-1.1/omom -c utils.ml
File "/tmp/camlpp104b39", line 15, characters 0-13:
Unbound module Cam_plug
make[3]: *** [utils.cmo] Error 2
make[3]: Leaving directory `/home/bruce/unzipped/cameleon-1.1/plugins'
make[2]: *** [iter] Error 2
make[2]: Leaving directory `/home/bruce/unzipped/cameleon-1.1'
make[1]: *** [byte] Error 2
make[1]: Leaving directory `/home/bruce/unzipped/cameleon-1.1'
make: *** [all] Error 2
$
---8<---

-------------------
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