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: 2226 Reporter: administrator Status: closed Resolution: not a bug Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Philippe Veber
Version: 3.07
OS: Linux
Submission from: cache.jouy.inra.fr (138.102.1.123)
Source qui pose problème :
oops.ml:
ignore (Thread.create ignore ());;
Commandes pour compiler :
ocamlc -thread -c oops.ml
ocamlc -thread -o oops threads.cma -cclib -lthreads oops.cmo
Error while linking /home/mig/pveber//lib/ocaml/threads/threads.cma(Thread):
Reference to undefined global `Unix'
Tentative de correction
ocamlc -thread -c oops.ml
ocamlc -thread -o oops unix.cma -cclib -lunix threads.cma -cclib -lthreads
oops.cmo
Files /home/mig/pveber//lib/ocaml/threads/unix.cma(Unix)
and /home/mig/pveber//lib/ocaml/stdlib.cma(List)
make inconsistent assumptions over interface List
Vraiment désolé s'il ne s'agit que d'une erreur de ma part, mais ça me donne
l'occasion de féliciter l'équipe pour le travail qu'elle réalise.
Cordialement,
Philippe Veber.
Merci de votre intérêt pour Caml et de vos félicitations :)
Le symptôme que vous observez est typique d'une installation
partielle: le compilateur n'est pas en phase avec les bibliothèques
déjà installées par ailleurs.
Pourriez-vous réinstaller le compilateur après avoir supprimé
/home/mig/pveber/lib/ocaml/ ?
Si tout ne rentre pas dans l'ordre, faites-nous le savoir ...
Original bug ID: 2226
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Philippe Veber
Version: 3.07
OS: Linux
Submission from: cache.jouy.inra.fr (138.102.1.123)
Source qui pose problème :
oops.ml:
ignore (Thread.create ignore ());;
Commandes pour compiler :
ocamlc -thread -c oops.ml
ocamlc -thread -o oops threads.cma -cclib -lthreads oops.cmo
Error while linking /home/mig/pveber//lib/ocaml/threads/threads.cma(Thread):
Reference to undefined global `Unix'
Tentative de correction
ocamlc -thread -c oops.ml
ocamlc -thread -o oops unix.cma -cclib -lunix threads.cma -cclib -lthreads
oops.cmo
Files /home/mig/pveber//lib/ocaml/threads/unix.cma(Unix)
and /home/mig/pveber//lib/ocaml/stdlib.cma(List)
make inconsistent assumptions over interface List
Ces résultats sont obtenus avec Ocaml 3.07
Avec Ocaml 3.06:
ocamlc -thread -c mlmake.ml
ocamlc -thread -o mlmake threads.cma -cclib -lthreads mlmake.cmo
passe très bien (sur 3.04 aussi).
Vraiment désolé s'il ne s'agit que d'une erreur de ma part, mais ça me donne
l'occasion de féliciter l'équipe pour le travail qu'elle réalise.
Cordialement,
Philippe Veber.
The text was updated successfully, but these errors were encountered: