Version française
Home     About     Download     Resources     Contact us    
Browse thread
OCaml compilation
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Matthieu Dubuget <matthieu.dubuget@g...>
Subject: Re: [Caml-list] OCaml compilation

>> Certainly looks correct, I agree. One thought - have you remembered 
>> to put C:\Tcl\bin in your PATH on the machines which are failing?
>>
>> Is flexlink definitely the same version on each machine? Two other 
>> possibilities:
>>
>> 1. Try entering the command that's failing manually with -verbose and 
>> then do the same with the flexlink command displayed, adding -v -v to 
>> see exactly what flexlink is doing.

I called the original command with -verbose -cclib -v -cclib -v

If anybody can conclude anything from this? I will try the same command 
with a working system, trying to spot differences…


+ flexlink -chain mingw -exe -o "ocamlbrowser.exe"   "-L../../../stdlib" 
"-L../../../otherlibs/win32unix" "-L../../../otherlibs/str" 
"-L../../../otherlibs/systhreads" "-L../labltk" "-L../lib" 
"-L../support" "-L../../../parsing" "-L../../../utils" 
"-L../../../typing" ".\camlprim986116.c" "-llabltk" "-lthreads" "-lstr" 
"-lunix" "-lws2_32" "winmain.o" "-v" "-v" "-lcamlrun"  -lws2_32 -link 
-Wl,--subsystem,windows C:/tcl/bin/tk85.dll C:/tcl/bin/tcl85.dll -lws2_32
** Use cygpath: true
** Search path:
../../../typing
../../../utils
../../../parsing
../support
../lib
../labltk
../../../otherlibs/systhreads
../../../otherlibs/str
../../../otherlibs/win32unix
../../../stdlib
/lib/mingw
/lib
/lib/w32api
/usr/lib/gcc/i686-pc-mingw32/3.4.4
** Default libraries:
crt2.o
-lmingw32
-lgcc
-lmoldname
-lmingwex
-lmsvcrt
-luser32
-lkernel32
-ladvapi32
-lshell32
+ gcc -mno-cygwin -c -o ".\dyndll255a54.o" -I"../../../typing" 
-I"../../../utils" -I"../../../parsing" -I"../support" -I"../lib" 
-I"../labltk" -I"../../../otherlibs/systhreads" 
-I"../../../otherlibs/str" -I"../../../otherlibs/win32unix" 
-I"../../../stdlib" .\camlprim986116.c
** Cannot resolve symbols for descriptor object:
  _Tcl_AppendResult
  _Tcl_CreateChannelHandler
  _Tcl_CreateCommand
  _Tcl_CreateInterp
  _Tcl_CreateTimerHandler
  _Tcl_DStringAppend
  _Tcl_DStringFree
  _Tcl_DStringInit
  _Tcl_DeleteChannelHandler
  _Tcl_DeleteTimerHandler
  _Tcl_DoOneEvent
  _Tcl_Eval
  _Tcl_EvalFile
  _Tcl_ExternalToUtfDString
  _Tcl_Finalize
  _Tcl_FindExecutable
  _Tcl_Free
  _Tcl_GetCommandInfo
  _Tcl_GetInt
  _Tcl_GetVar
  _Tcl_Init
  _Tcl_MakeFileChannel
  _Tcl_MakeTcpClientChannel
  _Tcl_Merge
  _Tcl_ResetResult
  _Tcl_SetResult
  _Tcl_SetVar
  _Tcl_SplitList
  _Tcl_TraceVar
  _Tcl_UntraceVar
  _Tcl_UntraceVar2
  _Tcl_UtfToExternalDString
  _Tk_GeometryRequest
  _Tk_Init
  _Tk_MainLoop
  _Tk_MainWindow
+ objdump -p C:/tcl/bin/tk85.dll > .\dyndll5dd309.dmp
+ objdump -p C:/tcl/bin/tcl85.dll > .\dyndll4644ba.dmp
** open: C:/cygwin/lib/mingw/crt2.o
** open: C:/cygwin/lib/mingw/libmingw32.a
** open: C:/cygwin/lib/gcc/i686-pc-mingw32/3.4.4/libgcc.a
** open: C:/cygwin/lib/mingw/libmoldname.a
** open: C:/cygwin/lib/mingw/libmingwex.a
** open: C:/cygwin/lib/mingw/libmsvcrt.a
** open: C:/cygwin/lib/w32api/libuser32.a
** open: C:/cygwin/lib/w32api/libkernel32.a
** open: C:/cygwin/lib/w32api/libadvapi32.a
** open: C:/cygwin/lib/w32api/libshell32.a
File "_none_", line 1, characters 0-1:
Error: Error while building custom runtime system