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.59. Invocation command line was $ ./configure --prefix=/usr/local CC=cc CFLAGS=-fno-common CXXFLAGS=-fno-common CXX=c++ --cache-file=/dev/null --srcdir=. ## --------- ## ## Platform. ## ## --------- ## hostname = darwintel uname -m = x86 uname -r = 8.0.1 uname -s = Darwin uname -v = Darwin Kernel Version 8.0.1: Fri Apr 29 12:18:40 PDT 2005; root:xnu-792.obj/RELEASE_I386 /usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = Mach kernel version: Darwin Kernel Version 8.0.1: Fri Apr 29 12:18:40 PDT 2005; root:xnu-792.obj/RELEASE_I386 Kernel configured for up to 4 processors. 4 processors are physically available. Processor type: pentpro (Intel Pentium Pro) Processors active: 0 1 2 3 Primary memory available: 1023.00 megabytes Default processor set: 125 tasks, 180 threads, 4 processors Load average: 1.13, Mach factor: 2.86 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /var/root/usr/local/bin PATH: /var/root/usr/bin PATH: /var/root/usr/X11R6/bin PATH: /Users/proclus/gnu-darwin-func/admin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /sbin PATH: /usr/sbin PATH: /Users/proclus/usr/local/bin PATH: /Users/proclus/usr/bin PATH: /Users/proclus/usr/X11R6/bin PATH: /Users/proclus/gnu-darwin-func/admin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /sbin PATH: /usr/sbin PATH: /Users/proclus/usr/local/bin PATH: /Users/proclus/usr/bin PATH: /Users/proclus/usr/X11R6/bin PATH: /Users/proclus/gnu-darwin-func/admin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /sbin PATH: /usr/sbin PATH: /Users/proclus/usr/local/bin PATH: /Users/proclus/usr/bin PATH: /Users/proclus/usr/X11R6/bin PATH: /Users/proclus/gnu-darwin-func/admin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /sbin PATH: /usr/sbin PATH: /bin PATH: /sbin PATH: /usr/bin PATH: /usr/sbin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1221: creating cache configure:1335: checking build system type configure:1353: result: i686-apple-darwin8.0.1 configure:1361: checking host system type configure:1375: result: i686-apple-darwin8.0.1 configure:1479: checking for C++ compiler version configure:1482: c++ --version &5 c++ (GCC) 3.3 20030304 (Apple Computer, Inc. build 1809) 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:1485: $? = 0 configure:1487: c++ -v &5 Reading specs from /usr/libexec/gcc/darwin/i386/3.3/specs Thread model: posix gcc version 3.3 20030304 (Apple Computer, Inc. build 1809) configure:1490: $? = 0 configure:1492: c++ -V &5 c++: `-V' option must have argument configure:1495: $? = 1 configure:1518: checking for C++ compiler default output file name configure:1521: c++ -fno-common conftest.cc >&5 configure:1524: $? = 0 configure:1570: result: a.out configure:1575: checking whether the C++ compiler works configure:1581: ./a.out configure:1584: $? = 0 configure:1601: result: yes configure:1608: checking whether we are cross compiling configure:1610: result: no configure:1613: checking for suffix of executables configure:1615: c++ -o conftest -fno-common conftest.cc >&5 configure:1618: $? = 0 configure:1643: result: configure:1649: checking for suffix of object files configure:1670: c++ -c -fno-common conftest.cc >&5 configure:1673: $? = 0 configure:1695: result: configure:1699: checking whether we are using the GNU C++ compiler configure:1723: c++ -c -fno-common conftest.cc >&5 configure:1729: $? = 0 configure:1733: test -z || test ! -s conftest.err configure:1736: $? = 0 configure:1739: test -s conftest. configure:1742: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:1755: result: no configure:1761: checking whether c++ accepts -g configure:1782: c++ -c -g conftest.cc >&5 configure:1788: $? = 0 configure:1792: test -z || test ! -s conftest.err configure:1795: $? = 0 configure:1798: test -s conftest. configure:1801: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:1812: result: no configure:1854: c++ -c -fno-common conftest.cc >&5 configure:1860: $? = 0 configure:1864: test -z || test ! -s conftest.err configure:1867: $? = 0 configure:1870: test -s conftest. configure:1873: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | #include | int | main () | { | exit (42); | ; | return 0; | } configure:1854: c++ -c -fno-common conftest.cc >&5 configure:1860: $? = 0 configure:1864: test -z || test ! -s conftest.err configure:1867: $? = 0 configure:1870: test -s conftest. configure:1873: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | extern "C" void std::exit (int) throw (); using std::exit; | #include | int | main () | { | exit (42); | ; | return 0; | } configure:1854: c++ -c -fno-common conftest.cc >&5 configure:1860: $? = 0 configure:1864: test -z || test ! -s conftest.err configure:1867: $? = 0 configure:1870: test -s conftest. configure:1873: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | extern "C" void std::exit (int); using std::exit; | #include | int | main () | { | exit (42); | ; | return 0; | } configure:1854: c++ -c -fno-common conftest.cc >&5 In file included from conftest.cc:10: /usr/include/stdlib.h:158: error: declaration of `void exit(int)' throws different exceptions conftest.cc:9: error: than previous declaration `void exit(int) throw ()' configure:1860: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | extern "C" void exit (int) throw (); | #include | int | main () | { | exit (42); | ; | return 0; | } configure:1854: c++ -c -fno-common conftest.cc >&5 configure:1860: $? = 0 configure:1864: test -z || test ! -s conftest.err configure:1867: $? = 0 configure:1870: test -s conftest. configure:1873: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | extern "C" void exit (int); | #include | int | main () | { | exit (42); | ; | return 0; | } configure:1854: c++ -c -fno-common conftest.cc >&5 In file included from conftest.cc:10: conftest.cc:9: error: previous declaration of `void exit(int)' with C++ linkage /usr/include/stdlib.h:158: error: conflicts with new declaration with C linkage configure:1860: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | void exit (int); | #include | int | main () | { | exit (42); | ; | return 0; | } configure:1982: checking for ranlib configure:1998: found /usr/bin/ranlib configure:2009: result: ranlib configure:2034: checking for a BSD-compatible install configure:2089: result: /usr/bin/install -c -o root -g wheel configure:2147: checking for gcc configure:2173: result: cc configure:2417: checking for C compiler version configure:2420: cc --version &5 cc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1809) 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:2423: $? = 0 configure:2425: cc -v &5 Reading specs from /usr/libexec/gcc/darwin/i386/3.3/specs Thread model: posix gcc version 3.3 20030304 (Apple Computer, Inc. build 1809) configure:2428: $? = 0 configure:2430: cc -V &5 cc: `-V' option must have argument configure:2433: $? = 1 configure:2436: checking whether we are using the GNU C compiler configure:2460: cc -c -fno-common conftest.c >&5 configure:2466: $? = 0 configure:2470: test -z || test ! -s conftest.err configure:2473: $? = 0 configure:2476: test -s conftest. configure:2479: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:2492: result: no configure:2498: checking whether cc accepts -g configure:2519: cc -c -g conftest.c >&5 configure:2525: $? = 0 configure:2529: test -z || test ! -s conftest.err configure:2532: $? = 0 configure:2535: test -s conftest. configure:2538: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2549: result: no configure:2566: checking for cc option to accept ANSI C configure:2636: cc -c -fno-common conftest.c >&5 configure:2642: $? = 0 configure:2646: test -z || test ! -s conftest.err configure:2649: $? = 0 configure:2652: test -s conftest. configure:2655: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2636: cc -qlanglvl=ansi -c -fno-common conftest.c >&5 cc: unrecognized option `-qlanglvl=ansi' configure:2642: $? = 0 configure:2646: test -z || test ! -s conftest.err configure:2649: $? = 0 configure:2652: test -s conftest. configure:2655: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2636: cc -std1 -c -fno-common conftest.c >&5 cc1: error: unrecognized option `-std1' configure:2642: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2636: cc -Ae -c -fno-common conftest.c >&5 :6:2: missing '(' after predicate configure:2642: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2636: cc -Aa -D_HPUX_SOURCE -c -fno-common conftest.c >&5 :6:2: missing '(' after predicate configure:2642: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2636: cc -Xc -D__EXTENSIONS__ -c -fno-common conftest.c >&5 cc: unrecognized option `-Xc' configure:2642: $? = 0 configure:2646: test -z || test ! -s conftest.err configure:2649: $? = 0 configure:2652: test -s conftest. configure:2655: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std1 is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std1. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:2673: result: none needed configure:2691: cc -c -fno-common conftest.c >&5 conftest.c:2: error: parse error before "me" configure:2697: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:2832: checking for main in -lpcap configure:2856: cc -o conftest -fno-common conftest.c -lpcap >&5 configure:2862: $? = 0 configure:2866: test -z || test ! -s conftest.err configure:2869: $? = 0 configure:2872: test -s conftest configure:2875: $? = 0 configure:2888: result: yes configure:2902: checking for pcap_setnonblock in -lpcap configure:2932: cc -o conftest -fno-common conftest.c -lpcap -lpcap >&5 configure:2938: $? = 0 configure:2942: test -z || test ! -s conftest.err configure:2945: $? = 0 configure:2948: test -s conftest configure:2951: $? = 0 configure:2964: result: yes configure:2995: checking for socket in -lsocket configure:3025: cc -o conftest -fno-common -DDARWIN conftest.c -lsocket -lpcap >&5 ld: can't locate file for: -lsocket configure:3031: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_LIBPCAP 1 | #define HAVE_PCAP_SETNONBLOCK | /* end confdefs.h. */ | | /* 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 socket (); | int | main () | { | socket (); | ; | return 0; | } configure:3057: result: no configure:3069: checking for inet_ntoa in -lnsl configure:3099: cc -o conftest -fno-common -DDARWIN conftest.c -lnsl -lpcap >&5 ld: can't locate file for: -lnsl configure:3105: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_LIBPCAP 1 | #define HAVE_PCAP_SETNONBLOCK | /* end confdefs.h. */ | | /* 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 inet_ntoa (); | int | main () | { | inet_ntoa (); | ; | return 0; | } configure:3131: result: no configure:3148: checking how to run the C preprocessor configure:3183: cc -E conftest.c configure:3189: $? = 0 configure:3221: cc -E conftest.c conftest.c:14:28: ac_nonexistent.h: No such file or directory configure:3227: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_LIBPCAP 1 | #define HAVE_PCAP_SETNONBLOCK | /* end confdefs.h. */ | #include configure:3266: result: cc -E configure:3290: cc -E conftest.c configure:3296: $? = 0 configure:3328: cc -E conftest.c conftest.c:14:28: ac_nonexistent.h: No such file or directory configure:3334: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_LIBPCAP 1 | #define HAVE_PCAP_SETNONBLOCK | /* end confdefs.h. */ | #include configure:3378: checking for egrep configure:3388: result: grep -E configure:3393: checking for ANSI C header files configure:3418: cc -c -fno-common -DDARWIN conftest.c >&5 configure:3424: $? = 0 configure:3428: test -z || test ! -s conftest.err configure:3431: $? = 0 configure:3434: test -s conftest. configure:3437: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_LIBPCAP 1 | #define HAVE_PCAP_SETNONBLOCK | /* end confdefs.h. */ | #include | #include | #include | #include | | int | main () | { | | ; | return 0; | } configure:3546: result: no configure:3570: checking for sys/types.h configure:3586: cc -c -fno-common -DDARWIN conftest.c >&5 configure:3592: $? = 0 configure:3596: test -z || test ! -s conftest.err configure:3599: $? = 0 configure:3602: test -s conftest. configure:3605: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_LIBPCAP 1 | #define HAVE_PCAP_SETNONBLOCK | /* 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:3616: result: no configure:3570: checking for sys/stat.h configure:3586: cc -c -fno-common -DDARWIN conftest.c >&5 configure:3592: $? = 0 configure:3596: test -z || test ! -s conftest.err configure:3599: $? = 0 configure:3602: test -s conftest. configure:3605: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_LIBPCAP 1 | #define HAVE_PCAP_SETNONBLOCK | /* 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:3616: result: no configure:3570: checking for stdlib.h configure:3586: cc -c -fno-common -DDARWIN conftest.c >&5 configure:3592: $? = 0 configure:3596: test -z || test ! -s conftest.err configure:3599: $? = 0 configure:3602: test -s conftest. configure:3605: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_LIBPCAP 1 | #define HAVE_PCAP_SETNONBLOCK | /* 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:3616: result: no configure:3570: checking for string.h configure:3586: cc -c -fno-common -DDARWIN conftest.c >&5 configure:3592: $? = 0 configure:3596: test -z || test ! -s conftest.err configure:3599: $? = 0 configure:3602: test -s conftest. configure:3605: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_LIBPCAP 1 | #define HAVE_PCAP_SETNONBLOCK | /* 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:3616: result: no configure:3570: checking for memory.h configure:3586: cc -c -fno-common -DDARWIN conftest.c >&5 configure:3592: $? = 0 configure:3596: test -z || test ! -s conftest.err configure:3599: $? = 0 configure:3602: test -s conftest. configure:3605: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_LIBPCAP 1 | #define HAVE_PCAP_SETNONBLOCK | /* 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:3616: result: no configure:3570: checking for strings.h configure:3586: cc -c -fno-common -DDARWIN conftest.c >&5 configure:3592: $? = 0 configure:3596: test -z || test ! -s conftest.err configure:3599: $? = 0 configure:3602: test -s conftest. configure:3605: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_LIBPCAP 1 | #define HAVE_PCAP_SETNONBLOCK | /* 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:3616: result: no configure:3570: checking for inttypes.h configure:3586: cc -c -fno-common -DDARWIN conftest.c >&5 configure:3592: $? = 0 configure:3596: test -z || test ! -s conftest.err configure:3599: $? = 0 configure:3602: test -s conftest. configure:3605: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_LIBPCAP 1 | #define HAVE_PCAP_SETNONBLOCK | /* 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:3616: result: no configure:3570: checking for stdint.h configure:3586: cc -c -fno-common -DDARWIN conftest.c >&5 configure:3592: $? = 0 configure:3596: test -z || test ! -s conftest.err configure:3599: $? = 0 configure:3602: test -s conftest. configure:3605: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_LIBPCAP 1 | #define HAVE_PCAP_SETNONBLOCK | /* 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:3616: result: no configure:3570: checking for unistd.h configure:3586: cc -c -fno-common -DDARWIN conftest.c >&5 configure:3592: $? = 0 configure:3596: test -z || test ! -s conftest.err configure:3599: $? = 0 configure:3602: test -s conftest. configure:3605: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_LIBPCAP 1 | #define HAVE_PCAP_SETNONBLOCK | /* 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:3616: result: no configure:3646: checking fcntl.h usability configure:3658: cc -c -fno-common -DDARWIN conftest.c >&5 configure:3664: $? = 0 configure:3668: test -z || test ! -s conftest.err configure:3671: $? = 0 configure:3674: test -s conftest. configure:3677: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_LIBPCAP 1 | #define HAVE_PCAP_SETNONBLOCK | /* 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:3687: result: no configure:3691: checking fcntl.h presence configure:3701: cc -E conftest.c configure:3707: $? = 0 configure:3727: result: yes configure:3740: WARNING: fcntl.h: present but cannot be compiled configure:3742: WARNING: fcntl.h: check for missing prerequisite headers? configure:3744: WARNING: fcntl.h: see the Autoconf documentation configure:3746: WARNING: fcntl.h: section "Present But Cannot Be Compiled" configure:3748: WARNING: fcntl.h: proceeding with the preprocessor's result configure:3750: WARNING: fcntl.h: in the future, the compiler will take precedence configure:3762: checking for fcntl.h configure:3769: result: yes configure:3646: checking sys/ioctl.h usability configure:3658: cc -c -fno-common -DDARWIN conftest.c >&5 configure:3664: $? = 0 configure:3668: test -z || test ! -s conftest.err configure:3671: $? = 0 configure:3674: test -s conftest. configure:3677: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_LIBPCAP 1 | #define HAVE_PCAP_SETNONBLOCK | #define HAVE_FCNTL_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:3687: result: no configure:3691: checking sys/ioctl.h presence configure:3701: cc -E conftest.c configure:3707: $? = 0 configure:3727: result: yes configure:3740: WARNING: sys/ioctl.h: present but cannot be compiled configure:3742: WARNING: sys/ioctl.h: check for missing prerequisite headers? configure:3744: WARNING: sys/ioctl.h: see the Autoconf documentation configure:3746: WARNING: sys/ioctl.h: section "Present But Cannot Be Compiled" configure:3748: WARNING: sys/ioctl.h: proceeding with the preprocessor's result configure:3750: WARNING: sys/ioctl.h: in the future, the compiler will take precedence configure:3762: checking for sys/ioctl.h configure:3769: result: yes configure:3646: checking sys/time.h usability configure:3658: cc -c -fno-common -DDARWIN conftest.c >&5 configure:3664: $? = 0 configure:3668: test -z || test ! -s conftest.err configure:3671: $? = 0 configure:3674: test -s conftest. configure:3677: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_LIBPCAP 1 | #define HAVE_PCAP_SETNONBLOCK | #define HAVE_FCNTL_H 1 | #define HAVE_SYS_IOCTL_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:3687: result: no configure:3691: checking sys/time.h presence configure:3701: cc -E conftest.c configure:3707: $? = 0 configure:3727: result: yes configure:3740: WARNING: sys/time.h: present but cannot be compiled configure:3742: WARNING: sys/time.h: check for missing prerequisite headers? configure:3744: WARNING: sys/time.h: see the Autoconf documentation configure:3746: WARNING: sys/time.h: section "Present But Cannot Be Compiled" configure:3748: WARNING: sys/time.h: proceeding with the preprocessor's result configure:3750: WARNING: sys/time.h: in the future, the compiler will take precedence configure:3762: checking for sys/time.h configure:3769: result: yes configure:3637: checking for unistd.h configure:3642: result: no configure:3646: checking linux/filter.h usability configure:3658: cc -c -fno-common -DDARWIN conftest.c >&5 conftest.c:51:26: linux/filter.h: No such file or directory configure:3664: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_LIBPCAP 1 | #define HAVE_PCAP_SETNONBLOCK | #define HAVE_FCNTL_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_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:3687: result: no configure:3691: checking linux/filter.h presence configure:3701: cc -E conftest.c conftest.c:17:26: linux/filter.h: No such file or directory configure:3707: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_LIBPCAP 1 | #define HAVE_PCAP_SETNONBLOCK | #define HAVE_FCNTL_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | /* end confdefs.h. */ | #include configure:3727: result: no configure:3762: checking for linux/filter.h configure:3769: result: no configure:3783: checking for an ANSI C-conforming const configure:3850: cc -c -fno-common -DDARWIN conftest.c >&5 configure:3856: $? = 0 configure:3860: test -z || test ! -s conftest.err configure:3863: $? = 0 configure:3866: test -s conftest. configure:3869: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_LIBPCAP 1 | #define HAVE_PCAP_SETNONBLOCK | #define HAVE_FCNTL_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | /* end confdefs.h. */ | | int | main () | { | /* FIXME: Include the comments suggested by Paul. */ | #ifndef __cplusplus | /* Ultrix mips cc rejects this. */ | typedef int charset[2]; | const charset x; | /* SunOS 4.1.1 cc rejects this. */ | char const *const *ccp; | char **p; | /* NEC SVR4.0.2 mips cc rejects this. */ | struct point {int x, y;}; | static struct point const zero = {0,0}; | /* AIX XL C 1.02.0.0 rejects this. | It does not let you subtract one const X* pointer from another in | an arm of an if-expression whose if-part is not a constant | expression */ | const char *g = "string"; | ccp = &g + (g ? g-g : 0); | /* HPUX 7.0 cc rejects these. */ | ++ccp; | p = (char**) ccp; | ccp = (char const *const *) p; | { /* SCO 3.2v4 cc rejects this. */ | char *t; | char const *s = 0 ? (char *) 0 : (char const *) 0; | | *t++ = 0; | } | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ | int x[] = {25, 17}; | const int *foo = &x[0]; | ++foo; | } | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | typedef const int *iptr; | iptr p = 0; | ++p; | } | { /* AIX XL C 1.02.0.0 rejects this saying | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | struct s { int j; const int *ap[3]; }; | struct s *b; b->j = 5; | } | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | const int foo = 10; | } | #endif | | ; | return 0; | } configure:3880: result: no configure:3890: checking for size_t configure:3914: cc -c -fno-common -DDARWIN conftest.c >&5 configure:3920: $? = 0 configure:3924: test -z || test ! -s conftest.err configure:3927: $? = 0 configure:3930: test -s conftest. configure:3933: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_LIBPCAP 1 | #define HAVE_PCAP_SETNONBLOCK | #define HAVE_FCNTL_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define const | /* 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 | int | main () | { | if ((size_t *) 0) | return 0; | if (sizeof (size_t)) | return 0; | ; | return 0; | } configure:3944: result: no configure:3956: checking whether time.h and sys/time.h may both be included configure:3981: cc -c -fno-common -DDARWIN conftest.c >&5 configure:3987: $? = 0 configure:3991: test -z || test ! -s conftest.err configure:3994: $? = 0 configure:3997: test -s conftest. configure:4000: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_LIBPCAP 1 | #define HAVE_PCAP_SETNONBLOCK | #define HAVE_FCNTL_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define const | #define size_t unsigned | /* end confdefs.h. */ | #include | #include | #include | | int | main () | { | if ((struct tm *) 0) | return 0; | ; | return 0; | } configure:4011: result: no configure:4021: checking whether byte ordering is bigendian configure:4048: cc -c -fno-common -DDARWIN conftest.c >&5 configure:4054: $? = 0 configure:4058: test -z || test ! -s conftest.err configure:4061: $? = 0 configure:4064: test -s conftest. configure:4067: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #ifdef __cplusplus | void exit (int); | #endif | #define HAVE_LIBPCAP 1 | #define HAVE_PCAP_SETNONBLOCK | #define HAVE_FCNTL_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define const | #define size_t unsigned | /* end confdefs.h. */ | #include | #include | | int | main () | { | #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | bogus endian macros | #endif | | ; | return 0; | } configure:4208: cc -o conftest -fno-common -DDARWIN conftest.c -lpcap >&5 configure:4211: $? = 0 configure:4213: ./conftest configure:4216: $? = 0 configure:4232: result: no configure:4348: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by config.status, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on darwintel config.status:662: creating Makefile config.status:766: creating config.h config.status:862: config.h is unchanged ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-apple-darwin8.0.1 ac_cv_build_alias=i686-apple-darwin8.0.1 ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=no ac_cv_c_const=no ac_cv_cxx_compiler_gnu=no ac_cv_env_CC_set=set ac_cv_env_CC_value=cc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value=-fno-common ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value=-fno-common ac_cv_env_CXX_set=set ac_cv_env_CXX_value=c++ 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_header_fcntl_h=yes ac_cv_header_inttypes_h=no ac_cv_header_linux_filter_h=no ac_cv_header_memory_h=no ac_cv_header_stdc=no ac_cv_header_stdint_h=no ac_cv_header_stdlib_h=no ac_cv_header_string_h=no ac_cv_header_strings_h=no ac_cv_header_sys_ioctl_h=yes ac_cv_header_sys_stat_h=no ac_cv_header_sys_time_h=yes ac_cv_header_sys_types_h=no ac_cv_header_time=no ac_cv_header_unistd_h=no ac_cv_host=i686-apple-darwin8.0.1 ac_cv_host_alias=i686-apple-darwin8.0.1 ac_cv_lib_nsl_inet_ntoa=no ac_cv_lib_pcap_main=yes ac_cv_lib_pcap_pcap_setnonblock=yes ac_cv_lib_socket_socket=no ac_cv_objext= ac_cv_prog_CPP='cc -E' ac_cv_prog_ac_ct_CC=cc ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_cc_g=no ac_cv_prog_cc_stdc=no ac_cv_prog_cxx_g=no ac_cv_prog_egrep='grep -E' ac_cv_type_size_t=no ## ----------------- ## ## Output variables. ## ## ----------------- ## CC='cc' CFLAGS='-fno-common -DDARWIN' CPP='cc -E' CPPFLAGS='' CXX='c++' CXXFLAGS='-fno-common' DEFS='-DHAVE_CONFIG_H' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='grep -E' EXEEXT='' INSTALL_DATA='install -o root -g wheel -m 444' INSTALL_PROGRAM='install -s -o root -g wheel -m 555' INSTALL_SCRIPT='install -o root -g wheel -m 555' LDFLAGS='' LIBOBJS='' LIBS='-lpcap ' LTLIBOBJS='' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' RANLIB='ranlib' SHELL='/bin/sh' ac_ct_CC='cc' ac_ct_CXX='' ac_ct_RANLIB='ranlib' bindir='${exec_prefix}/bin' build='i686-apple-darwin8.0.1' build_alias='' build_cpu='i686' build_os='darwin8.0.1' build_vendor='apple' datadir='${prefix}/share' exec_prefix='${prefix}' host='i686-apple-darwin8.0.1' host_alias='' host_cpu='i686' host_os='darwin8.0.1' host_vendor='apple' includedir='${prefix}/include' infodir='${prefix}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' oldincludedir='/usr/include' prefix='' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define HAVE_FCNTL_H 1 #define HAVE_LIBPCAP 1 #define HAVE_PCAP_SETNONBLOCK #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_TIME_H 1 #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define const #define size_t unsigned #endif #ifdef __cplusplus void exit (int); configure: exit 0