Browse thread
Compiling ocaml on cygwin - undefined reference errors
- Alexander Mont
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Alexander Mont <amont319@g...> |
| Subject: | Compiling ocaml on cygwin - undefined reference errors |
I am trying to compile Ocaml 3.11 on Cygwin. However I get the following error when I run "make world": --- (snip a whole bunch more undefined references) .... /tmp/ccoBzdkK.o:interp.c:(.text+0x1dcf): undefined reference to `_caml_debugger' /tmp/ccoBzdkK.o:interp.c:(.text+0x1dda): undefined reference to `_caml_start_cod e' /tmp/ccoBzdkK.o:interp.c:(.text+0x1de6): undefined reference to `_caml_saved_cod e' /tmp/ccoBzdkK.o:interp.c:(.text+0x1e23): undefined reference to `_caml_extern_sp ' /tmp/ccoBzdkK.o:interp.c:(.text+0x1e2f): undefined reference to `_caml_debugger' /tmp/ccoBzdkK.o:interp.c:(.text+0x1e3a): undefined reference to `_caml_start_cod e' /tmp/ccoBzdkK.o:interp.c:(.text+0x1e46): undefined reference to `_caml_saved_cod e' /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libcygwin.a(libcmain.o):(.text+0xab): undefined reference to `_WinMain@16' collect2: ld returned 1 exit status make[2]: *** [interp.o] Error 1 make[2]: Leaving directory `/home/ocaml-3.11.0/byterun' make[1]: *** [coldstart] Error 2 make[1]: Leaving directory `/home/ocaml-3.11.0' make: *** [world] Error 2 --- What could be the cause of this error?