Sounds like you don't have the POSIX thread library installed.  Or a
reference to -lpthread or similar is missing from the link command.

-----Burton 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Cole
Sent: Monday, May 23, 2005 2:00 PM
To: [email protected]
Subject: [Ntop-dev] Ntop && FreeBSD 4.9 Build Problem

Hi

Ive just cvsupped the latest cvs from your server. Im running FreeBSD 4.9.
The only errors in the configure are the missing glib.h. Which doesnt bother
me.
Anyway, heres the build problems, when using gmake as instructed.

/Cole

/usr/local/bin/bash ./libtool --mode=link --tag=CC gcc -g -O2
-I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs  -fPIC -DPIC - g -O2
-I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs  -fPIC -DPIC -L/usr /local/lib
-L/usr/local/lib -o ntop -L/usr/local/lib ntop-main.o ntop-admin.o
libntopreport.la libntop.la myrrd/libmyrrd.la -lgdome -lxml2 -lc_r -lc
-lcrypt -lssl -lcrypto -lpcap -lgdbm -lgd -lpng -lz gcc -g -O2
-I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fPIC -DPIC -g
 -O2 -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fPIC -DPIC -o .libs/ntop
ntop-main.o ntop-admin.o  -L/usr/local/lib ./.libs/libntopreport.so
./.libs/libntop.so myrrd/.libs/libmyrrd.so -lgdome -lxml2 -lcrypt -lssl
-lcrypto -lpcap -lgdbm -lgd -lpng -lz -Wl,--rpath -Wl,/usr/local/lib
./.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



_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to