[Iftop-users] iftop 0.16

John Thompson JohnThompson at new.rr.com
Mon, 1 Mar 2004 07:26:53 -0600


On Mon, 01 Mar 2004 09:48:22 +0000
Paul Warren <pdw@ex-parrot.com> wrote:

> Hi John,
> 
> Can you post us the (last bit of) output from your config.log?  

Sure; thanks:

configure:6504: checking how to compile a working program with POSIX
threads configure:6524: gcc -o conftest -I/usr/pkg/include    conftest.c
-lpcap -lm  -ln curses  >&5
/var/tmp/cccO6llL.o: In function`worker_thread':
/var/tmp/cccO6llL.o(.text+0x19): undefined reference
to`pthread_mutex_lock'
/var/tmp/cccO6llL.o(.text+0x29): undefined reference to
`pthread_cond_signal'
/var/tmp/cccO6llL.o(.text+0x39): undefined reference to
`pthread_mutex_unlock'
/var/tmp/cccO6llL.o(.text+0x52): undefined reference to
`pthread_testcancel'
/var/tmp/cccO6llL.o: In function `main':
/var/tmp/cccO6llL.o(.text+0x79): undefined reference to
`pthread_mutex_lock'
/var/tmp/cccO6llL.o(.text+0x99): undefined reference
to `pthread_create'
/var/tmp/cccO6llL.o(.text+0x10f): undefined reference
to `pthread_cond_timedwait'
/var/tmp/cccO6llL.o(.text+0x164): undefined reference to
`pthread_cancel'
/var/tmp/cccO6llL.o(.text+0x180): undefined reference to
`pthread_join' 
configure:6527: $? = 1
configure: program exited with status 1
configure: failed program was: 
#line 6518 "configure"

	[...]


configure:6554: result: no idea
configure:6557: error: can't figure out how to compile with POSIX
threads  If your system actually supports POSIX threads, this means
we've messed up.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i386-unknown-netbsdelf1.6.1
ac_cv_build_alias=i386-unknown-netbsdelf1.6.1
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=-I/usr/pkg/include
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_func_gethostbyname=yes
ac_cv_func_inet_aton=yes
ac_cv_func_inet_pton=yes
ac_cv_func_regcomp=yes
ac_cv_func_select=yes
ac_cv_func_strdup=yes
ac_cv_func_strerror=yes
ac_cv_func_strspn=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_pcap_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_dlpi_h=no
ac_cv_header_sys_ioctl_h=yes
ac_cv_header_sys_sockio_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i386-unknown-netbsdelf1.6.1
ac_cv_host_alias=i386-unknown-netbsdelf1.6.1
ac_cv_lib_pcap_pcap_open_live=yes
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_make_make_set=yes
ac_cv_search_gethostbyaddr='none required'
ac_cv_search_gethostbyaddr_r=no
ac_cv_search_getnameinfo='none required'
ac_cv_search_inet_aton='none required'
ac_cv_search_inet_pton='none required'
ac_cv_search_log=-lm
ac_cv_search_socket='none required'
ac_cv_target=i386-unknown-netbsdelf1.6.1
ac_cv_target_alias=i386-unknown-netbsdelf1.6.1
ac_cv_type_size_t=yes
am_cv_CC_dependencies_compiler_type=gcc

	[...]



-- 

-John (JohnThompson@new.rr.com)