Folks -
I am receiving the following error at the end of my compile attempt -
any thoughts? I have included the full output below. This was compiled
with gcc 3.3, ncurses 5.3, and libpcap 0.8.1. System is a SUN E450
running Solaris 8.
Thanks in advance for your help.
Adam
checking how to compile a working program with POSIX threads... no idea
configure: error: can't figure out how to compile with POSIX threads
If your system actually supports POSIX threads, this means we've messed
up.
root@afc2 # ./configure && make
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking target system type... sparc-sun-solaris2.8
checking for a BSD-compatible install... config/install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking for unistd.h... (cached) yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/dlpi.h usability... yes
checking sys/dlpi.h presence... yes
checking for sys/dlpi.h... yes
checking for regcomp... yes
checking for select... yes
checking for strdup... yes
checking for strerror... yes
checking for strspn... yes
checking for library containing socket... -lsocket
checking for library containing log... -lm
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for library containing inet_aton... no
checking for library containing inet_pton... none required
checking for inet_aton... no
checking for inet_pton... yes
checking size of u_int8_t... unknown type
checking size of u_int16_t... unknown type
checking size of u_int32_t... unknown type
checking for stdint.h... (cached) no
checking sys/inttypes.h usability... yes
checking sys/inttypes.h presence... yes
checking for sys/inttypes.h... yes
checking for library containing getnameinfo... none required
checking for library containing gethostbyaddr_r... none required
checking how to call gethostbyaddr_r... 7 args, struct hostent* return
checking where to find pcap.h... /include
checking for pcap_open_live in -lpcap... yes
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking for a curses library containing mvchgat... -lncurses
checking how to compile a working program with POSIX threads... no idea
configure: error: can't figure out how to compile with POSIX threads
If your system actually supports POSIX threads, this means we've
messed up.
root@afc2 #