logo       

Re: Problems on Mac OS X 10.3: msg#00276

lang.erlang.general

Subject: Re: Problems on Mac OS X 10.3

Hi,

For info I did no testing of ei et al for the OS X binary release (having no particular use or talent for C code :-) )

Sean

On 23 Jan 2004, at 09:20, Stefan Mandl wrote:

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 = e1@faui878, 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 = c1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise