Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004726OCamlOCamlbuild (the tool)public2009-02-24 14:302010-04-20 17:30
Assigned To 
PrioritynormalSeverityblockReproducibilityhave not tried
StatusclosedResolutionunable to reproduce 
PlatformOSOS Version
Product Version3.11.0 
Target VersionFixed in Version 
Summary0004726: Cannot compile ocaml on cygwin
DescriptionWhen trying to compile(make world) ocaml from cygwin get lots of undefined references :

reference to `_caml_saved_code'
/c/DOCUME~1/Vincent/LOCALS~1/Temp/ccG1xTQm.o:interp.c:(.text+0x1e23): undefined reference to `_caml_extern_sp'
/c/DOCUME~1/Vincent/LOCALS~1/Temp/ccG1xTQm.o:interp.c:(.text+0x1e2f): undefined reference to `_caml_debugger'
/c/DOCUME~1/Vincent/LOCALS~1/Temp/ccG1xTQm.o:interp.c:(.text+0x1e3a): undefined reference to `_caml_start_code'
/c/DOCUME~1/Vincent/LOCALS~1/Temp/ccG1xTQm.o:interp.c:(.text+0x1e46): undefined reference to `_caml_saved_code'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libcygwin.a(libcmain.o):(.text+0xa9): undefined reference to `_WinMain@16'
collect2: ld returned 1 exit status
make[2]: *** [interp.o] Error 1
make[2]: Leaving directory `/home/Vincent/projects/ocaml-3.11.0/byterun'
make[1]: *** [coldstart] Error 2
make[1]: Leaving directory `/home/Vincent/projects/ocaml-3.11.0'
make: *** [world] Error 2
Additional InformationReproduces on cygwin-1.5 and upcoming cygwin-1.7.
TagsNo tags attached.
Attached Filestxt file icon make_world_cygwin.txt [^] (20,874 bytes) 2009-02-24 14:30 [Show Content]

- Relationships

-  Notes
db (reporter)
2009-04-06 11:04

Compiles OK with cygwin for me. Please post the output of "./configure" and "cygcheck -s".
xleroy (administrator)
2010-04-18 19:33

The "make world" log is strange: it looks like gcc tried to link interp.o even though it was called with -c. No one else reported this problem. Anything new about this PR? Otherwise I'll close it as not reproducible.
doligez (administrator)
2010-04-20 17:30

This PR has been unconfirmed for one year, and I have no problem compiling 3.11.2 on Cygwin.
I'm closing it.

- Issue History
Date Modified Username Field Change
2009-02-24 14:30 smartmobili New Issue
2009-02-24 14:30 smartmobili File Added: make_world_cygwin.txt
2009-04-06 11:04 db Note Added: 0004904
2009-04-29 15:47 doligez Status new => feedback
2010-04-18 19:33 xleroy Note Added: 0005335
2010-04-20 17:30 doligez Note Added: 0005354
2010-04-20 17:30 doligez Status feedback => closed
2010-04-20 17:30 doligez Resolution open => unable to reproduce
2012-02-02 15:17 protz Category OCamlbuild => OCamlbuild (the tool)

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker