New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was not able to compile mingw version #4633
Comments
Comment author: matt Trying again at home: I'm using VirtualBox, with XP Pro as guest OS (only linux at home). I can not have 'flexlink.exe' run. (binary 0.10 version, downloaded from Alain Frisch's web page). |
Comment author: @xavierleroy The linking problem with Tcl/Tk 8.4 should go away if you put in config/Makefile: TK_LINK=$(TK_ROOT)/bin/tk84.dll $(TK_ROOT)/bin/tcl84.dll -lws2_32 i.e. link directly with the DLLs rather than with the import libraries, which Mingw doesn't like for some reason. This will be fixed in the 3.11 release. Regarding flexlink, it's been working flawlessly for me so far. Could you provide more details? |
Comment author: matt Sorry for the noise: I SHOULD have seen that! About point 2/ : I used a dos path (cygpath -d) About flexlink problem: I will check and report the problem (if reproduced) directly to Alain. Note that I had the problem inside a virtal box (XP guest OS, linux host OS). Thanks for all |
Comment author: matt FlexDLL I downloaded the binary files from Alain to both a virtual PC and a real one. On the virtual box, I then downloaded version 3.10.2 of Objective Caml, and had the mingw chain version of flexlink compiled and working. strange |
Comment author: matt Informatiion à propos du problème flexlink, après analyse par Alain Frisch : il apparaît que la version binaire proposée au téléchargement a été compilée avec les outils Microsoft, et qu’elle dépend d’une DLL (MSVCR80) qu’on ne trouve pas sur une installation par défaut de Windows XP Pro ! Il va proposer une version compilée avec mingw, qui elle dépend de la plus classique (MSVCRT). |
Original bug ID: 4633
Reporter: matt
Status: closed (set by @xavierleroy on 2009-01-26T17:30:07Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.11.0+beta
Fixed in version: 3.11.0
Category: ~DO NOT USE (was: OCaml general)
Monitored by: @alainfrisch
Bug description
1/ What version of Tcl/Tk can be used?
I tried with the very last version in the 8.4 serial.
ActiveTcl8.4.19.1.286921-win32-ix86-threaded
But I've got errors when doing make -f Makefile.nt world:
make[2]: Entering directory `/cygdrive/c/Documents and Settings/matt/Bureau/ocam
l-3.11.0+beta1/otherlibs/labltk/support'
../../../boot/ocamlrun ../../../tools/ocamlmklib -o labltk cltkCaml.o cltkUtf.o
cltkEval.o cltkEvent.o cltkFile.o cltkMain.o cltkMisc.o cltkTimer.o cltkVar.o cl
tkWait.o cltkImg.o -ldopt "c:/tcl/lib/tk84.lib c:/tcl/lib/tcl84.lib -lws2_32"
Cannot export ⌂tcl84_NULL_THUNK_DATA: symbol not found
Cannot export ⌂tk84_NULL_THUNK_DATA: symbol not found
collect2: ld returned 1 exit status
** Fatal error: Error during linking
2/ In another computer, I have a Tcl/Tk 8.4 installed in "Program Files" directory: I was not able to configure the Makefile correctly with this spaced path
3/ Is it possible to use the ocamlbuild tool to compile this version?
The text was updated successfully, but these errors were encountered: