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
I am running OCaml 4.02.3 with Opam 1.2.2 on NixOS. I have successfully built lwt 2.5.2 via opam install lwt.
Now when I try to build lamda-term I end up with this error:
### stdout ###
# [...]
# /home/me/.opam/4.02.3/build/lwt.2.5.2/_build/src/unix/lwt_unix_stubs.c:575: undefined reference to `pthread_sigmask'
# /home/me/.opam/4.02.3/lib/lwt/liblwt-unix_stubs.a(lwt_unix_stubs.o): In function `worker_loop':
# /home/me/.opam/4.02.3/build/lwt.2.5.2/_build/src/unix/lwt_unix_stubs.c:1195: undefined reference to `pthread_sigmask'
# /home/me/.opam/4.02.3/lib/lwt/liblwt-unix_stubs.a(lwt_unix_stubs.o): In function `lwt_unix_recv_notifications':
# /home/me/.opam/4.02.3/build/lwt.2.5.2/_build/src/unix/lwt_unix_stubs.c:594: undefined reference to `pthread_sigmask'
# /home/me/.opam/4.02.3/lib/lwt/liblwt-unix_stubs.a(lwt_unix_stubs.o):/home/me/.opam/4.02.3/build/lwt.2.5.2/_build/src/unix/lwt_unix_stubs.c:612: more undefined references to `pthread_sigmask' follow
# collect2: error: ld returned 1 exit status
# File "caml_startup", line 1:
# Error: Error during linking
# Command exited with code 2.
Do you know what could be causing this? Its the only thing keeping me from building utop successfully with opam.
The text was updated successfully, but these errors were encountered:
angrygoats
changed the title
Breaking on build
Breaking on build with Opam 1.2.2 and OCaml 4.02.3.
Jun 9, 2016
I am running OCaml 4.02.3 with Opam 1.2.2 on NixOS. I have successfully
built lwt 2.5.2 via opam install lwt.
Now when I try to build lamda-term I end up with this error:
stdout
[...]
/home/me/.opam/4.02.3/build/lwt.2.5.2/_build/src/unix/lwt_unix_stubs.c:575: undefined reference to `pthread_sigmask'
/home/me/.opam/4.02.3/lib/lwt/liblwt-unix_stubs.a(lwt_unix_stubs.o): In function `worker_loop':
/home/me/.opam/4.02.3/build/lwt.2.5.2/_build/src/unix/lwt_unix_stubs.c:1195: undefined reference to `pthread_sigmask'
/home/me/.opam/4.02.3/lib/lwt/liblwt-unix_stubs.a(lwt_unix_stubs.o): In function `lwt_unix_recv_notifications':
/home/me/.opam/4.02.3/build/lwt.2.5.2/_build/src/unix/lwt_unix_stubs.c:594: undefined reference to `pthread_sigmask'
/home/me/.opam/4.02.3/lib/lwt/liblwt-unix_stubs.a(lwt_unix_stubs.o):/home/me/.opam/4.02.3/build/lwt.2.5.2/_build/src/unix/lwt_unix_stubs.c:612: more undefined references to `pthread_sigmask' follow
collect2: error: ld returned 1 exit status
File "caml_startup", line 1:
Error: Error during linking
Command exited with code 2.
Do you know what could be causing this? Its the only thing keeping me from
building utop successfully with opam.
I am running OCaml 4.02.3 with Opam 1.2.2 on NixOS. I have successfully built lwt 2.5.2 via
opam install lwt
.Now when I try to build lamda-term I end up with this error:
Do you know what could be causing this? Its the only thing keeping me from building
utop
successfully with opam.The text was updated successfully, but these errors were encountered: