Problems on Mac OS X 10.3

Stefan Mandl <>
Fri Jan 23 10:20:01 CET 2004


Dear Erlang folk,

I have problems using the erl_interface functions on Panther. With the 
binary version by Sean, the files libei.a or liberl_interface.a contain 
a version of strerror_r, which prevents linking as the function  also 
appears in the system libraries.

I also tried to compile the current source release. After overcomming 
the build problem (thanks for the Makefile patch), I'm sad to report 
that the c-node example from the documentation does not work. When I 
increase the ei_tracelevel, cnode_s.c I get the follwing output:

------------------------------
ei_epmd_r4_publish: Fri Jan 23 10:13:27 2004: -> ALIVE2_REQ alive=c1 
port=3456 ntype=72 proto=0 dist-high=5 dist-low=1
ei_epmd_r4_publish: Fri Jan 23 10:13:27 2004: <- ALIVE2_RESP
ei_epmd_r4_publish: Fri Jan 23 10:13:27 2004:  result=0 (ok) creation=3
ei_accept: Fri Jan 23 10:13:27 2004: <- ACCEPT waiting for connection
ei_accept: Fri Jan 23 10:15:06 2004: <- ACCEPT connected to remote
recv_name: Fri Jan 23 10:15:06 2004: <- RECV_NAME (ok) node = 
, version = 5, flags = 255
send_status: Fri Jan 23 10:15:06 2004: -> SEND_STATUS (ok)
send_name_or_challenge: Fri Jan 23 10:15:06 2004: -> SEND_CHALLENGE 
(ok) challenge = 1436310268, version = 5, nodename = 

recv_challenge_reply: Fri Jan 23 10:15:07 2004: <- RECV_CHALLENGE_REPLY 
socket read failed (-1)
ei_accept: Fri Jan 23 10:15:07 2004: <- ACCEPT failed
erl_accept
-----------------------------

could it be a problem with the cookie?

Thank you,

	Stefan




More information about the erlang-questions mailing list