Ben Morrow wrote:
Quoth [EMAIL PROTECTED] (Gumbold):

i choose to build threading perl, cause no fork on my system
and have threads.
also don't have getnetent_r(), so undef it in config.sh
When compile reentr.c got errors:
"reentr.c", line 399: error #137: struct "<unnamed>" has no field "_netent_size"

<snip>

Well. Any idea how to deal wiht it?


It sounds like your system, although calling itself (IIR your earlier
threads C) 'Linux', is in fact quite different from Linux in important
ways and needs Perl porting to it (i.e., it won't build out of the box,
you have to work a bit harder than that).

Firstly, let me clear up a few issues I am unclear on:

1. Does your system use glibc?

2. Does your system support threads?

3. If it does, how do they work? Linux implements threads with a
generalization of fork, and you are saying your system doesn't have
fork.

4. Does your system have getnetent? Is that function thread-safe?

5. Why did you need to edit config.sh yourself? What did Configure think
it found, and why was it wrong?

Ben

Problem fixed.
Actualy not have number of _r functions, so cancel them
(d_getnetent_r = undef) The problem was that i have cancel
also prototypes, like d_getnetent_r_proto = undef
So it is solved.
Thank you for you help.

Reply via email to