Hi John,
Sorry for the delay in repling, I've only just had a chance to look at this. I think I need to see more of your config.log. configure should attempt to compile a test program in 12 different ways. I suspect that at least one of those is actually compiling and it's the test program that's failing. Can you post the rest of the file?
thanks,
Paul
On Mon, Mar 01, 2004 at 07:26:53AM -0600, John Thompson wrote:
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)
iftop-users mailing list iftop-users@lists.beasts.org http://lists.beasts.org/mailman/listinfo/iftop-users