Answer the question
In order to leave comments, you need to log in
How to connect a module to the erlang console?
I compiled a module for erlang from the sources and I want to execute it as described in the documentation, but for some reason it does not work:
[email protected]:~/projects$ git clone [email protected]:saleyn/erlexec.git
Клонирование в «erlexec»…
remote: Enumerating objects: 27, done.
remote: Counting objects: 100% (27/27), done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 1471 (delta 12), reused 21 (delta 8), pack-reused 1444
Получение объектов: 100% (1471/1471), 703.40 KiB | 1.11 MiB/s, готово.
Определение изменений: 100% (939/939), готово.
Проверка соединения… готово.
[email protected]:~/projects$ cd erlexec/
[email protected]:~/projects/erlexec$ make
===> Fetching pc v1.10.0
===> Version cached at /home/alekciy/.cache/rebar3/hex/hexpm/packages/pc-1.10.0.tar is up to date, reusing it
===> Compiling pc
===> Verifying dependencies...
===> Compiling erlexec
===> Compiling /home/alekciy/projects/erlexec/c_src/ei++.cpp
===> Compiling /home/alekciy/projects/erlexec/c_src/exec.cpp
===> Compiling /home/alekciy/projects/erlexec/c_src/exec_impl.cpp
===> Linking /home/alekciy/projects/erlexec/priv/x86_64-pc-linux-gnu/exec-port
[email protected]:~/projects/erlexec$ erl
Erlang/OTP 18 [erts-7.3] [source] [64-bit] [smp:4:4] [async-threads:10] [kernel-poll:false]
Eshell V7.3 (abort with ^G)
1> exec:start([]).
** exception error: undefined function exec:start/1
2>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question