The difference is that we added a ./configure test FOR pthread_atfork() and
skip the call if it doesn't exist.  You still have the library issue (that
call should be available), but it won't prevent you from compiling.

NB: You're still exposed to the underlying problem of mutexes in fork()ed
child processes that haven't been reinitialized, OTOP, that's how ntop
worked up until 2.2c without any KNOWN problems... s'be'it.

-----Burton

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Matthew Schumacher
Sent: Monday, October 13, 2003 6:28 PM
To: [EMAIL PROTECTED]
Subject: Re: [Ntop] undefined reference to `pthread_atfork' when
compiling on slackware 9.1


Ok, I was trying to compile the code contained in the ntop-2.2c.tgz and
it wasn't working.  I downloaded the ntop-2.2.95.tgz package and it
works fine.

schu

Matthew Schumacher wrote:
> Hello all,
>
> I have a really odd compilation error:
>
> ./.libs/libntop.so: undefined reference to `pthread_atfork'
>
> It doesn't really make sense because it is linking against -lpthread.
> Anyone have a suggestion on what I can look at?
>
> Thanks,
>
> schu
>
> =========================================================================
>
> Here is my system:
> Slackware 9.1 (kernel: 2.4.22, glibc 2.3.2, gcc 3.2.3, GNU Make 3.80)
>
> =========================================================================
>

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to