From: overbored <overbored@overbored.net>
To: caml-list@inria.fr
Subject: [Caml-list] Can't compile on Cygwin
Date: Sun, 26 Sep 2004 23:54:01 -0700 [thread overview]
Message-ID: <4157B909.3080705@overbored.net> (raw)
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
next reply other threads:[~2004-09-27 6:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-27 6:54 overbored [this message]
2004-09-27 7:55 ` skaller
2004-09-27 8:10 ` overbored
2004-09-27 9:16 ` skaller
2004-09-27 9:43 ` Damien Doligez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4157B909.3080705@overbored.net \
--to=overbored@overbored.net \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox