From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id IAA16596; Mon, 27 Sep 2004 08:54:01 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id IAA17104 for ; Mon, 27 Sep 2004 08:54:00 +0200 (MET DST) Received: from server883.dnslive.net (server883.dnslive.net [66.78.27.6]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id i8R6rx6T019980 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Mon, 27 Sep 2004 08:53:59 +0200 Received: from c-24-7-106-19.client.comcast.net ([24.7.106.19] helo=[127.0.0.1]) by server883.dnslive.net with esmtpa (Exim 4.42) id 1CBpOf-0005jj-Lu for caml-list@inria.fr; Mon, 27 Sep 2004 02:54:05 -0400 Message-ID: <4157B909.3080705@overbored.net> Date: Sun, 26 Sep 2004 23:54:01 -0700 From: overbored User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: caml-list@inria.fr Subject: [Caml-list] Can't compile on Cygwin Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server883.dnslive.net X-AntiAbuse: Original Domain - inria.fr X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - overbored.net X-Miltered: at nez-perce with ID 4157B907.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; cygwin:01 cygwin:01 'make:01 ocamlopt:01 ocamlopt:01 cmx:01 unison:01 -verbose:01 unison:01 cmx:01 util:01 util:01 props:99 checksum:01 camlstartup:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I followed the instructions in the INSTALL* files (installed ocaml in Cygwin) but when I run 'make UISTYLE=text' I get: ... ocamlopt -I lwt -I ubase -c /home/unison-2.9.1/main.ml ocamlopt: linktext.ml ---> linktext.cmx ocamlopt -I lwt -I ubase -c /home/unison-2.9.1/linktext.ml Linking unison.exe ocamlopt -verbose -I lwt -I ubase -o unison.exe unix.cmxa str.cmxa -cclib win32rc/unison.res.lib ubase/safelist.cmx ubase/uprintf.cmx ubase/util.cmx ubase/rx.cmx ubase/uarg.cmx ubase/prefs.cmx ubase/trace.cmx lwt/pqueue.cmx lwt/lwt.cmx lwt/lwt_util.cmx lwt/lwt_unix.cmx case.cmx pred.cmx uutil.cmx fileutil.cmx name.cmx path.cmx fspath.cmx props.cmx fileinfo.cmx os.cmx lock.cmx uri.cmx common.cmx tree.cmx checksum.cmx transfer.cmx xferhint.cmx remote.cmx globals.cmx update.cmx files.cmx sortri.cmx recon.cmx transport.cmx strings.cmx uicommon.cmx uitext.cmx main.cmx linktext.cmx + as -o '/tmp/camlstartup2c9bb5.o' '/tmp/camlstartup814133.s' + gcc -o 'unison.exe' -I'/home/yang/local/lib/ocaml' '/tmp/camlstartup2c9bb5.o' '/home/yang/local/lib/ocaml/std_exit.o' 'linktext.o' 'main.o' 'uitext.o' 'uicommon.o' 'strings.o' 'transport.o' 'recon.o' 'sortri.o' 'files.o' 'update.o' 'globals.o' 'remote.o' 'xferhint.o' 'transfer.o' 'checksum.o' 'tree.o' 'common.o' 'uri.o' 'lock.o' 'os.o' 'fileinfo.o' 'props.o' 'fspath.o' 'path.o' 'name.o' 'fileutil.o' 'uutil.o' 'pred.o' 'case.o' 'lwt/lwt_unix.o' 'lwt/lwt_util.o' 'lwt/lwt.o' 'lwt/pqueue.o' 'ubase/trace.o' 'ubase/prefs.o' 'ubase/uarg.o' 'ubase/rx.o' 'ubase/util.o' 'ubase/uprintf.o' 'ubase/safelist.o' '/home/yang/local/lib/ocaml/str.a' '/home/yang/local/lib/ocaml/unix.a' '/home/yang/local/lib/ocaml/stdlib.a' '-Llwt' '-Lubase' '-L/home/yang/local/lib/ocaml' '-lstr' '-lunix' 'win32rc/unison.res.lib' '/home/yang/local/lib/ocaml/libasmrun.a' -lm ubase/uprintf.o(.text+0x29a):fake: undefined reference to `_format_int' ubase/uprintf.o(.text+0x2fa):fake: undefined reference to `_format_float' collect2: ld returned 1 exit status Error during linking make: *** [unison.exe] Error 2 Google returned nothing when I looked for "undefined reference to _format_int". What's going on? Please help, thanks in advance. ------------------- 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