Sounds like you are missing the threading library - those are all POSIX
threads functions...
Check config.log - see how the tests for the POSIX functions went. We
explicitly check in ./configure for
AC_CHECK_LIB(pthread, pthread_create, , [
AC_CHECK_LIB(pthreads, pthread_create, , [
AC_CHECK_LIB(c_r, pthread_create)
])
])
So it's probably the link missing -lpthread or some such. But I thought
that was already in there. What shows up in ./configure for the LIBS
parameters (at the end)
-----Burton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
David Brodbeck
Sent: Friday, June 17, 2005 10:46 AM
To: [email protected]
Subject: Can't compile CVS on FreeBSD 4.11-RELEASE (Was: Re: [Ntop]
problemreport: ntop ignores --interface switch,captures from first interface
instead)
I decided to compile from CVS, to see if my problem is just a bug in the
FreeBSD port. However, I seem to be missing a library:
./.libs/libntopreport.so: undefined reference to `pthread_cond_signal'
./.libs/libntop.so: undefined reference to `pthread_create'
./.libs/libntop.so: undefined reference to `pthread_equal'
./.libs/libntop.so: undefined reference to `sem_destroy'
./.libs/libntop.so: undefined reference to `sem_wait'
./.libs/libntop.so: undefined reference to `sem_post'
./.libs/libntop.so: undefined reference to `pthread_detach'
./.libs/libntop.so: undefined reference to `sem_init'
./.libs/libntopreport.so: undefined reference to `pthread_kill'
./.libs/libntopreport.so: undefined reference to `pthread_sigmask'
./.libs/libntop.so: undefined reference to `pthread_cond_init'
./.libs/libntop.so: undefined reference to `sem_trywait'
./.libs/libntopreport.so: undefined reference to `pthread_mutex_unlock'
./.libs/libntopreport.so: undefined reference to `pthread_self'
./.libs/libntop.so: undefined reference to `pthread_mutex_destroy'
./.libs/libntopreport.so: undefined reference to `pthread_mutex_lock'
./.libs/libntopreport.so: undefined reference to `pthread_cond_wait'
./.libs/libntop.so: undefined reference to `pthread_mutex_trylock'
./.libs/libntop.so: undefined reference to `pthread_cond_destroy'
./.libs/libntop.so: undefined reference to `pthread_mutex_init'
./.libs/libntopreport.so: undefined reference to `pthread_cond_timedwait'
gmake[2]: *** [ntop] Error 1
gmake[2]: Leaving directory `/usr/home/gull/ntop-source/ntop'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/gull/ntop-source/ntop'
gmake: *** [all] Error 2
What do I need to do?
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop