Date: Mon, 31 Oct 2011 10:35:24 +0900 From: Takefu <takefu@airport.fm> To: linimon@FreeBSD.org Cc: apache@FreeBSD.org Subject: Re: ports/162080: [PATCH] devel/apr1: Improved decision IPv6 Message-ID: <4EADFB5C.4020307@airport.fm> In-Reply-To: <201110291131.p9TBVVv6032598@freefall.freebsd.org> References: <201110291131.p9TBVVv6032598@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
$B$?$1$U!wBg:eK-Cf$G$9!#(B clang $B$H(B cc $B$HF~$lBX$($?>l9g!"(B configure $B<B9TCf$N(B IPv6 $BH=Dj2U=j$G!"(B $BH=Dj%W%m%0%i%`$,%3%s%Q%$%k=PMh$:!"(B $BH=Dj=PMh$J$$$3$H$,860x!#(B The judgment program cannot be compiled in the IPv6 judgment part executing configure when replacing it with clang and cc, and not being possible to judge are the causes. > --- work.CC/apr-1.4.5/config.log > +++ work.CLANG/apr-1.4.5/config.log > configure:27712: checking for working getaddrinfo > -configure:27757: cc -o conftest -g -O2 conftest.c -lcrypt -pthread >&5 > -conftest.c: In function 'main': > -conftest.c:215: warning: incompatible implicit declaration of built-in function 'exit' > -conftest.c:218: warning: incompatible implicit declaration of built-in function 'exit' > -conftest.c:220: warning: incompatible implicit declaration of built-in function 'exit' > -conftest.c:206: warning: return type of 'main' is not 'int' > -configure:27757: $? = 0 > -configure:27757: ./conftest > -configure:27757: $? = 0 > -configure:27771: result: yes > +configure:27757: /usr/local/bin/clang -o conftest -g -O2 conftest.c -lcrypt -pthread >&5 > +conftest.c:206:1: error: 'main' must return 'int' > +void main(void) { > +^ > +conftest.c:215:9: warning: implicitly declaring C library function 'exit' with type 'void (int) __attribute__((noreturn))' > + exit(1); > + ^ > +conftest.c:215:9: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit' > +1 warning and 1 error generated. > +configure:27757: $? = 1 > +configure: program exited with status 1 > +configure: failed program was: > +| /* confdefs.h */ > +| #define PACKAGE_NAME "" > +| #define PACKAGE_TARNAME "" > +| #define PACKAGE_VERSION "" > +| #define PACKAGE_STRING "" > +| #define PACKAGE_BUGREPORT "" > +| #define PACKAGE_URL "" > +| #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_STDINT_H 1 > +| #define HAVE_UNISTD_H 1 > +| #define __EXTENSIONS__ 1 > +| #define _ALL_SOURCE 1 > +| #define _GNU_SOURCE 1 > +| #define _POSIX_PTHREAD_SEMANTICS 1 > +| #define _TANDEM_SOURCE 1 > +| #define HAVE_DLFCN_H 1 > +| #define LT_OBJDIR ".libs/" > +| #define HAVE_ATOMIC_BUILTINS 1 > +| #define HAVE_PTHREAD_H 1 > +| #define HAVE_PTHREAD_MUTEX_RECURSIVE 1 > +| #define HAVE_PTHREAD_KEY_DELETE 1 > +| #define HAVE_PTHREAD_RWLOCK_INIT 1 > +| #define HAVE_PTHREAD_ATTR_SETGUARDSIZE 1 > +| #define HAVE_PTHREAD_YIELD 1 > +| #define HAVE_PTHREAD_RWLOCKS 1 > +| #define HAVE_GETHOSTBYNAME_R 1 > +| #define HAVE_GETHOSTBYADDR_R 1 > +| #define HAVE_GETSERVBYNAME_R 1 > +| #define HAVE_SIGSUSPEND 1 > +| #define HAVE_SIGWAIT 1 > +| #define HAVE_POLL 1 > +| #define HAVE_KQUEUE 1 > +| #define HAVE_GETPWNAM_R 1 > +| #define HAVE_GETPWUID_R 1 > +| #define HAVE_GETGRNAM_R 1 > +| #define HAVE_GETGRGID_R 1 > +| #define HAVE_SYS_TYPES_H 1 > +| #define HAVE_SYS_MMAN_H 1 > +| #define HAVE_SYS_IPC_H 1 > +| #define HAVE_SYS_MUTEX_H 1 > +| #define HAVE_SYS_SHM_H 1 > +| #define HAVE_SYS_FILE_H 1 > +| #define HAVE_MMAP 1 > +| #define HAVE_MUNMAP 1 > +| #define HAVE_SHM_OPEN 1 > +| #define HAVE_SHM_UNLINK 1 > +| #define HAVE_SHMGET 1 > +| #define HAVE_SHMAT 1 > +| #define HAVE_SHMDT 1 > +| #define HAVE_SHMCTL 1 > +| #define HAVE_MAP_ANON 1 > +| #define anonymous shared memory allocation method 1 > +| #define USE_SHMEM_MMAP_ANON 1 > +| #define namebased memory allocation method 1 > +| #define USE_SHMEM_SHMGET 1 > +| #define HAVE_ALLOCA 1 > +| #define HAVE_CALLOC 1 > +| #define HAVE_SETSID 1 > +| #define HAVE_ISINF 1 > +| #define HAVE_ISNAN 1 > +| #define HAVE_GETENV 1 > +| #define HAVE_PUTENV 1 > +| #define HAVE_SETENV 1 > +| #define HAVE_UNSETENV 1 > +| #define HAVE_WRITEV 1 > +| #define HAVE_GETIFADDRS 1 > +| #define HAVE_UTIME 1 > +| #define HAVE_UTIMES 1 > +| #define HAVE_SETRLIMIT 1 > +| #define HAVE_GETRLIMIT 1 > +| #define HAVE_SENDFILE 1 > +| #define HAVE_SIGACTION 1 > +| #define HAVE_DECL_SYS_SIGLIST 1 > +| #define HAVE_FORK 1 > +| #define HAVE_STRERROR_R 1 > +| #define STRERROR_R_RC_INT 1 > +| #define HAVE_MMAP 1 > +| #define HAVE_MEMMOVE 1 > +| #define HAVE_GETPASS 1 > +| #define HAVE_GMTIME_R 1 > +| #define HAVE_LOCALTIME_R 1 > +| #define HAVE_MKSTEMP 1 > +| #define STDC_HEADERS 1 > +| #define HAVE_CTYPE_H 1 > +| #define HAVE_DIRENT_H 1 > +| #define HAVE_DLFCN_H 1 > +| #define HAVE_ERRNO_H 1 > +| #define HAVE_FCNTL_H 1 > +| #define HAVE_GRP_H 1 > +| #define HAVE_LIMITS_H 1 > +| #define HAVE_MEMORY_H 1 > +| #define HAVE_NETDB_H 1 > +| #define HAVE_OSRELDATE_H 1 > +| #define HAVE_POLL_H 1 > +| #define HAVE_PWD_H 1 > +| #define HAVE_SEMAPHORE_H 1 > +| #define HAVE_SIGNAL_H 1 > +| #define HAVE_STDARG_H 1 > +| #define HAVE_STDDEF_H 1 > +| #define HAVE_STDIO_H 1 > +| #define HAVE_STDLIB_H 1 > +| #define HAVE_STRING_H 1 > +| #define HAVE_STRINGS_H 1 > +| #define HAVE_TERMIOS_H 1 > +| #define HAVE_TIME_H 1 > +| #define HAVE_UNISTD_H 1 > +| #define HAVE_ARPA_INET_H 1 > +| #define HAVE_NETINET_IN_H 1 > +| #define HAVE_NETINET_SCTP_H 1 > +| #define HAVE_NETINET_SCTP_UIO_H 1 > +| #define HAVE_SYS_FILE_H 1 > +| #define HAVE_SYS_IOCTL_H 1 > +| #define HAVE_SYS_MMAN_H 1 > +| #define HAVE_SYS_PARAM_H 1 > +| #define HAVE_SYS_POLL_H 1 > +| #define HAVE_SYS_RESOURCE_H 1 > +| #define HAVE_SYS_SELECT_H 1 > +| #define HAVE_SYS_SEM_H 1 > +| #define HAVE_SYS_SIGNAL_H 1 > +| #define HAVE_SYS_SOCKET_H 1 > +| #define HAVE_SYS_SOCKIO_H 1 > +| #define HAVE_SYS_STAT_H 1 > +| #define HAVE_SYS_SYSCTL_H 1 > +| #define HAVE_SYS_SYSLIMITS_H 1 > +| #define HAVE_SYS_TIME_H 1 > +| #define HAVE_SYS_TYPES_H 1 > +| #define HAVE_SYS_UIO_H 1 > +| #define HAVE_SYS_UN_H 1 > +| #define HAVE_SYS_WAIT_H 1 > +| #define HAVE_NETINET_TCP_H 1 > +| #define HAVE_SOCKLEN_T 1 > +| #define SIZEOF_VOIDP 8 > +| #define SIZEOF_CHAR 1 > +| #define SIZEOF_INT 4 > +| #define SIZEOF_LONG 8 > +| #define SIZEOF_SHORT 2 > +| #define SIZEOF_LONG_LONG 8 > +| #define SIZEOF_PID_T 4 > +| #define SIZEOF_SSIZE_T 8 > +| #define SIZEOF_SIZE_T 8 > +| #define SIZEOF_OFF_T 8 > +| #define SIZEOF_INO_T 4 > +| #define SIZEOF_STRUCT_IOVEC 16 > +| #define HAVE_STRNCASECMP 1 > +| #define HAVE_STRCASECMP 1 > +| #define HAVE_STRDUP 1 > +| #define HAVE_STRSTR 1 > +| #define HAVE_MEMCHR 1 > +| #define APR_INT64_STRFN strtol > +| #define APR_OFF_T_STRFN strtol > +| #define DSO_USE_DLFCN 1 > +| #define HAVE_WAITPID 1 > +| #define HAVE_VLA 1 > +| #define HAVE_SEMGET 1 > +| #define HAVE_SEMCTL 1 > +| #define HAVE_FLOCK 1 > +| #define HAVE_SEMAPHORE_H 1 > +| #define HAVE_SEM_CLOSE 1 > +| #define HAVE_SEM_UNLINK 1 > +| #define HAVE_SEM_POST 1 > +| #define HAVE_SEM_WAIT 1 > +| #define HAVE_LOCK_EX 1 > +| #define HAVE_F_SETLK 1 > +| #define HAVE_SEM_UNDO 1 > +| #define HAVE_POLLIN 1 > +| #define HAVE_PTHREAD_PROCESS_SHARED 1 > +| #define HAVE_PTHREAD_MUTEXATTR_SETPSHARED 1 > +| #define apr_lock implementation method 1 > +| #define USE_FLOCK_SERIALIZE 1 > +| #define DEV_RANDOM "/dev/urandom" > +| #define HAVE_STRUCT_STAT_ST_BLOCKS 1 > +| #define DIRENT_INODE d_fileno > +| #define DIRENT_TYPE d_type > +| #define HAVE_UUID_H 1 > +| #define HAVE_UUID_CREATE 1 > +| #define HAVE_STRUCT_TM_TM_GMTOFF 1 > +| #define WAITIO_USES_POLL 1 > +| #define GETHOSTBYNAME_R_GLIBC2 1 > +| #define GETSERVBYNAME_R_GLIBC2 1 > +| #define HAVE_TCP_NOPUSH 1 > +| #define HAVE_SO_ACCEPTFILTER 1 > +| #define HAVE_STRUCT_IPMREQ 1 > +| #define HAVE_GAI_STRERROR 1 > +| /* end confdefs.h. */ > +| > +| #ifdef HAVE_NETDB_H > +| #include <netdb.h> > +| #endif > +| #ifdef HAVE_STRING_H > +| #include <string.h> > +| #endif > +| #ifdef HAVE_SYS_TYPES_H > +| #include <sys/types.h> > +| #endif > +| #ifdef HAVE_SYS_SOCKET_H > +| #include <sys/socket.h> > +| #endif > +| > +| void main(void) { > +| struct addrinfo hints, *ai; > +| int error; > +| > +| memset(&hints, 0, sizeof(hints)); > +| hints.ai_family = AF_UNSPEC; > +| hints.ai_socktype = SOCK_STREAM; > +| error = getaddrinfo("127.0.0.1", NULL, &hints, &ai); > +| if (error) { > +| exit(1); > +| } > +| if (ai->ai_addr->sa_family != AF_INET) { > +| exit(1); > +| } > +| exit(0); > +| } > +| > +configure:27771: result: no > configure:27784: checking for negative error codes for getaddrinfo > -configure:27810: cc -o conftest -g -O2 conftest.c -lcrypt -pthread >&5 > -conftest.c: In function 'main': > -conftest.c:199: error: 'EAI_ADDRFAMILY' undeclared (first use in this function) > -conftest.c:199: error: (Each undeclared identifier is reported only once > -conftest.c:199: error: for each function it appears in.) > -conftest.c:200: warning: incompatible implicit declaration of built-in function 'exit' > -conftest.c:202: warning: incompatible implicit declaration of built-in function 'exit' > -conftest.c:198: warning: return type of 'main' is not 'int' > +configure:27810: /usr/local/bin/clang -o conftest -g -O2 conftest.c -lcrypt -pthread >&5 > +conftest.c:197:1: error: 'main' must return 'int' > +void main(void) { > +^ > +conftest.c:198:9: error: use of undeclared identifier 'EAI_ADDRFAMILY' > + if (EAI_ADDRFAMILY < 0) { > + ^ > +conftest.c:199:9: warning: implicitly declaring C library function 'exit' with type 'void (int) __attribute__((noreturn))' > + exit(0); > + ^ > +conftest.c:199:9: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit' > +1 warning and 2 errors generated. > configure:27810: $? = 1 > configure: program exited with status 1 > configure: failed program was: > @@ -16892,7 +17562,6 @@ > | #define HAVE_SO_ACCEPTFILTER 1 > | #define HAVE_STRUCT_IPMREQ 1 > | #define HAVE_GAI_STRERROR 1 > -| #define HAVE_GETADDRINFO 1 > | /* end confdefs.h. */ > | > | #ifdef HAVE_NETDB_H > @@ -16908,43 +17577,278 @@ > | > configure:27824: result: no > configure:27833: checking for working getnameinfo > -configure:27886: cc -o conftest -g -O2 conftest.c -lcrypt -pthread >&5 > -conftest.c: In function 'main': > -conftest.c:226: warning: incompatible implicit declaration of built-in function 'exit' > -conftest.c:228: warning: incompatible implicit declaration of built-in function 'exit' > -conftest.c:210: warning: return type of 'main' is not 'int' > -configure:27886: $? = 0 > -configure:27886: ./conftest > -configure:27886: $? = 0 > -configure:27900: result: yes > +configure:27886: /usr/local/bin/clang -o conftest -g -O2 conftest.c -lcrypt -pthread >&5 > +conftest.c:209:1: error: 'main' must return 'int' > +void main(void) { > +^ > +conftest.c:216:26: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration] > + sa.sin_addr.s_addr = inet_addr("127.0.0.1"); > + ^ > +conftest.c:225:9: warning: implicitly declaring C library function 'exit' with type 'void (int) __attribute__((noreturn))' > + exit(1); > + ^ > +conftest.c:225:9: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit' > +2 warnings and 1 error generated. > +configure:27886: $? = 1 > +configure: program exited with status 1 > +configure: failed program was: > +| /* confdefs.h */ > +| #define PACKAGE_NAME "" > +| #define PACKAGE_TARNAME "" > +| #define PACKAGE_VERSION "" > +| #define PACKAGE_STRING "" > +| #define PACKAGE_BUGREPORT "" > +| #define PACKAGE_URL "" > +| #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_STDINT_H 1 > +| #define HAVE_UNISTD_H 1 > +| #define __EXTENSIONS__ 1 > +| #define _ALL_SOURCE 1 > +| #define _GNU_SOURCE 1 > +| #define _POSIX_PTHREAD_SEMANTICS 1 > +| #define _TANDEM_SOURCE 1 > +| #define HAVE_DLFCN_H 1 > +| #define LT_OBJDIR ".libs/" > +| #define HAVE_ATOMIC_BUILTINS 1 > +| #define HAVE_PTHREAD_H 1 > +| #define HAVE_PTHREAD_MUTEX_RECURSIVE 1 > +| #define HAVE_PTHREAD_KEY_DELETE 1 > +| #define HAVE_PTHREAD_RWLOCK_INIT 1 > +| #define HAVE_PTHREAD_ATTR_SETGUARDSIZE 1 > +| #define HAVE_PTHREAD_YIELD 1 > +| #define HAVE_PTHREAD_RWLOCKS 1 > +| #define HAVE_GETHOSTBYNAME_R 1 > +| #define HAVE_GETHOSTBYADDR_R 1 > +| #define HAVE_GETSERVBYNAME_R 1 > +| #define HAVE_SIGSUSPEND 1 > +| #define HAVE_SIGWAIT 1 > +| #define HAVE_POLL 1 > +| #define HAVE_KQUEUE 1 > +| #define HAVE_GETPWNAM_R 1 > +| #define HAVE_GETPWUID_R 1 > +| #define HAVE_GETGRNAM_R 1 > +| #define HAVE_GETGRGID_R 1 > +| #define HAVE_SYS_TYPES_H 1 > +| #define HAVE_SYS_MMAN_H 1 > +| #define HAVE_SYS_IPC_H 1 > +| #define HAVE_SYS_MUTEX_H 1 > +| #define HAVE_SYS_SHM_H 1 > +| #define HAVE_SYS_FILE_H 1 > +| #define HAVE_MMAP 1 > +| #define HAVE_MUNMAP 1 > +| #define HAVE_SHM_OPEN 1 > +| #define HAVE_SHM_UNLINK 1 > +| #define HAVE_SHMGET 1 > +| #define HAVE_SHMAT 1 > +| #define HAVE_SHMDT 1 > +| #define HAVE_SHMCTL 1 > +| #define HAVE_MAP_ANON 1 > +| #define anonymous shared memory allocation method 1 > +| #define USE_SHMEM_MMAP_ANON 1 > +| #define namebased memory allocation method 1 > +| #define USE_SHMEM_SHMGET 1 > +| #define HAVE_ALLOCA 1 > +| #define HAVE_CALLOC 1 > +| #define HAVE_SETSID 1 > +| #define HAVE_ISINF 1 > +| #define HAVE_ISNAN 1 > +| #define HAVE_GETENV 1 > +| #define HAVE_PUTENV 1 > +| #define HAVE_SETENV 1 > +| #define HAVE_UNSETENV 1 > +| #define HAVE_WRITEV 1 > +| #define HAVE_GETIFADDRS 1 > +| #define HAVE_UTIME 1 > +| #define HAVE_UTIMES 1 > +| #define HAVE_SETRLIMIT 1 > +| #define HAVE_GETRLIMIT 1 > +| #define HAVE_SENDFILE 1 > +| #define HAVE_SIGACTION 1 > +| #define HAVE_DECL_SYS_SIGLIST 1 > +| #define HAVE_FORK 1 > +| #define HAVE_STRERROR_R 1 > +| #define STRERROR_R_RC_INT 1 > +| #define HAVE_MMAP 1 > +| #define HAVE_MEMMOVE 1 > +| #define HAVE_GETPASS 1 > +| #define HAVE_GMTIME_R 1 > +| #define HAVE_LOCALTIME_R 1 > +| #define HAVE_MKSTEMP 1 > +| #define STDC_HEADERS 1 > +| #define HAVE_CTYPE_H 1 > +| #define HAVE_DIRENT_H 1 > +| #define HAVE_DLFCN_H 1 > +| #define HAVE_ERRNO_H 1 > +| #define HAVE_FCNTL_H 1 > +| #define HAVE_GRP_H 1 > +| #define HAVE_LIMITS_H 1 > +| #define HAVE_MEMORY_H 1 > +| #define HAVE_NETDB_H 1 > +| #define HAVE_OSRELDATE_H 1 > +| #define HAVE_POLL_H 1 > +| #define HAVE_PWD_H 1 > +| #define HAVE_SEMAPHORE_H 1 > +| #define HAVE_SIGNAL_H 1 > +| #define HAVE_STDARG_H 1 > +| #define HAVE_STDDEF_H 1 > +| #define HAVE_STDIO_H 1 > +| #define HAVE_STDLIB_H 1 > +| #define HAVE_STRING_H 1 > +| #define HAVE_STRINGS_H 1 > +| #define HAVE_TERMIOS_H 1 > +| #define HAVE_TIME_H 1 > +| #define HAVE_UNISTD_H 1 > +| #define HAVE_ARPA_INET_H 1 > +| #define HAVE_NETINET_IN_H 1 > +| #define HAVE_NETINET_SCTP_H 1 > +| #define HAVE_NETINET_SCTP_UIO_H 1 > +| #define HAVE_SYS_FILE_H 1 > +| #define HAVE_SYS_IOCTL_H 1 > +| #define HAVE_SYS_MMAN_H 1 > +| #define HAVE_SYS_PARAM_H 1 > +| #define HAVE_SYS_POLL_H 1 > +| #define HAVE_SYS_RESOURCE_H 1 > +| #define HAVE_SYS_SELECT_H 1 > +| #define HAVE_SYS_SEM_H 1 > +| #define HAVE_SYS_SIGNAL_H 1 > +| #define HAVE_SYS_SOCKET_H 1 > +| #define HAVE_SYS_SOCKIO_H 1 > +| #define HAVE_SYS_STAT_H 1 > +| #define HAVE_SYS_SYSCTL_H 1 > +| #define HAVE_SYS_SYSLIMITS_H 1 > +| #define HAVE_SYS_TIME_H 1 > +| #define HAVE_SYS_TYPES_H 1 > +| #define HAVE_SYS_UIO_H 1 > +| #define HAVE_SYS_UN_H 1 > +| #define HAVE_SYS_WAIT_H 1 > +| #define HAVE_NETINET_TCP_H 1 > +| #define HAVE_SOCKLEN_T 1 > +| #define SIZEOF_VOIDP 8 > +| #define SIZEOF_CHAR 1 > +| #define SIZEOF_INT 4 > +| #define SIZEOF_LONG 8 > +| #define SIZEOF_SHORT 2 > +| #define SIZEOF_LONG_LONG 8 > +| #define SIZEOF_PID_T 4 > +| #define SIZEOF_SSIZE_T 8 > +| #define SIZEOF_SIZE_T 8 > +| #define SIZEOF_OFF_T 8 > +| #define SIZEOF_INO_T 4 > +| #define SIZEOF_STRUCT_IOVEC 16 > +| #define HAVE_STRNCASECMP 1 > +| #define HAVE_STRCASECMP 1 > +| #define HAVE_STRDUP 1 > +| #define HAVE_STRSTR 1 > +| #define HAVE_MEMCHR 1 > +| #define APR_INT64_STRFN strtol > +| #define APR_OFF_T_STRFN strtol > +| #define DSO_USE_DLFCN 1 > +| #define HAVE_WAITPID 1 > +| #define HAVE_VLA 1 > +| #define HAVE_SEMGET 1 > +| #define HAVE_SEMCTL 1 > +| #define HAVE_FLOCK 1 > +| #define HAVE_SEMAPHORE_H 1 > +| #define HAVE_SEM_CLOSE 1 > +| #define HAVE_SEM_UNLINK 1 > +| #define HAVE_SEM_POST 1 > +| #define HAVE_SEM_WAIT 1 > +| #define HAVE_LOCK_EX 1 > +| #define HAVE_F_SETLK 1 > +| #define HAVE_SEM_UNDO 1 > +| #define HAVE_POLLIN 1 > +| #define HAVE_PTHREAD_PROCESS_SHARED 1 > +| #define HAVE_PTHREAD_MUTEXATTR_SETPSHARED 1 > +| #define apr_lock implementation method 1 > +| #define USE_FLOCK_SERIALIZE 1 > +| #define DEV_RANDOM "/dev/urandom" > +| #define HAVE_STRUCT_STAT_ST_BLOCKS 1 > +| #define DIRENT_INODE d_fileno > +| #define DIRENT_TYPE d_type > +| #define HAVE_UUID_H 1 > +| #define HAVE_UUID_CREATE 1 > +| #define HAVE_STRUCT_TM_TM_GMTOFF 1 > +| #define WAITIO_USES_POLL 1 > +| #define GETHOSTBYNAME_R_GLIBC2 1 > +| #define GETSERVBYNAME_R_GLIBC2 1 > +| #define HAVE_TCP_NOPUSH 1 > +| #define HAVE_SO_ACCEPTFILTER 1 > +| #define HAVE_STRUCT_IPMREQ 1 > +| #define HAVE_GAI_STRERROR 1 > +| /* end confdefs.h. */ > +| > +| #ifdef HAVE_NETDB_H > +| #include <netdb.h> > +| #endif > +| #ifdef HAVE_STRING_H > +| #include <string.h> > +| #endif > +| #ifdef HAVE_SYS_TYPES_H > +| #include <sys/types.h> > +| #endif > +| #ifdef HAVE_SYS_SOCKET_H > +| #include <sys/socket.h> > +| #endif > +| #ifdef HAVE_NETINET_IN_H > +| #include <netinet/in.h> > +| #endif > +| > +| void main(void) { > +| struct sockaddr_in sa; > +| char hbuf[256]; > +| int error; > +| > +| sa.sin_family = AF_INET; > +| sa.sin_port = 0; > +| sa.sin_addr.s_addr = inet_addr("127.0.0.1"); > +| #ifdef SIN6_LEN > +| sa.sin_len = sizeof(sa); > +| #endif > +| > +| error = getnameinfo((const struct sockaddr *)&sa, sizeof(sa), > +| hbuf, 256, NULL, 0, > +| NI_NUMERICHOST); > +| if (error) { > +| exit(1); > +| } else { > +| exit(0); > +| } > +| } > +| > +configure:27900: result: no linimon@FreeBSD.org $B$5$s$O=q$-$^$7$?(B (2011/10/29 20:31): > As an APR committer and apache@ member can you explain to me what > problem you are trying to solve and what specific version of the board > you have ? --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EADFB5C.4020307>