Skip to content
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

Le module Unix sous Cygwin ne fonctionne plus #5400

Closed
vicuna opened this issue Nov 15, 2011 · 4 comments
Closed

Le module Unix sous Cygwin ne fonctionne plus #5400

vicuna opened this issue Nov 15, 2011 · 4 comments
Assignees
Labels

Comments

@vicuna
Copy link

vicuna commented Nov 15, 2011

Original bug ID: 5400
Reporter: yveslemaire
Assigned to: @damiendoligez
Status: closed (set by @xavierleroy on 2012-09-25T18:07:21Z)
Resolution: fixed
Priority: normal
Severity: major
Version: 3.12.0
Category: ~DO NOT USE (was: OCaml general)
Related to: #5413

Bug description

Système: Windows XP.
Cygwin mis à jour avec setup.exe.
Après création d'un toplevel incluant le module Unix (ocamlmktop -o mytop unix.cma), je lance ./mytop, puis, dans le toplevel, la commande Unix.fork();; J'obtiens:

Cannot find FLEXDLL_RELOCATE
Cannot find FLEXDLL_RELOCATE
870493259 [main] ocamlrun 2828 C:\cygwin\bin\ocamlrun.exe: *** fatal error - unable to rem
ap \?\C:\cygwin\lib\ocaml\stublibs\dllunix.so to same address as parent: 0x665C0000 != 0x
0
Stack trace:
Frame Function Args
0022B5A8 6102796B (0022B5A8, 00000000, 00000000, 00000000)
0022B898 6102796B (6117EC60, 00008000, 00000000, 61180977)
0022C8C8 61004F1B (611A7FAC, 6124763C, 665C0000, 00000000)
End of stack trace
870506264 [main] ocaml 1436 fork: child 2828 - died waiting for dll loading, errno 11
Exception: Unix.Unix_error (Unix.EAGAIN, "fork", "").

Additional information

Avant la mise à jour de cygwin, j'avais Ocaml 3.08 et le module Unix fonctionnait).

@vicuna
Copy link
Author

vicuna commented Dec 20, 2011

Comment author: @xavierleroy

Pourriez-vous mettre a jour Cygwin avec la version 3.12.1 du package OCaml? Cela devrait corriger le probleme. Sinon, merci de nous le signaler.

@vicuna
Copy link
Author

vicuna commented Dec 22, 2011

Comment author: yveslemaire

Jai mis a jour Cygwin avec la version 3.12.1 du package OCaml. Cette fois, après
$ ocamlktop -o mytop unix.cma
puis
$ ./mytop
j'obtiens:
Fatal error: exception Invalid_argument("inet_addr_of_string not implemented")

@vicuna
Copy link
Author

vicuna commented Dec 23, 2011

Comment author: @damiendoligez

Pouvez-vous confirmer que le probleme est resolu par la version 3.12.1-2 du package cygwin ?

@vicuna
Copy link
Author

vicuna commented Dec 23, 2011

Comment author: yveslemaire

Je confirme que le probleme est resolu par la version 3.12.1-2 du package cygwin. MERCI!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants