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: 3416 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Sylvain Chevillard
Version: ocaml 3.07+2
OS: Mac OS X
Submission from: infisxc.residence.ens-lyon.fr (140.77.128.144)
There is a conflict of symbols between the framework Cocoa and the Random
library under Mac OS X : the symbol _Random is defined twice and the linkig
aborts :
Minimal code :
0~/% more toto.ml
let f x = Random.int 43
0~/% ocamlopt -ccopt "-framework Cocoa" toto.ml -o toto
ld: multiple definitions of symbol _Random
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD(QD.o)
definition of _Random
/usr/local/lib/ocaml/stdlib.a(random.o) definition of _Random in section
(__DATA,__data)
Error during linking
The text was updated successfully, but these errors were encountered:
Full_Name: Sylvain Chevillard
Version: ocaml 3.07+2
OS: Mac OS X
There is a conflict of symbols between the framework Cocoa and the Random
library under Mac OS X : the symbol _Random is defined twice and the linkig
aborts :
Thanks for the bug report. This is fixed since version 3.08.0, by prepending
"caml" in front of every symbol.
Original bug ID: 3416
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Sylvain Chevillard
Version: ocaml 3.07+2
OS: Mac OS X
Submission from: infisxc.residence.ens-lyon.fr (140.77.128.144)
There is a conflict of symbols between the framework Cocoa and the Random
library under Mac OS X : the symbol _Random is defined twice and the linkig
aborts :
Minimal code :
0~/% more toto.ml
let f x = Random.int 43
0~/% ocamlopt -ccopt "-framework Cocoa" toto.ml -o toto
ld: multiple definitions of symbol _Random
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD(QD.o)
definition of _Random
/usr/local/lib/ocaml/stdlib.a(random.o) definition of _Random in section
(__DATA,__data)
Error during linking
The text was updated successfully, but these errors were encountered: