You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 4726 Reporter: smartmobili Status: closed (set by @damiendoligez on 2010-04-20T15:30:59Z) Resolution: unable to duplicate Priority: normal Severity: block Version: 3.11.0 Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues Monitored by: db @alainfrisch
Bug description
When 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/DOCUME1/Vincent/LOCALS1/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/DOCUME1/Vincent/LOCALS1/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
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.
Original bug ID: 4726
Reporter: smartmobili
Status: closed (set by @damiendoligez on 2010-04-20T15:30:59Z)
Resolution: unable to duplicate
Priority: normal
Severity: block
Version: 3.11.0
Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues
Monitored by: db @alainfrisch
Bug description
When 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/LOCALS1/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/LOCALS1/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 information
Reproduces on cygwin-1.5 and upcoming cygwin-1.7.
File attachments
The text was updated successfully, but these errors were encountered: