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

in 3.12.0+dev18 (2010-04-20), cannot link with module Unix #5031

Closed
vicuna opened this issue Apr 21, 2010 · 1 comment
Closed

in 3.12.0+dev18 (2010-04-20), cannot link with module Unix #5031

vicuna opened this issue Apr 21, 2010 · 1 comment
Assignees
Labels

Comments

@vicuna
Copy link

vicuna commented Apr 21, 2010

Original bug ID: 5031
Reporter: pascal_cuoq
Assigned to: @damiendoligez
Status: closed (set by @damiendoligez on 2010-04-30T14:45:06Z)
Resolution: fixed
Priority: normal
Severity: major
Fixed in version: 3.12.0+dev
Category: ~DO NOT USE (was: OCaml general)

Bug description

On Mac OS X 10.6.3 with XCode 3.2.1, OCaml 3.12.0+dev18 from the public SVN was configured with:

./configure -cc "gcc -m32" -as "as -arch i386" -aspp "gcc -m32 -c" -prefix /usr/local/Frama-C_B/ocaml-3.12.0+dev18-32

With the two attached files, compiling with the command:

ocamlc.opt -I ptests -dtypes -vmthread -g -o ptests.byte unix.cma threads.cma str.cma dynlink.cma ptests_config.ml ptests.ml

produces the error:

File "ptests.ml", line 1, characters 0-1:
Error: Error on dynamically loaded library: /usr/local/Frama-C_B/ocaml-3.12.0+dev18-32/lib/ocaml/stublibs/dllunix.so: dlopen(/usr/local/Frama-C_B/ocaml-3.12.0+dev18-32/lib/ocaml/stublibs/dllunix.so, 138): Symbol not found: _caml_debugger_fork_mode
Referenced from: /usr/local/Frama-C_B/ocaml-3.12.0+dev18-32/lib/ocaml/stublibs/dllunix.so
Expected in: flat namespace
in /usr/local/Frama-C_B/ocaml-3.12.0+dev18-32/lib/ocaml/stublibs/dllunix.so

File attachments

@vicuna
Copy link
Author

vicuna commented Apr 30, 2010

Comment author: @damiendoligez

fixed in 3.12.0+dev19

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