Advertisement
Guest User

Untitled

a guest
May 5th, 2020
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.66 KB | None | 0 0
  1. ++ g++ -o event_emitter_program -I /root/.opam/4.10.0/lib/ocaml s.o interface.o main.cc -L/root/.opam/4.10.0/lib/ocaml -lunix -lasmrun -pthread /root/.opam/4.10.0/lib/lwt/unix/liblwt_unix_stubs.a /root/.opam/4.10.0/lib/stublibs/dlllwt_unix_stubs.so -ldl
  2. s.o: In function `camlLwt_main__finished_167':
  3. /root/.opam/4.10.0/.opam-switch/build/lwt.5.3.0/_build/default/src/unix/lwt_main.ml:62: undefined reference to `caml_mutex_lock'
  4. /root/.opam/4.10.0/.opam-switch/build/lwt.5.3.0/_build/default/src/unix/lwt_main.ml:64: undefined reference to `caml_mutex_unlock'
  5. s.o: In function `camlLwt_main__run_170':
  6. /root/.opam/4.10.0/.opam-switch/build/lwt.5.3.0/_build/default/src/unix/lwt_main.ml:69: undefined reference to `caml_mutex_lock'
  7. /root/.opam/4.10.0/.opam-switch/build/lwt.5.3.0/_build/default/src/unix/lwt_main.ml:107: undefined reference to `caml_mutex_unlock'
  8. s.o: In function `camlLwt_main__entry':
  9. /root/.opam/4.10.0/.opam-switch/build/lwt.5.3.0/_build/default/src/unix/lwt_main.ml:59: undefined reference to `caml_mutex_new'
  10. s.o: In function `camlThread__fun_293':
  11. (.text+0x1f48a): undefined reference to `caml_wait_signal'
  12. s.o: In function `camlThread__fun_295':
  13. (.text+0x1f4ad): undefined reference to `caml_thread_sigmask'
  14. s.o: In function `camlThread__fun_297':
  15. (.text+0x1f4ca): undefined reference to `caml_thread_yield'
  16. s.o: In function `camlThread__fun_299':
  17. (.text+0x1f4ea): undefined reference to `caml_thread_join'
  18. s.o: In function `camlThread__fun_301':
  19. (.text+0x1f50a): undefined reference to `caml_thread_exit'
  20. s.o: In function `camlThread__fun_303':
  21. (.text+0x1f528): undefined reference to `caml_thread_id'
  22. s.o: In function `camlThread__fun_305':
  23. (.text+0x1f548): undefined reference to `caml_thread_self'
  24. s.o: In function `camlThread__create_90':
  25. /root/.opam/4.10.0/.opam-switch/build/ocaml-base-compiler.4.10.0/otherlibs/systhreads/thread.ml:36: undefined reference to `caml_thread_new'
  26. s.o: In function `camlThread__fun_308':
  27. /root/.opam/4.10.0/.opam-switch/build/ocaml-base-compiler.4.10.0/otherlibs/systhreads/thread.ml:42: undefined reference to `caml_thread_uncaught_exception'
  28. s.o: In function `camlThread__preempt_99':
  29. /root/.opam/4.10.0/.opam-switch/build/ocaml-base-compiler.4.10.0/otherlibs/systhreads/thread.ml:51: undefined reference to `caml_thread_yield'
  30. s.o: In function `camlThread__fun_317':
  31. /root/.opam/4.10.0/.opam-switch/build/ocaml-base-compiler.4.10.0/otherlibs/systhreads/thread.ml:64: undefined reference to `caml_thread_cleanup'
  32. s.o: In function `camlThread__entry':
  33. /root/.opam/4.10.0/.opam-switch/build/ocaml-base-compiler.4.10.0/otherlibs/systhreads/thread.ml:62: undefined reference to `caml_thread_initialize'
  34. s.o: In function `camlMutex__fun_94':
  35. (.text+0x1f98a): undefined reference to `caml_mutex_unlock'
  36. s.o: In function `camlMutex__fun_96':
  37. (.text+0x1f9aa): undefined reference to `caml_mutex_try_lock'
  38. s.o: In function `camlMutex__fun_98':
  39. (.text+0x1f9ca): undefined reference to `caml_mutex_lock'
  40. s.o: In function `camlMutex__fun_100':
  41. (.text+0x1f9ea): undefined reference to `caml_mutex_new'
  42. s.o: In function `camlCondition__fun_96':
  43. (.text+0x1fa4a): undefined reference to `caml_condition_broadcast'
  44. s.o: In function `camlCondition__fun_98':
  45. (.text+0x1fa6a): undefined reference to `caml_condition_signal'
  46. s.o: In function `camlCondition__fun_100':
  47. (.text+0x1fa8d): undefined reference to `caml_condition_wait'
  48. s.o: In function `camlCondition__fun_102':
  49. (.text+0x1faaa): undefined reference to `caml_condition_new'
  50. s.o: In function `camlEvent__basic_sync_247':
  51. /root/.opam/4.10.0/.opam-switch/build/ocaml-base-compiler.4.10.0/otherlibs/systhreads/event.ml:73: undefined reference to `caml_condition_new'
  52. /root/.opam/4.10.0/.opam-switch/build/ocaml-base-compiler.4.10.0/otherlibs/systhreads/event.ml:84: undefined reference to `caml_mutex_lock'
  53. /root/.opam/4.10.0/.opam-switch/build/ocaml-base-compiler.4.10.0/otherlibs/systhreads/event.ml:89: undefined reference to `caml_condition_wait'
  54. /root/.opam/4.10.0/.opam-switch/build/ocaml-base-compiler.4.10.0/otherlibs/systhreads/event.ml:91: undefined reference to `caml_condition_wait'
  55. /root/.opam/4.10.0/.opam-switch/build/ocaml-base-compiler.4.10.0/otherlibs/systhreads/event.ml:93: undefined reference to `caml_mutex_unlock'
  56. s.o: In function `camlEvent__basic_poll_319':
  57. /root/.opam/4.10.0/.opam-switch/build/ocaml-base-compiler.4.10.0/otherlibs/systhreads/event.ml:149: undefined reference to `caml_condition_new'
  58. /root/.opam/4.10.0/.opam-switch/build/ocaml-base-compiler.4.10.0/otherlibs/systhreads/event.ml:160: undefined reference to `caml_mutex_lock'
  59. /root/.opam/4.10.0/.opam-switch/build/ocaml-base-compiler.4.10.0/otherlibs/systhreads/event.ml:164: undefined reference to `caml_mutex_unlock'
  60. /root/.opam/4.10.0/.opam-switch/build/ocaml-base-compiler.4.10.0/otherlibs/systhreads/event.ml:170: undefined reference to `caml_mutex_unlock'
  61. s.o: In function `camlEvent__poll_358':
  62. /root/.opam/4.10.0/.opam-switch/build/ocaml-base-compiler.4.10.0/otherlibs/systhreads/event.ml:210: undefined reference to `caml_condition_signal'
  63. s.o: In function `camlEvent__poll_371':
  64. /root/.opam/4.10.0/.opam-switch/build/ocaml-base-compiler.4.10.0/otherlibs/systhreads/event.ml:238: undefined reference to `caml_condition_signal'
  65. s.o: In function `camlEvent__entry':
  66. /root/.opam/4.10.0/.opam-switch/build/ocaml-base-compiler.4.10.0/otherlibs/systhreads/event.ml:57: undefined reference to `caml_mutex_new'
  67. s.o: In function `camlThread__1':
  68. (.data+0x18608): undefined reference to `caml_wait_signal'
  69. (.data+0x18610): undefined reference to `caml_thread_sigmask'
  70. (.data+0x18618): undefined reference to `caml_thread_exit'
  71. (.data+0x18620): undefined reference to `caml_thread_join'
  72. (.data+0x18628): undefined reference to `caml_thread_id'
  73. (.data+0x18630): undefined reference to `caml_thread_self'
  74. (.data+0x18638): undefined reference to `caml_thread_yield'
  75. (.data+0x18640): undefined reference to `caml_thread_uncaught_exception'
  76. (.data+0x18648): undefined reference to `caml_thread_new'
  77. (.data+0x18650): undefined reference to `caml_thread_cleanup'
  78. (.data+0x18658): undefined reference to `caml_thread_initialize'
  79. s.o: In function `camlMutex__gc_roots':
  80. (.data+0x189d8): undefined reference to `caml_mutex_unlock'
  81. (.data+0x189e0): undefined reference to `caml_mutex_try_lock'
  82. (.data+0x189e8): undefined reference to `caml_mutex_lock'
  83. (.data+0x189f0): undefined reference to `caml_mutex_new'
  84. s.o: In function `camlCondition__gc_roots':
  85. (.data+0x18af0): undefined reference to `caml_condition_broadcast'
  86. (.data+0x18af8): undefined reference to `caml_condition_signal'
  87. (.data+0x18b00): undefined reference to `caml_condition_wait'
  88. (.data+0x18b08): undefined reference to `caml_condition_new'
  89. collect2: error: ld returned 1 exit status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement