X-From-Line: address@hidden Tue Jul 15 12:19:26 2003 Return-path: Envelope-to: address@hidden Delivery-date: Tue, 15 Jul 2003 13:37:20 +0200 Received: from hermes.epita.fr ([163.5.255.10] helo=epita.fr) by kualalumpur.lrde.epita.fr with esmtp (Exim 3.35 #1 (Debian)) id 19cO7U-0003YJ-00 for ; Tue, 15 Jul 2003 13:37:20 +0200 Received: from f7.net (consort.superb.net [209.61.216.22]) by epita.fr id h6FBbND20036 for EPITA Paris France Tue, 15 Jul 2003 13:37:23 +0200 (CEST) Received: from monty-python.gnu.org (monty-python.gnu.org [199.232.76.173]) by f7.net (8.11.7/8.11.7) with ESMTP id h6FBbGX07314; Tue, 15 Jul 2003 07:37:16 -0400 Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19cN8O-0006SO-Sk for address@hidden; Tue, 15 Jul 2003 06:34:12 -0400 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19cMxB-0002kT-N1 for address@hidden; Tue, 15 Jul 2003 06:22:37 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19cMvM-0002O1-OU for address@hidden; Tue, 15 Jul 2003 06:20:49 -0400 Received: from almach.ph.tn.tudelft.nl ([130.161.253.52]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19cMvF-00020I-Ud for address@hidden; Tue, 15 Jul 2003 06:20:38 -0400 Received: from galaxy.ph.tn.tudelft.nl (galaxy.ph.tn.tudelft.nl [130.161.253.1]) by almach.ph.tn.tudelft.nl (8.12.9/8.12.9) with ESMTP id h6FAJQnv018517 for ; Tue, 15 Jul 2003 12:19:27 +0200 (MET DST) Received: (from address@hidden) by galaxy.ph.tn.tudelft.nl (8.8.8/8.8.7) id MAA18840 for address@hidden; Tue, 15 Jul 2003 12:19:26 +0200 (MET DST) Date: Tue, 15 Jul 2003 12:19:26 +0200 From: Frank de Jong To: address@hidden X-Gnus-Mail-Source: pop:address@hidden Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="ZPt4rx8FFjLCG7dd" Content-Disposition: inline Subject: Found warning in pth-2.0.0 (sys/socket.h: present but cannot be compiled) X-BeenThere: address@hidden X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for autoconf, the GNU build system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: address@hidden Errors-To: address@hidden X-Spam-Status: No, hits=-0.5 required=5.0 tests=SUBJ_HAS_SPACES,COPYRIGHT_CLAIMED,GAPPY_TEXT,SUPERLONG_LINE version=2.20 X-Spam-Level: Status: X-Content-Length: 58433 Lines: 1692 Xref: nostromo.lrde.epita.fr autoconf.bug:2728 --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I was running ./configure with standard options on a HPUX C240, and found a bug with a bug-report request. I have included a session log which should provide you with enough information. I am guessing that the _INCLUDE_XOPEN_SOURCE_EXTENDED symbol is not defined under gcc, and therefore, the #include does not get compiled. This then generates the fatal error. Included is also config.log Regards, Frank --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="session1.log" $ uname -a HP-UX joe B.11.11 U 9000/782 2004626987 unlimited-user license $ ./configure Configuring GNU Pth (Portable Threads), Version 2.0.0 (17-Feb-2003) Copyright (c) 1999-2003 Ralf S. Engelschall Platform: hppa2.0w-hp-hpux11.11 Build Tools: 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 gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking whether make sets $(MAKE)... yes checking for compiler option -pipe... yes checking for compilation debug mode... disabled checking for compilation profile mode... disabled checking for compilation optimization mode... disabled checking build system type... hppa2.0w-hp-hpux11.11 checking host system type... hppa2.0w-hp-hpux11.11 checking for ld used by GCC... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking for /usr/ccs/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -p checking for a sed that does not truncate output... /usr/bin/sed checking whether ln -s works... yes checking how to recognise dependent libraries... file_magic (s[0-9][0-9][0-9]|Py checking command to parse /usr/bin/nm -p output... ok checking for egrep... grep -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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... relink checking whether stripping libraries is possible... no checking dynamic linker characteristics... hpux11.11 dld.sl checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes creating libtool Mandatory Platform Environment: checking for ANSI C header files... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for string.h... (cached) yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for unistd.h... (cached) yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for sys/types.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking for sys/stat.h... (cached) yes checking sys/socket.h usability... no checking sys/socket.h presence... yes configure: WARNING: sys/socket.h: present but cannot be compiled configure: WARNING: sys/socket.h: check for missing prerequisite headers? configure: WARNING: sys/socket.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to address@hidden ## configure: WARNING: ## ------------------------------------ ## checking for sys/socket.h... yes checking for gettimeofday... no checking for select... no checking for sigaction... yes checking for sigprocmask... yes checking for sigpending... yes checking for sigsuspend... yes ./configure:Error: decision on mandatory system headers and functions failed. ./configure:Hint: see config.log for more details! $ cat ~/bla.c #include int main( int argc, char *argv[] ) { puts("Hello"); } $ gcc ~/bla.c In file included from /home/frankdj/bla.c:1: /usr/include/sys/socket.h:439: syntax error before "sendfile" /usr/include/sys/socket.h:440: syntax error before "bsize_t" /usr/include/sys/socket.h:441: syntax error before "sendpath" /usr/include/sys/socket.h:442: syntax error before "bsize_t" $ cat /usr/include/sys/socket.h /* * BEGIN_DESC * * File: socket.h Date: 12/2/1998 * @(#)B.11.11_LR * * Purpose: * Definitions related to sockets: types, address families, options. * * Classification: Release to Release Consistency Req: * <> * kernel subsystem private none * kernel private none * kernel 3rd party private limited source * public binary & source * * BE header: yes * * Shipped: yes * /usr/include/sys/socket.h * /usr/conf/sys/socket.h * * <> * NOTE: * This header file contains information specific to the internals * of the HP-UX implementation. The contents of this header file * are subject to change without notice. Such changes may affect * source code, object code, or binary compatibility between * releases of HP-UX. Code which uses the symbols contained within * this header file is inherently non-portable (even between HP-UX * implementations). * * END_DESC */ #ifndef _SYS_SOCKET_INCLUDED /* allow multiple includes of this file */ #define _SYS_SOCKET_INCLUDED /* without causing compilation errors */ /* * Copyright (c) 1982, 1985, 1986 Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms are permitted * provided that the above copyright notice and this paragraph are * duplicated in all such forms and that any documentation, * advertising materials, and other materials related to such * distribution and use acknowledge that the software was developed * by the University of California, Berkeley. The name of the * University may not be used to endorse or promote products derived * from this software without specific prior written permission. * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * * socket.h 7.3 (Berkeley) 6/27/88 */ #include #ifdef _INCLUDE_XOPEN_SOURCE_EXTENDED #include #include #include /* * Types */ #ifndef _CADDR_T # define _CADDR_T typedef char *caddr_t; #endif /* _CADDR_T */ /* * Types of sockets */ #define SOCK_STREAM 1 /* stream socket */ #define SOCK_DGRAM 2 /* datagram socket */ #define SOCK_RAW 3 /* raw-protocol interface */ #define SOCK_RDM 4 /* reliably-delivered message */ #define SOCK_SEQPACKET 5 /* sequenced packet stream */ /* * Option flags per-socket. */ #define SO_DEBUG 0x0001 /* turn on debugging info recording */ #define SO_ACCEPTCONN 0x0002 /* socket has had listen() */ #define SO_REUSEADDR 0x0004 /* allow local address reuse */ #define SO_KEEPALIVE 0x0008 /* keep connections alive */ #define SO_DONTROUTE 0x0010 /* just use interface addresses */ #define SO_BROADCAST 0x0020 /* permit sending of broadcast msgs */ #define SO_USELOOPBACK 0x0040 /* bypass hardware when possible */ #define SO_LINGER 0x0080 /* linger on close if data present */ #define SO_OOBINLINE 0x0100 /* leave received OOB data in line */ #define SO_REUSEPORT 0x0200 /* allow local address & port reuse */ #define SO_GETIFADDR 0x0400 /* HP: save the loc IP addr for inb UDP/ #define SO_PMTU 0x0800 /* HP: advise to use PMTU discovery */ #define SO_INPCB_COPY 0x1000 /* HP: local copy of inpcb */ /* * Additional options, not kept in so_options. */ #define SO_SNDBUF 0x1001 /* send buffer size */ #define SO_RCVBUF 0x1002 /* receive buffer size */ #define SO_SNDLOWAT 0x1003 /* send low-water mark */ #define SO_RCVLOWAT 0x1004 /* receive low-water mark */ #define SO_SNDTIMEO 0x1005 /* send timeout */ #define SO_RCVTIMEO 0x1006 /* receive timeout */ #define SO_ERROR 0x1007 /* get error status and clear */ #define SO_TYPE 0x1008 /* get socket type */ #define SO_SND_COPYAVOID 0x1009 /* avoid copy on send*/ #define SO_RCV_COPYAVOID 0x100a /* avoid copy on rcv */ #define SO_PROTOTYPE 0x100b /* assign protocol for RAW sockets */ #define SO_DISTRIBUTE 0x100c /* distribute UDP datagrams to */ /* multiple streams - internal use */ /* only */ #define SO_GET 1 /* Get socket option for Streams TCP/IP */ #define SO_SET 2 /* Set socket option for Streams TCP/IP */ /* * Structure used for manipulating linger option. * * if l_onoff == 0: * close(2) returns immediately; any buffered data is sent later * (default) * * if l_onoff != 0: * if l_linger == 0, close(2) returns after discarding any unsent data * if l_linger != 0, close(2) does not return until buffered data is sent */ struct linger { int l_onoff; /* 0 = do not wait to send data */ /* non-0 = see l_linger */ int l_linger; /* 0 = discard unsent data */ /* non-0 = wait to send data */ }; /* * Level number for (get/set)sockopt() to apply to socket itself. */ #define SOL_SOCKET 0xffff /* options for socket level */ /* * Address families. */ #define AF_UNSPEC 0 /* unspecified */ #define AF_UNIX 1 /* local to host (pipes, portals) */ #define AF_INET 2 /* internetwork: UDP, TCP, etc. */ #define AF_IMPLINK 3 /* arpanet imp addresses */ #define AF_PUP 4 /* pup protocols: e.g. BSP */ #define AF_CHAOS 5 /* mit CHAOS protocols */ #define AF_NS 6 /* XEROX NS protocols */ #define AF_NBS 7 /* nbs protocols */ #define AF_ECMA 8 /* european computer manufacturers */ #define AF_DATAKIT 9 /* datakit protocols */ #define AF_CCITT 10 /* CCITT protocols, X.25 etc */ #define AF_SNA 11 /* IBM SNA */ #define AF_DECnet 12 /* DECnet */ #define AF_DLI 13 /* Direct data link interface */ #define AF_LAT 14 /* LAT */ #define AF_HYLINK 15 /* NSC Hyperchannel */ #define AF_APPLETALK 16 /* Apple Talk */ #define AF_OTS 17 /* Used for OSI in the ifnets */ #define AF_NIT 18 /* NIT */ #define AF_VME_LINK 19 /* VME backplane protocols */ #define AF_KEY 20 /* IPSec PF_KEY protocol */ #define AF_POLICY 21 /* IPSec PF_POLICY protocol */ #define AF_INET6 22 /* IPv6 protocol */ #define AF_MAX 23 /* Valid values for the "how" argument in the shutdown() function. */ #define SHUT_RD 0 /* Disables further receive operations*/ #define SHUT_WR 1 /* Disables further send operations */ #define SHUT_RDWR 2 /* Disables further send and receive * operations */ /* * Unix98 type used for certain objects in X/Open sockets APIs * whose size will not grow with the architecture, for example * socket address length. * * We choose a definition that is consistent with the Unix95 * profile. However, in future implementations, we may choose * to limit the size to 32 bits in both 32-bit and 64-bit data * models. */ typedef size_t socklen_t; #ifndef _XOPEN_SOURCE_EXTENDED /* * Valid values for the "flags" argument in sendfile()/sendpath(). */ #define SF_DISCONNECT 1 /* Disables further sends and receives */ #endif /* !_XOPEN_SOURCE_EXTENDED */ #if defined(_XOPEN_SOURCE_EXTENDED) && !defined(_KERNEL) /* * Structure used by kernel to store most * addresses (CASPEC/1170). */ #ifndef _SA_FAMILY_T #define _SA_FAMILY_T typedef unsigned short sa_family_t; #endif /* ! _SA_FAMILY_T */ struct sockaddr { sa_family_t sa_family; /* address family */ char sa_data[14]; /* up to 14 bytes of direct address */ }; #else /* * Structure used by kernel to store most * addresses. */ struct sockaddr { unsigned short sa_family; /* address family */ char sa_data[14]; /* up to 14 bytes of direct address */ }; #endif /* _XOPEN_SOURCE_EXTENDED */ #if !defined(_XOPEN_SOURCE_EXTENDED) struct sockaddr_ext { unsigned short sa_family; /* address family */ char sa_data[22]; /* up to 22 bytes of direct address */ }; #endif /* !_XOPEN_SOURCE_EXTENDED */ #ifndef _XOPEN_SOURCE_EXTENDED /* * Structure used by kernel to pass protocol * information in raw sockets. */ struct sockproto { unsigned short sp_family; /* address family */ unsigned short sp_protocol; /* protocol */ }; #endif /* !_XOPEN_SOURCE_EXTENDED */ /* * Protocol families, same as address families for now. */ #define PF_UNSPEC AF_UNSPEC #define PF_UNIX AF_UNIX #define PF_INET AF_INET #define PF_IMPLINK AF_IMPLINK #define PF_PUP AF_PUP #define PF_CHAOS AF_CHAOS #define PF_NS AF_NS #define PF_NBS AF_NBS #define PF_ECMA AF_ECMA #define PF_DATAKIT AF_DATAKIT #define PF_CCITT AF_CCITT #define PF_SNA AF_SNA #define PF_DECnet AF_DECnet #define PF_DLI AF_DLI #define PF_LAT AF_LAT #define PF_HYLINK AF_HYLINK #define PF_APPLETALK AF_APPLETALK #define PF_OTS AF_OTS #define PF_NIT AF_NIT #define PF_VME_LINK AF_VME_LINK #define PF_KEY AF_KEY #define PF_POLICY AF_POLICY #define PF_INET6 AF_INET6 #define PF_MAX AF_MAX /* * Maximum queue length specifiable by listen. */ #define SOMAXCONN 4096 #if defined(_XOPEN_SOURCE_EXTENDED) && !defined(_KERNEL) /* * Message header for recvmsg and sendmsg calls. * Used value-result for recvmsg, value only for sendmsg. */ struct msghdr { void *msg_name; /* optional address */ socklen_t msg_namelen; /* size of address */ struct iovec *msg_iov; /* scatter/gather array */ int msg_iovlen; /* # elements in msg_iov */ void *msg_control; /* ancillary data, see below */ socklen_t msg_controllen; /* ancillary data buffer len */ int msg_flags; /* flags on received message */ }; #else /* * Message header for recvmsg and sendmsg calls. */ struct msghdr { caddr_t msg_name; /* optional address */ int msg_namelen; /* size of address */ struct iovec *msg_iov; /* scatter/gather array */ int msg_iovlen; /* # elements in msg_iov */ caddr_t msg_accrights; /* access rights sent/received */ int msg_accrightslen; }; /* * Message header for recvmsg and sendmsg calls. * Used value-result for recvmsg, value only for sendmsg. */ struct msghdr2 { caddr_t msg_name; /* optional address */ socklen_t msg_namelen; /* size of address */ struct iovec *msg_iov; /* scatter/gather array */ u_int msg_iovlen; /* # elements in msg_iov */ caddr_t msg_control; /* ancillary data, see below */ socklen_t msg_controllen; /* ancillary data buffer_ len */ int msg_flags; /* flags on received message */ }; #endif /* _XOPEN_SOURCE_EXTENDED */ #define MSG_OOB 0x1 /* process out-of-band data */ #define MSG_PEEK 0x2 /* peek at incoming message */ #define MSG_DONTROUTE 0x4 /* send without using routing tables */ #ifdef _XOPEN_SOURCE_EXTENDED #define MSG_EOR 0x8 /* data completes record */ #define MSG_TRUNC 0x10 /* data discarded before delivery */ #define MSG_CTRUNC 0x20 /* control data lost before delivery */ #define MSG_WAITALL 0x40 /* wait for full request or error */ #else #ifdef _KERNEL #define MSG_EOR 0x8 /* data completes record */ #define MSG_TRUNC 0x10 /* data discarded before delivery */ #define MSG_CTRUNC 0x20 /* control data lost before delivery */ #define MSG_WAITALL 0x40 /* wait for full request or error */ #endif /* _KERNEL */ #endif /* _XOPEN_SOURCE_EXTENDED */ #ifdef _KERNEL /* Following used within kernel */ #define MSG_MBUF 0x1000 /* data in kernel, skip uiomove */ #define MSG_NONBLOCK 0x4000 /* nonblocking request */ #define MSG_COMPAT 0x8000 /* 4.3-format sockaddr */ #endif /* _KERNEL */ #define MSG_MAXIOVLEN 16 #if defined(_XOPEN_SOURCE_EXTENDED) || defined(_KERNEL) /* * Given a byte length, align it to word boundary, aligned for cmsghdr. */ #define _CMSG_ALIGN(p) (((p) + (int)sizeof(socklen_t) - 1) & ~((int)sizeof(soc) /* * Header for ancillary data objects in msg_control buffer. * Used for additional information with/about a datagram * not expressible by flags. The format is a sequence * of message elements headed by cmsghdr structures. */ struct cmsghdr { socklen_t cmsg_len; /* data byte count, including hdr */ int cmsg_level; /* originating protocol */ int cmsg_type; /* protocol-specific type */ /* followed by u_char cmsg_data[]; */ }; /* given pointer to struct cmsghdr, return pointer to data */ #define CMSG_DATA(cmsg) ((unsigned char *)((cmsg) + 1)) /* given pointer to struct cmsghdr, return pointer to next cmsghdr */ #define CMSG_NXTHDR(mhdr, cmsg) \ (((caddr_t)(cmsg) + (cmsg)->cmsg_len + (int)sizeof(struct cmsghdr) > \ (caddr_t)((mhdr)->msg_control) + (mhdr)->msg_controllen) ? \ (struct cmsghdr *)0 : \ (struct cmsghdr *)((caddr_t)(cmsg) + _CMSG_ALIGN((cmsg)->cmsg_len))) #define CMSG_FIRSTHDR(mhdr) ((struct cmsghdr *)(mhdr)->msg_control) /* "Socket"-level control message types: */ #define SCM_RIGHTS 0x01 /* access rights (array of int) */ #endif /* _XOPEN_SOURCE_EXTENDED || _KERNEL */ /* BSDIPC system calls */ #ifndef _KERNEL #if defined(_XOPEN_SOURCE_EXTENDED) && !defined(_KERNEL) #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ extern int accept __((int, struct sockaddr *, socklen_t *)); extern int bind __((int, const struct sockaddr *, socklen_t)); extern int connect __((int, const struct sockaddr *, socklen_t)); extern int getpeername __((int, struct sockaddr *, socklen_t *)); extern int getsockname __((int, struct sockaddr *, socklen_t *)); extern int getsockopt __((int, int, int, void *, socklen_t *)); extern int listen __((int, int)); extern ssize_t recv __((int, void *, size_t, int)); extern ssize_t recvfrom __((int, void *, size_t, int, struct sockaddr *, socklen_t *)); extern ssize_t recvmsg __((int, struct msghdr *, int)); extern ssize_t send __((int, const void *, size_t, int)); extern ssize_t sendmsg __((int, const struct msghdr *, int)); extern ssize_t sendto __((int, const void *, size_t, int, const struct sockaddr *, socklen_t)); extern int setsockopt __((int, int, int, const void *, socklen_t)); extern int shutdown __((int, int)); extern int socket __((int, int, int)); extern int socketpair __((int, int, int, int[2])); #ifdef __cplusplus } #endif /* __cplusplus */ #else /* !_XOPEN_SOURCE_EXTENDED*/ #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ extern int accept __((int, void *, int *)); extern int bind __((int, const void *, int)); extern int connect __((int, const void *, int)); extern int getpeername __((int, void *, int *)); extern int getsockname __((int, void *, int *)); extern int getsockopt __((int, int, int, void *, int *)); extern int listen __((int, int)); extern int recv __((int, void *, int, int)); extern int recvfrom __((int, void *, int, int, void *, int *)); extern int recvmsg __((int, struct msghdr msg[], int)); extern int send __((int, const void *, int, int)); extern int sendto __((int, const void *, int, int, const void *, int)); extern int sendmsg __((int, const struct msghdr msg[], int)); extern int setsockopt __((int, int, int, const void *, int)); extern int shutdown __((int, int)); extern int socket __((int, int, int)); extern int socketpair __((int, int, int, int[2])); extern sbsize_t sendfile __((int, int, off_t, bsize_t, const struct iovec *, int)); extern sbsize_t sendpath __((int, char *, off_t, bsize_t, const struct iovec *, int)); #if defined(_LARGEFILE64_SOURCE) #ifdef __LP64__ #define sendfile64 sendfile #define sendpath64 sendpath #else /* __LP64__ */ extern sbsize64_t sendfile64 __((int, int, off64_t, bsize64_t, const struct iovec *, int)); extern sbsize64_t sendpath64 __((int, char *, off64_t, bsize64_t, const struct iovec *, int)); #endif /* __LP64 */ #endif /* _LARGEFILE64_SOURCE */ #ifdef _APP32_64BIT_OFF_T extern sbsize64_t __sendfile64 __((int,int,off_t,bsize_t, const struct iovec *,; extern sbsize64_t __sendpath64 __((int,char *,off_t,bsize_t,const struct iovec ; #ifndef __cplusplus static sbsize_t sendfile(a,b,c,d,e,f) int a,b,f; off_t c; bsize_t d; const stru} static sbsize_t sendpath(a,b,c,d,e,f) int a,f; char *b; off_t c; bsize_t d; con} #endif /* __cplusplus */ #endif /* _APP32_64BIT_OFF_T */ #ifdef __cplusplus } #endif /* __cplusplus */ #if defined(__cplusplus) && defined(_APP32_64BIT_OFF_T) inline sbsize_t sendfile __((int,int,off_t,bsize_t,const struct iovec *,int)); inline sbsize_t sendpath __((int,char *,off_t,bsize_t, const struct iovec *,int; inline sbsize_t sendfile(a,b,c,d,e,f) int a,b,f; off_t c; bsize_t d; const stru} inline sbsize_t sendpath(a,b,c,d,e,f) int a,f; char *b; off_t c; bsize_t d; con} #endif /* __cplusplus && _APP32_64BIT_OFF_T */ #endif /* !_XOPEN_SOURCE_EXTENDED*/ #ifndef _XOPEN_SOURCE_EXTENDED #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ extern int rcmd __((char **, int, const char *, const char *, const char *, int *)); extern int rexec __((char **, int, const char *, const char *, const char *, int *)); extern int rresvport __((int *)); extern int ruserok __((const char *, int, const char *, const char *)); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* !_XOPEN_SOURCE_EXTENDED */ #endif /* not _KERNEL */ #endif /* _INCLUDE_XOPEN_SOURCE_EXTENDED */ #endif /* not _SYS_SOCKET_INCLUDED */ $ grep sbsize_t /usr/include/sys/*.h /usr/include/sys/socket.h: extern sbsize_t sendfile __((int, int, off_t, bsiz /usr/include/sys/socket.h: extern sbsize_t sendpath __((int, char *, off_t, b /usr/include/sys/socket.h:static sbsize_t sendfile(a,b,c,d,e,f) int a,b,f; off_} /usr/include/sys/socket.h:static sbsize_t sendpath(a,b,c,d,e,f) int a,f; char *} /usr/include/sys/socket.h:inline sbsize_t sendfile __((int,int,off_t,bsize_t,co; /usr/include/sys/socket.h:inline sbsize_t sendpath __((int,char *,off_t,bsize_t; /usr/include/sys/socket.h:inline sbsize_t sendfile(a,b,c,d,e,f) int a,b,f; off_} /usr/include/sys/socket.h:inline sbsize_t sendpath(a,b,c,d,e,f) int a,f; char *} /usr/include/sys/types.h: typedef int64_t sbsize_t; /* signed leng/ /usr/include/sys/types.h: typedef long sbsize_t; --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="config.log" Content-Transfer-Encoding: quoted-printable This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.57. Invocation command line was $ ./configure=20 ## --------- ## ## Platform. ## ## --------- ## hostname =3D joe uname -m =3D 9000/782 uname -r =3D B.11.11 uname -s =3D HP-UX uname -v =3D U /usr/bin/uname -p =3D unknown /bin/uname -X =3D unknown /bin/arch =3D unknown /usr/bin/arch -k =3D unknown /usr/convex/getsysinfo =3D unknown hostinfo =3D unknown /bin/machine =3D unknown /usr/bin/oslevel =3D unknown /bin/universe =3D unknown PATH: /usr/bin PATH: /opt/ansic/bin PATH: /usr/ccs/bin PATH: /usr/contrib/bin PATH: /opt/hparray/bin PATH: /opt/nettladm/bin PATH: /opt/upgrade/bin PATH: /opt/fcms/bin PATH: /usr/bin/X11 PATH: /usr/contrib/bin/X11 PATH: /opt/pd/bin PATH: /opt/resmon/bin PATH: /opt/graphics/common/bin PATH: /opt/scr/bin PATH: /opt/atok/bin PATH: /opt/egb/bin PATH: //opt/perl/bin PATH: /usr/sbin/diag/contrib PATH: /opt/vje/bin PATH: /opt/langtools/bin PATH: /opt/imake/bin PATH: . PATH: /home/frankdj/bin PATH: /opt/bea/tuxedo8.1/bin PATH: /usr/local/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1612: result:=20 configure:1614: result: =1B[1mBuild Tools:=1B[m configure:1665: checking for gcc configure:1681: found /usr/local/bin/gcc configure:1691: result: gcc configure:1935: checking for C compiler version configure:1938: gcc --version &5 gcc (GCC) 3.2.3 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:1941: $? =3D 0 configure:1943: gcc -v &5 Reading specs from /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2.3/specs Configured with: ./configure --prefix=3D/usr/local --enable-threads=3Dposix= --disable-shared --with-gnu-as --with-libiconv-prefix=3D/usr/local/lib --e= nable-languages=3Dc,c++,f77 : (reconfigured) ./configure --prefix=3D/usr/lo= cal --enable-threads=3Dposix --disable-shared --with-gnu-as --with-libiconv= -prefix=3D/usr/local/lib --enable-languages=3Dc,c++,f77 : (reconfigured) ./= configure --prefix=3D/usr/local --enable-threads=3Dposix --disable-shared -= -with-gnu-as --with-libiconv-prefix=3D/usr/local/lib --enable-languages=3Dc= ,c++,f77 : (reconfigured) ./configure --prefix=3D/usr/local --enable-thread= s=3Dposix --disable-shared --with-gnu-as --with-libiconv-prefix=3D/usr/loca= l/lib --enable-languages=3Dc,c++,f77 : (reconfigured) ./configure --prefix= =3D/usr/local --enable-threads=3Dposix --disable-shared --with-gnu-as --wit= h-libiconv-prefix=3D/usr/local/lib --enable-languages=3Dc,c++,f77 : (reconf= igured) ./configure --prefix=3D/usr/local --enable-threads=3Dposix --disabl= e-shared --with-gnu-as --with-libiconv-prefix=3D/usr/local/lib --enable-lan= guages=3Dc,c++,f77 : (reconfigured) ./configure --prefix=3D/usr/local --ena= ble-threads=3Dposix --disable-shared --with-gnu-as --with-libiconv-prefix= =3D/usr/local/lib --enable-languages=3Dc,c++,f77 : (reconfigured) ./configu= re --prefix=3D/usr/local --enable-threads=3Dposix --disable-shared --with-g= nu-as --with-libiconv-prefix=3D/usr/local/lib --enable-languages=3Dc,c++,f7= 7 : (reconfigured) ./configure --prefix=3D/usr/local --enable-threads=3Dpos= ix --disable-shared --with-gnu-as --with-libiconv-prefix=3D/usr/local/lib -= -enable-languages=3Dc,c++,f77 : (reconfigured) ./configure --prefix=3D/usr/= local --enable-threads=3Dposix --disable-shared --with-gnu-as --with-libico= nv-prefix=3D/usr/local/lib --enable-languages=3Dc,c++,f77 : (reconfigured) = ./configure --prefix=3D/usr/local --enable-threads=3Dposix --disable-shared= --with-gnu-as --with-libiconv-prefix=3D/usr/local/lib --enable-languages= =3Dc,c++,f77 : (reconfigured) ./configure --prefix=3D/usr/local --enable-th= reads=3Dposix --disable-shared --with-gnu-as --with-libiconv-prefix=3D/usr/= local/lib --enable-languages=3Dc,c++,f77 : (reconfigured) ./configure --pre= fix=3D/usr/local --enable-threads=3Dposix --disable-shared --with-gnu-as --= with-libiconv-prefix=3D/usr/local/lib --enable-languages=3Dc,c++,f77 : (rec= onfigured) ./configure --prefix=3D/usr/local --enable-threads=3Dposix --dis= able-shared --with-gnu-as --with-libiconv-prefix=3D/usr/local/lib --enable-= languages=3Dc,c++,f77 Thread model: posix gcc version 3.2.3 configure:1946: $? =3D 0 configure:1948: gcc -V &5 gcc: argument to `-V' is missing configure:1951: $? =3D 1 configure:1975: checking for C compiler default output configure:1978: gcc conftest.c >&5 configure:1981: $? =3D 0 configure:2027: result: a.out configure:2032: checking whether the C compiler works configure:2038: ./a.out configure:2041: $? =3D 0 configure:2058: result: yes configure:2065: checking whether we are cross compiling configure:2067: result: no configure:2070: checking for suffix of executables configure:2072: gcc -o conftest conftest.c >&5 configure:2075: $? =3D 0 configure:2100: result:=20 configure:2106: checking for suffix of object files configure:2128: gcc -c conftest.c >&5 configure:2131: $? =3D 0 configure:2153: result: o configure:2157: checking whether we are using the GNU C compiler configure:2182: gcc -c conftest.c >&5 configure:2185: $? =3D 0 configure:2188: test -s conftest.o configure:2191: $? =3D 0 configure:2204: result: yes configure:2210: checking whether gcc accepts -g configure:2232: gcc -c -g conftest.c >&5 configure:2235: $? =3D 0 configure:2238: test -s conftest.o configure:2241: $? =3D 0 configure:2252: result: yes configure:2269: checking for gcc option to accept ANSI C configure:2330: gcc -c -g -O2 conftest.c >&5 configure:2333: $? =3D 0 configure:2336: test -s conftest.o configure:2339: $? =3D 0 configure:2357: result: none needed configure:2375: gcc -c -g -O2 conftest.c >&5 conftest.c:2: syntax error before "me" configure:2378: $? =3D 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:2492: checking how to run the C preprocessor configure:2528: gcc -E conftest.c configure:2534: $? =3D 0 configure:2566: gcc -E conftest.c configure:2565:28: ac_nonexistent.h: No such file or directory configure:2572: $? =3D 1 configure: failed program was: | #line 2557 "configure" | /* confdefs.h. */ |=20 | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include configure:2610: result: gcc -E configure:2635: gcc -E conftest.c configure:2641: $? =3D 0 configure:2673: gcc -E conftest.c configure:2672:28: ac_nonexistent.h: No such file or directory configure:2679: $? =3D 1 configure: failed program was: | #line 2664 "configure" | /* confdefs.h. */ |=20 | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include configure:2721: checking whether make sets $(MAKE) configure:2741: result: yes configure:2867: checking for compiler option -pipe configure:2890: result: yes configure:2905: checking for compilation debug mode configure:2907: result: disabled configure:2913: checking for compilation profile mode configure:2932: result: disabled configure:3077: checking for compilation optimization mode configure:3079: result: disabled configure:3366: checking build system type configure:3384: result: hppa2.0w-hp-hpux11.11 configure:3392: checking host system type configure:3406: result: hppa2.0w-hp-hpux11.11 configure:3436: checking for ld used by GCC configure:3499: result: /usr/ccs/bin/ld configure:3508: checking if the linker (/usr/ccs/bin/ld) is GNU ld configure:3520: result: no configure:3525: checking for /usr/ccs/bin/ld option to reload object files configure:3532: result: -r configure:3537: checking for BSD-compatible nm configure:3573: result: /usr/bin/nm -p configure:3576: checking for a sed that does not truncate output configure:3658: result: /usr/bin/sed configure:3661: checking whether ln -s works configure:3665: result: yes configure:3672: checking how to recognise dependent libraries configure:3853: result: file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) sh= ared library configure:3866: checking command to parse /usr/bin/nm -p output configure:3950: gcc -c -O2 -pipe conftest.c >&5 configure:3953: $? =3D 0 configure:3957: /usr/bin/nm -p conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRS= T][BCDEGRST]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' \> co= nftest.nm configure:3960: $? =3D 0 configure:4012: gcc -o conftest -O2 -pipe conftest.c conftstm.o >&5 configure:4015: $? =3D 0 configure:4059: result: ok configure:4064: checking for egrep configure:4074: result: grep -E configure:4079: checking for ANSI C header files configure:4105: gcc -c -O2 -pipe conftest.c >&5 configure:4108: $? =3D 0 configure:4111: test -s conftest.o configure:4114: $? =3D 0 configure:4206: gcc -o conftest -O2 -pipe conftest.c >&5 configure:4209: $? =3D 0 configure:4211: ./conftest configure:4214: $? =3D 0 configure:4229: result: yes configure:4253: checking for sys/types.h configure:4270: gcc -c -O2 -pipe conftest.c >&5 configure:4273: $? =3D 0 configure:4276: test -s conftest.o configure:4279: $? =3D 0 configure:4290: result: yes configure:4253: checking for sys/stat.h configure:4270: gcc -c -O2 -pipe conftest.c >&5 configure:4273: $? =3D 0 configure:4276: test -s conftest.o configure:4279: $? =3D 0 configure:4290: result: yes configure:4253: checking for stdlib.h configure:4270: gcc -c -O2 -pipe conftest.c >&5 configure:4273: $? =3D 0 configure:4276: test -s conftest.o configure:4279: $? =3D 0 configure:4290: result: yes configure:4253: checking for string.h configure:4270: gcc -c -O2 -pipe conftest.c >&5 configure:4273: $? =3D 0 configure:4276: test -s conftest.o configure:4279: $? =3D 0 configure:4290: result: yes configure:4253: checking for memory.h configure:4270: gcc -c -O2 -pipe conftest.c >&5 configure:4273: $? =3D 0 configure:4276: test -s conftest.o configure:4279: $? =3D 0 configure:4290: result: yes configure:4253: checking for strings.h configure:4270: gcc -c -O2 -pipe conftest.c >&5 configure:4273: $? =3D 0 configure:4276: test -s conftest.o configure:4279: $? =3D 0 configure:4290: result: yes configure:4253: checking for inttypes.h configure:4270: gcc -c -O2 -pipe conftest.c >&5 configure:4273: $? =3D 0 configure:4276: test -s conftest.o configure:4279: $? =3D 0 configure:4290: result: yes configure:4253: checking for stdint.h configure:4270: gcc -c -O2 -pipe conftest.c >&5 configure:4309:20: stdint.h: No such file or directory configure:4273: $? =3D 1 configure: failed program was: | #line 4258 "configure" | /* confdefs.h. */ |=20 | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif |=20 | #include configure:4290: result: no configure:4253: checking for unistd.h configure:4270: gcc -c -O2 -pipe conftest.c >&5 configure:4273: $? =3D 0 configure:4276: test -s conftest.o configure:4279: $? =3D 0 configure:4290: result: yes configure:4316: checking dlfcn.h usability configure:4329: gcc -c -O2 -pipe conftest.c >&5 configure:4332: $? =3D 0 configure:4335: test -s conftest.o configure:4338: $? =3D 0 configure:4348: result: yes configure:4352: checking dlfcn.h presence configure:4363: gcc -E conftest.c configure:4369: $? =3D 0 configure:4388: result: yes configure:4424: checking for dlfcn.h configure:4431: result: yes configure:4629: checking for ranlib configure:4645: found /usr/bin/ranlib configure:4656: result: ranlib configure:4709: checking for strip configure:4725: found /usr/bin/strip configure:4736: result: strip configure:4948: checking for objdir configure:4959: result: .libs configure:4980: checking for gcc option to produce PIC configure:5126: result: -fPIC configure:5130: checking if gcc PIC flag -fPIC works configure:5154: gcc -c -O2 -pipe -fPIC -DPIC conftest.c >&5 configure:5157: $? =3D 0 configure:5160: test -s conftest.o configure:5163: $? =3D 0 configure:5201: result: yes configure:5221: checking if gcc static flag -static works configure:5246: gcc -o conftest -O2 -pipe -static conftest.c >&5 configure:5249: $? =3D 0 configure:5252: test -s conftest configure:5255: $? =3D 0 configure:5271: result: yes configure:5287: checking if gcc supports -c -o file.o configure:5307: gcc -c -O2 -pipe -o out/conftest2.o conftest.c >&5 configure:5331: result: yes configure:5336: checking if gcc supports -c -o file.lo configure:5364: gcc -c -O2 -pipe -c -o conftest.lo conftest.c >&5 configure:5367: $? =3D 0 configure:5370: test -s conftest.lo configure:5373: $? =3D 0 configure:5395: result: yes configure:5434: checking if gcc supports -fno-rtti -fno-exceptions configure:5457: gcc -c -O2 -pipe -fno-rtti -fno-exceptions -c conftest.c c= onftest.c >&5 configure:5460: $? =3D 0 configure:5463: test -s conftest.o configure:5466: $? =3D 0 configure:5483: result: yes configure:5498: checking whether the linker (/usr/ccs/bin/ld) supports shar= ed libraries configure:6193: result: yes configure:6202: checking how to hardcode library paths into programs configure:6226: result: relink configure:6235: checking whether stripping libraries is possible configure:6243: result: no configure:6255: checking dynamic linker characteristics configure:6662: result: hpux11.11 dld.sl configure:6671: checking if libtool supports shared libraries configure:6673: result: yes configure:6680: checking whether to build shared libraries configure:6701: result: yes configure:6708: checking whether to build static libraries configure:6712: result: yes configure:8180: result:=20 configure:8182: result: =1B[1mMandatory Platform Environment:=1B[m configure:8187: checking for ANSI C header files configure:8337: result: yes configure:8374: checking stdio.h usability configure:8387: gcc -c -O2 -pipe conftest.c >&5 configure:8390: $? =3D 0 configure:8393: test -s conftest.o configure:8396: $? =3D 0 configure:8406: result: yes configure:8410: checking stdio.h presence configure:8421: gcc -E conftest.c configure:8427: $? =3D 0 configure:8446: result: yes configure:8482: checking for stdio.h configure:8489: result: yes configure:8365: checking for stdlib.h configure:8370: result: yes configure:8374: checking stdarg.h usability configure:8387: gcc -c -O2 -pipe conftest.c >&5 configure:8390: $? =3D 0 configure:8393: test -s conftest.o configure:8396: $? =3D 0 configure:8406: result: yes configure:8410: checking stdarg.h presence configure:8421: gcc -E conftest.c configure:8427: $? =3D 0 configure:8446: result: yes configure:8482: checking for stdarg.h configure:8489: result: yes configure:8365: checking for string.h configure:8370: result: yes configure:8374: checking signal.h usability configure:8387: gcc -c -O2 -pipe conftest.c >&5 configure:8390: $? =3D 0 configure:8393: test -s conftest.o configure:8396: $? =3D 0 configure:8406: result: yes configure:8410: checking signal.h presence configure:8421: gcc -E conftest.c configure:8427: $? =3D 0 configure:8446: result: yes configure:8482: checking for signal.h configure:8489: result: yes configure:8365: checking for unistd.h configure:8370: result: yes configure:8374: checking setjmp.h usability configure:8387: gcc -c -O2 -pipe conftest.c >&5 configure:8390: $? =3D 0 configure:8393: test -s conftest.o configure:8396: $? =3D 0 configure:8406: result: yes configure:8410: checking setjmp.h presence configure:8421: gcc -E conftest.c configure:8427: $? =3D 0 configure:8446: result: yes configure:8482: checking for setjmp.h configure:8489: result: yes configure:8374: checking fcntl.h usability configure:8387: gcc -c -O2 -pipe conftest.c >&5 configure:8390: $? =3D 0 configure:8393: test -s conftest.o configure:8396: $? =3D 0 configure:8406: result: yes configure:8410: checking fcntl.h presence configure:8421: gcc -E conftest.c configure:8427: $? =3D 0 configure:8446: result: yes configure:8482: checking for fcntl.h configure:8489: result: yes configure:8374: checking errno.h usability configure:8387: gcc -c -O2 -pipe conftest.c >&5 configure:8390: $? =3D 0 configure:8393: test -s conftest.o configure:8396: $? =3D 0 configure:8406: result: yes configure:8410: checking errno.h presence configure:8421: gcc -E conftest.c configure:8427: $? =3D 0 configure:8446: result: yes configure:8482: checking for errno.h configure:8489: result: yes configure:8365: checking for sys/types.h configure:8370: result: yes configure:8374: checking sys/time.h usability configure:8387: gcc -c -O2 -pipe conftest.c >&5 configure:8390: $? =3D 0 configure:8393: test -s conftest.o configure:8396: $? =3D 0 configure:8406: result: yes configure:8410: checking sys/time.h presence configure:8421: gcc -E conftest.c configure:8427: $? =3D 0 configure:8446: result: yes configure:8482: checking for sys/time.h configure:8489: result: yes configure:8374: checking sys/wait.h usability configure:8387: gcc -c -O2 -pipe conftest.c >&5 configure:8390: $? =3D 0 configure:8393: test -s conftest.o configure:8396: $? =3D 0 configure:8406: result: yes configure:8410: checking sys/wait.h presence configure:8421: gcc -E conftest.c configure:8427: $? =3D 0 configure:8446: result: yes configure:8482: checking for sys/wait.h configure:8489: result: yes configure:8365: checking for sys/stat.h configure:8370: result: yes configure:8374: checking sys/socket.h usability configure:8387: gcc -c -O2 -pipe conftest.c >&5 In file included from configure:8442: /usr/include/sys/socket.h:439: syntax error before "sendfile" /usr/include/sys/socket.h:440: syntax error before "bsize_t" /usr/include/sys/socket.h:441: syntax error before "sendpath" /usr/include/sys/socket.h:442: syntax error before "bsize_t" configure:8390: $? =3D 1 configure: failed program was: | #line 8376 "configure" | /* confdefs.h. */ |=20 | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define STDC_HEADERS 1 | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STDARG_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SYS_STAT_H 1 | /* end confdefs.h. */ | #include | #if HAVE_SYS_TYPES_H | # include | #endif | #if HAVE_SYS_STAT_H | # include | #endif | #if STDC_HEADERS | # include | # include | #else | # if HAVE_STDLIB_H | # include | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include | # endif | # include | #endif | #if HAVE_STRINGS_H | # include | #endif | #if HAVE_INTTYPES_H | # include | #else | # if HAVE_STDINT_H | # include | # endif | #endif | #if HAVE_UNISTD_H | # include | #endif | #include configure:8406: result: no configure:8410: checking sys/socket.h presence configure:8421: gcc -E conftest.c configure:8427: $? =3D 0 configure:8446: result: yes configure:8466: WARNING: sys/socket.h: present but cannot be compiled configure:8468: WARNING: sys/socket.h: check for missing prerequisite heade= rs? configure:8470: WARNING: sys/socket.h: proceeding with the preprocessor's r= esult configure:8482: checking for sys/socket.h configure:8489: result: yes configure:8511: checking for gettimeofday configure:8561: gcc -o conftest -O2 -pipe conftest.c >&5 configure:8565: conflicting types for `gettimeofday' /usr/include/sys/time.h:503: previous declaration of `gettimeofday' configure:8564: $? =3D 1 configure: failed program was: | #line 8516 "configure" | /* confdefs.h. */ |=20 | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define STDC_HEADERS 1 | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STDARG_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char gettimeofday (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | #ifdef __STDC__ | # include | #else | # include | #endif | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | { | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char gettimeofday (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined (__stub_gettimeofday) || defined (__stub___gettimeofday) | choke me | #else | char (*f) () =3D gettimeofday; | #endif | #ifdef __cplusplus | } | #endif |=20 | int | main () | { | return f !=3D gettimeofday; | ; | return 0; | } configure:8581: result: no configure:8511: checking for select configure:8561: gcc -o conftest -O2 -pipe conftest.c >&5 configure:8565: conflicting types for `select' /usr/include/sys/time.h:507: previous declaration of `select' configure:8564: $? =3D 1 configure: failed program was: | #line 8516 "configure" | /* confdefs.h. */ |=20 | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define STDC_HEADERS 1 | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STDARG_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char select (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | #ifdef __STDC__ | # include | #else | # include | #endif | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | { | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char select (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined (__stub_select) || defined (__stub___select) | choke me | #else | char (*f) () =3D select; | #endif | #ifdef __cplusplus | } | #endif |=20 | int | main () | { | return f !=3D select; | ; | return 0; | } configure:8581: result: no configure:8511: checking for sigaction configure:8561: gcc -o conftest -O2 -pipe conftest.c >&5 configure:8564: $? =3D 0 configure:8567: test -s conftest configure:8570: $? =3D 0 configure:8581: result: yes configure:8511: checking for sigprocmask configure:8561: gcc -o conftest -O2 -pipe conftest.c >&5 configure:8564: $? =3D 0 configure:8567: test -s conftest configure:8570: $? =3D 0 configure:8581: result: yes configure:8511: checking for sigpending configure:8561: gcc -o conftest -O2 -pipe conftest.c >&5 configure:8564: $? =3D 0 configure:8567: test -s conftest configure:8570: $? =3D 0 configure:8581: result: yes configure:8511: checking for sigsuspend configure:8561: gcc -o conftest -O2 -pipe conftest.c >&5 configure:8564: $? =3D 0 configure:8567: test -s conftest configure:8570: $? =3D 0 configure:8581: result: yes ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=3Dhppa2.0w-hp-hpux11.11 ac_cv_build_alias=3Dhppa2.0w-hp-hpux11.11 ac_cv_c_compiler_gnu=3Dyes ac_cv_compiler_option_pipe=3Dyes ac_cv_env_CC_set=3D'' ac_cv_env_CC_value=3D'' ac_cv_env_CFLAGS_set=3D'' ac_cv_env_CFLAGS_value=3D'' ac_cv_env_CPPFLAGS_set=3D'' ac_cv_env_CPPFLAGS_value=3D'' ac_cv_env_CPP_set=3D'' ac_cv_env_CPP_value=3D'' ac_cv_env_LDFLAGS_set=3D'' ac_cv_env_LDFLAGS_value=3D'' ac_cv_env_build_alias_set=3D'' ac_cv_env_build_alias_value=3D'' ac_cv_env_host_alias_set=3D'' ac_cv_env_host_alias_value=3D'' ac_cv_env_target_alias_set=3D'' ac_cv_env_target_alias_value=3D'' ac_cv_exeext=3D'' ac_cv_func_gettimeofday=3Dno ac_cv_func_select=3Dno ac_cv_func_sigaction=3Dyes ac_cv_func_sigpending=3Dyes ac_cv_func_sigprocmask=3Dyes ac_cv_func_sigsuspend=3Dyes ac_cv_header_dlfcn_h=3Dyes ac_cv_header_errno_h=3Dyes ac_cv_header_fcntl_h=3Dyes ac_cv_header_inttypes_h=3Dyes ac_cv_header_memory_h=3Dyes ac_cv_header_setjmp_h=3Dyes ac_cv_header_signal_h=3Dyes ac_cv_header_stdarg_h=3Dyes ac_cv_header_stdc=3Dyes ac_cv_header_stdint_h=3Dno ac_cv_header_stdio_h=3Dyes ac_cv_header_stdlib_h=3Dyes ac_cv_header_string_h=3Dyes ac_cv_header_strings_h=3Dyes ac_cv_header_sys_socket_h=3Dyes ac_cv_header_sys_stat_h=3Dyes ac_cv_header_sys_time_h=3Dyes ac_cv_header_sys_types_h=3Dyes ac_cv_header_sys_wait_h=3Dyes ac_cv_header_unistd_h=3Dyes ac_cv_host=3Dhppa2.0w-hp-hpux11.11 ac_cv_host_alias=3Dhppa2.0w-hp-hpux11.11 ac_cv_objext=3Do ac_cv_prog_CPP=3D'gcc -E' ac_cv_prog_ac_ct_CC=3Dgcc ac_cv_prog_ac_ct_RANLIB=3Dranlib ac_cv_prog_ac_ct_STRIP=3Dstrip ac_cv_prog_cc_g=3Dyes ac_cv_prog_cc_stdc=3D'' ac_cv_prog_egrep=3D'grep -E' ac_cv_prog_make_make_set=3Dyes lt_cv_compiler_c_o=3Dyes lt_cv_compiler_o_lo=3Dyes lt_cv_deplibs_check_method=3D'file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-= 9]) shared library' lt_cv_file_magic_cmd=3D/usr/bin/file lt_cv_file_magic_test_file=3D/usr/lib/libc.sl lt_cv_global_symbol_to_c_name_address=3D'sed -n -e '\''s/^: \([^ ]*\) $/ {= \"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"\= 2", (lt_ptr) \&\2},/p'\' lt_cv_global_symbol_to_cdecl=3D'sed -n -e '\''s/^T .* \(.*\)$/extern char \= 1();/p'\'' -e '\''s/^[BCDEGRST]* .* \(.*\)$/extern char \1;/p'\' lt_cv_ld_reload_flag=3D-r lt_cv_path_LD=3D/usr/ccs/bin/ld lt_cv_path_NM=3D'/usr/bin/nm -p' lt_cv_path_SED=3D/usr/bin/sed lt_cv_prog_cc_can_build_shared=3Dyes lt_cv_prog_cc_no_builtin=3D'' lt_cv_prog_cc_pic=3D' -fPIC' lt_cv_prog_cc_pic_works=3Dyes lt_cv_prog_cc_shlib=3D'' lt_cv_prog_cc_static=3D-static lt_cv_prog_cc_static_works=3Dyes lt_cv_prog_cc_wl=3D-Wl, lt_cv_prog_gnu_ld=3Dno lt_cv_sys_global_symbol_pipe=3D'sed -n -e '\''s/^.*[ ]\([BCDEGRST][BCDEGRS= T]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p'\' ## ----------------- ## ## Output variables. ## ## ----------------- ## AR=3D'ar' BATCH=3D'' CC=3D'gcc' CFLAGS=3D'-O2 -pipe' CPP=3D'gcc -E' CPPFLAGS=3D'' DEFS=3D'' ECHO=3D'print -r' ECHO_C=3D'ECHO_N=3D'' ECHO_T=3D'' EGREP=3D'grep -E' EXEEXT=3D'' EXTRA_INCLUDE_SYS_SELECT_H=3D'' FALLBACK_NFDS_T=3D'' FALLBACK_OFF_T=3D'' FALLBACK_PID_T=3D'' FALLBACK_SIG_ATOMIC_T=3D'' FALLBACK_SIZE_T=3D'' FALLBACK_SOCKLEN_T=3D'' FALLBACK_SSIZE_T=3D'' INSTALL_PTHREAD=3D'' LDFLAGS=3D'' LIBOBJS=3D'' LIBPTHREAD_A=3D'' LIBPTHREAD_LA=3D'' LIBS=3D'' LIBTOOL=3D'$(SHELL) $(top_builddir)/libtool' LN_S=3D'ln -s' LTLIBOBJS=3D'' OBJEXT=3D'o' PACKAGE_BUGREPORT=3D'' PACKAGE_NAME=3D'' PACKAGE_STRING=3D'' PACKAGE_TARNAME=3D'' PACKAGE_VERSION=3D'' PATH_SEPARATOR=3D':' PLATFORM=3D'hppa2.0w-hp-hpux11.11' PTHREAD_3=3D'' PTHREAD_CONFIG_1=3D'' PTHREAD_O=3D'' PTH_EXT_SFIO=3D'' PTH_FAKE_POLL=3D'' PTH_FAKE_RWV=3D'' PTH_FDSETSIZE=3D'' PTH_MCTX_ID=3D'' PTH_STACK_GROWTH=3D'' PTH_SYSCALL_HARD=3D'' PTH_SYSCALL_SOFT=3D'' PTH_VERSION_HEX=3D'0x200200' PTH_VERSION_STR=3D'2.0.0 (17-Feb-2003)' RANLIB=3D'ranlib' SET_MAKE=3D'' SHELL=3D'/bin/sh' STRIP=3D'strip' TARGET_ALL=3D'' TEST_PTHREAD=3D'' UNINSTALL_PTHREAD=3D'' ac_ct_CC=3D'gcc' ac_ct_RANLIB=3D'ranlib' ac_ct_STRIP=3D'strip' bindir=3D'${exec_prefix}/bin' build=3D'hppa2.0w-hp-hpux11.11' build_alias=3D'' build_cpu=3D'hppa2.0w' build_os=3D'hpux11.11' build_vendor=3D'hp' datadir=3D'${prefix}/share' exec_prefix=3D'NONE' host=3D'hppa2.0w-hp-hpux11.11' host_alias=3D'' host_cpu=3D'hppa2.0w' host_os=3D'hpux11.11' host_vendor=3D'hp' includedir=3D'${prefix}/include' infodir=3D'${prefix}/info' libdir=3D'${exec_prefix}/lib' libexecdir=3D'${exec_prefix}/libexec' localstatedir=3D'${prefix}/var' mandir=3D'${prefix}/man' oldincludedir=3D'/usr/include' prefix=3D'NONE' program_transform_name=3D's,x,x,' pth_sigjmpbuf=3D'' pth_siglongjmp=3D'' pth_sigsetjmp=3D'' pth_skaddr_makecontext=3D'' pth_skaddr_sigaltstack=3D'' pth_skaddr_sigstack=3D'' pth_sksize_makecontext=3D'' pth_sksize_sigaltstack=3D'' pth_sksize_sigstack=3D'' sbindir=3D'${exec_prefix}/sbin' sharedstatedir=3D'${prefix}/com' srcdir_prefix=3D'' sysconfdir=3D'${prefix}/etc' target_alias=3D'' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define HAVE_DLFCN_H 1 #define HAVE_ERRNO_H 1 #define HAVE_FCNTL_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_MEMORY_H 1 #define HAVE_SETJMP_H 1 #define HAVE_SIGACTION 1 #define HAVE_SIGNAL_H 1 #define HAVE_SIGPENDING 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGSUSPEND 1 #define HAVE_STDARG_H 1 #define HAVE_STDIO_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRINGS_H 1 #define HAVE_STRING_H 1 #define HAVE_STRING_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UNISTD_H 1 #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define STDC_HEADERS 1 #define STDC_HEADERS 1 configure: exit 0 --ZPt4rx8FFjLCG7dd--