tcpdump mailing list archives
Re: SCO libpcap
From: "sufei7099" <sufei7099 () gmail com>
Date: Mon, 16 Jun 2008 09:28:22 +0800
The content of config.log is : 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.61. Invocation command line was $ ./configure --libdir=/usr/local/lib ## --------- ## ## Platform. ## ## --------- ## hostname = scosysv uname -m = i386 uname -r = 3.2 uname -s = SCO_SV uname -v = 5.0.7 /usr/bin/uname -p = unknown /bin/uname -X = System = SCO_SV Node = scosysv Release = 3.2v5.0.7 KernelID = 2003-02-18 Machine = >PentIII BusType = ISA Serial = 507BETA00 Users = 5 OEM# = 0 Origin# = 1 NumCPU = 1 /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /bin PATH: /etc PATH: /usr/bin PATH: /tcb/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2036: checking for a BSD-compatible install configure:2092: result: ./install-sh -c configure:2103: checking whether build environment is sane configure:2146: result: yes configure:2174: checking for a thread-safe mkdir -p configure:2213: result: ./install-sh -c -d configure:2226: checking for gawk configure:2256: result: no configure:2226: checking for mawk configure:2256: result: no configure:2226: checking for nawk configure:2242: found /usr/bin/nawk configure:2253: result: nawk configure:2264: checking whether make sets $(MAKE) configure:2285: result: yes configure:2490: checking whether to enable maintainer-specific portions of Makefiles configure:2499: result: no configure:2524: checking for style of include used by make configure:2552: result: GNU configure:2622: checking for gcc configure:2652: result: no configure:2719: checking for cc configure:2740: found /bin/cc configure:2763: result: cc configure:2887: checking for C compiler version configure:2894: cc --version >&5 Usage: cc [ options ] files ... configure:2897: $? = 1 configure:2904: cc -v >&5 Usage: cc [ options ] files ... configure:2907: $? = 1 configure:2914: cc -V >&5 SCO UNIX Development System Release 5.2.0A 18Feb03 Usage: cc [ options ] files ... configure:2917: $? = 1 configure:2940: checking for C compiler default output file name configure:2967: cc conftest.c >&5 configure:2970: $? = 0 configure:3008: result: a.out configure:3025: checking whether the C compiler works configure:3035: ./a.out configure:3038: $? = 0 configure:3055: result: yes configure:3062: checking whether we are cross compiling configure:3064: result: no configure:3067: checking for suffix of executables configure:3074: cc -o conftest conftest.c >&5 configure:3077: $? = 0 configure:3101: result: configure:3107: checking for suffix of object files configure:3133: cc -c conftest.c >&5 configure:3136: $? = 0 configure:3159: result: o configure:3163: checking whether we are using the GNU C compiler configure:3192: cc -c conftest.c >&5 "conftest.c", line 15: error: undefined symbol: choke "conftest.c", line 15: error: Syntax error before or at: me configure:3198: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "snort" | #define VERSION "2.8.2" | /* end confdefs.h. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:3215: result: no configure:3220: checking whether cc accepts -g configure:3250: cc -c -g conftest.c >&5 configure:3256: $? = 0 configure:3355: result: yes configure:3372: checking for cc option to accept ISO C89 configure:3446: cc -c -g conftest.c >&5 "conftest.c", line 44: warning: no macro replacement within a character constant "conftest.c", line 58: warning: statement not reached configure:3452: $? = 0 configure:3475: result: none needed configure:3495: checking dependency style of cc configure:3586: result: none configure:3647: checking for ranlib configure:3677: result: no configure:3707: checking for bison configure:3737: result: no configure:3707: checking for yacc configure:3723: found /bin/yacc configure:3734: result: yacc configure:3757: checking for flex configure:3787: result: no configure:3757: checking for lex configure:3773: found /bin/lex configure:3784: result: lex configure:4110: checking for C compiler version configure:4117: cc --version >&5 Usage: cc [ options ] files ... configure:4120: $? = 1 configure:4127: cc -v >&5 Usage: cc [ options ] files ... configure:4130: $? = 1 configure:4137: cc -V >&5 SCO UNIX Development System Release 5.2.0A 18Feb03 Usage: cc [ options ] files ... configure:4140: $? = 1 configure:4143: checking whether we are using the GNU C compiler configure:4195: result: no configure:4200: checking whether cc accepts -g configure:4335: result: yes configure:4352: checking for cc option to accept ISO C89 configure:4455: result: none needed configure:4475: checking dependency style of cc configure:4566: result: none configure:4659: checking build system type configure:4677: result: i686-pc-sco3.2v5.0.7 configure:4699: checking host system type configure:4714: result: i686-pc-sco3.2v5.0.7 configure:4736: checking for a sed that does not truncate output configure:4792: result: /bin/sed configure:4795: checking for grep that handles long lines and -e configure:4869: result: /bin/grep configure:4874: checking for egrep configure:4952: result: /bin/grep -E configure:5001: checking for non-GNU ld configure:5035: result: /bin/ld configure:5044: checking if the linker (/bin/ld) is GNU ld configure:5059: result: no configure:5064: checking for /bin/ld option to reload object files configure:5071: result: -r configure:5089: checking for BSD-compatible nm configure:5138: result: /bin/nm -p configure:5142: checking whether ln -s works configure:5146: result: yes configure:5153: checking how to recognise dependent libraries configure:5329: result: pass_all configure:5464: checking whether the C compiler needs -belf configure:5496: cc -o conftest -g -belf conftest.c >&5 configure:5502: $? = 0 configure:5525: result: yes configure:5563: checking how to run the C preprocessor configure:5603: cc -E conftest.c configure:5609: $? = 0 configure:5640: cc -E conftest.c "conftest.c", line 10: error: cannot find include file: <ac_nonexistent.h> configure:5646: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "snort" | #define VERSION "2.8.2" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:5679: result: cc -E configure:5708: cc -E conftest.c configure:5714: $? = 0 configure:5745: cc -E conftest.c "conftest.c", line 10: error: cannot find include file: <ac_nonexistent.h> configure:5751: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "snort" | #define VERSION "2.8.2" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:5789: checking for ANSI C header files configure:5819: cc -c -g -belf conftest.c >&5 configure:5825: $? = 0 configure:5924: cc -o conftest -g -belf conftest.c >&5 configure:5927: $? = 0 configure:5933: ./conftest configure:5936: $? = 0 configure:5953: result: yes configure:5977: checking for sys/types.h configure:5998: cc -c -g -belf conftest.c >&5 configure:6004: $? = 0 configure:6020: result: yes configure:5977: checking for sys/stat.h configure:5998: cc -c -g -belf conftest.c >&5 configure:6004: $? = 0 configure:6020: result: yes configure:5977: checking for stdlib.h configure:5998: cc -c -g -belf conftest.c >&5 configure:6004: $? = 0 configure:6020: result: yes configure:5977: checking for string.h configure:5998: cc -c -g -belf conftest.c >&5 configure:6004: $? = 0 configure:6020: result: yes configure:5977: checking for memory.h configure:5998: cc -c -g -belf conftest.c >&5 configure:6004: $? = 0 configure:6020: result: yes configure:5977: checking for strings.h configure:5998: cc -c -g -belf conftest.c >&5 configure:6004: $? = 0 configure:6020: result: yes configure:5977: checking for inttypes.h configure:5998: cc -c -g -belf conftest.c >&5 configure:6004: $? = 0 configure:6020: result: yes configure:5977: checking for stdint.h configure:5998: cc -c -g -belf conftest.c >&5 configure:6004: $? = 0 configure:6020: result: yes configure:5977: checking for unistd.h configure:5998: cc -c -g -belf conftest.c >&5 configure:6004: $? = 0 configure:6020: result: yes configure:6047: checking dlfcn.h usability configure:6064: cc -c -g -belf conftest.c >&5 configure:6070: $? = 0 configure:6084: result: yes configure:6088: checking dlfcn.h presence configure:6103: cc -E conftest.c configure:6109: $? = 0 configure:6123: result: yes configure:6151: checking for dlfcn.h configure:6159: result: yes configure:6230: checking for g++ configure:6260: result: no configure:6230: checking for c++ configure:6260: result: no configure:6230: checking for gpp configure:6260: result: no configure:6230: checking for aCC configure:6260: result: no configure:6230: checking for CC configure:6246: found /usr/bin/CC configure:6257: result: CC configure:6288: checking for C++ compiler version configure:6295: CC --version >&5 configure:6298: $? = 0 configure:6305: CC -v >&5 configure:6308: $? = 0 configure:6315: CC -V >&5 configure:6318: $? = 0 configure:6321: checking whether we are using the GNU C++ compiler configure:6350: CC -c conftest.cpp >&5 "conftest.cpp", line 26: error: choke me : choke is not a type name "conftest.cpp", line 29: error: me undefined "conftest.cpp", line 29: warning: result of name expression not used 2 errors configure:6356: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "snort" | #define VERSION "2.8.2" | #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 HAVE_DLFCN_H 1 | /* end confdefs.h. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:6373: result: no configure:6378: checking whether CC accepts -g configure:6408: CC -c -g conftest.cpp >&5 configure:6414: $? = 0 configure:6513: result: yes configure:6538: checking dependency style of CC configure:6629: result: none configure:6654: checking how to run the C++ preprocessor configure:6690: CC -E conftest.cpp configure:6696: $? = 0 configure:6727: CC -E conftest.cpp ac_nonexistent.h: No such file or directory cpp: line 21, Fatal error: Cannot open include file "ac_nonexistent.h" #include <ac_nonexistent.h> configure:6733: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "snort" | #define VERSION "2.8.2" | #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 HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:6766: result: CC -E configure:6795: CC -E conftest.cpp configure:6801: $? = 0 configure:6832: CC -E conftest.cpp ac_nonexistent.h: No such file or directory cpp: line 21, Fatal error: Cannot open include file "ac_nonexistent.h" #include <ac_nonexistent.h> configure:6838: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "snort" | #define VERSION "2.8.2" | #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 HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:6931: checking for g77 configure:6961: result: no configure:6931: checking for xlf configure:6961: result: no configure:6931: checking for f77 configure:6961: result: no configure:6931: checking for frt configure:6961: result: no configure:6931: checking for pgf77 configure:6961: result: no configure:6931: checking for cf77 configure:6961: result: no configure:6931: checking for fort77 configure:6961: result: no configure:6931: checking for fl32 configure:6961: result: no configure:6931: checking for af77 configure:6961: result: no configure:6931: checking for xlf90 configure:6961: result: no configure:6931: checking for f90 configure:6961: result: no configure:6931: checking for pgf90 configure:6961: result: no configure:6931: checking for pghpf configure:6961: result: no configure:6931: checking for epcf90 configure:6961: result: no configure:6931: checking for gfortran configure:6961: result: no configure:6931: checking for g95 configure:6961: result: no configure:6931: checking for xlf95 configure:6961: result: no configure:6931: checking for f95 configure:6961: result: no configure:6931: checking for fort configure:6961: result: no configure:6931: checking for ifort configure:6961: result: no configure:6931: checking for ifc configure:6961: result: no configure:6931: checking for efc configure:6961: result: no configure:6931: checking for pgf95 configure:6961: result: no configure:6931: checking for lf95 configure:6961: result: no configure:6931: checking for ftn configure:6961: result: no configure:6988: checking for Fortran 77 compiler version configure:6995: --version >&5 ./configure[6996]: --version: not found configure:6998: $? = 1 configure:7005: -v >&5 ./configure[7006]: -v: not found configure:7008: $? = 1 configure:7015: -V >&5 ./configure[7016]: -V: not found configure:7018: $? = 1 configure:7026: checking whether we are using the GNU Fortran 77 compiler configure:7045: -c conftest.F >&5 ./configure[7046]: -c: not found configure:7051: $? = 1 configure: failed program was: | program main | #ifndef __GNUC__ | choke me | #endif | | end configure:7068: result: no configure:7074: checking whether accepts -g configure:7091: -c -g conftest.f >&5 ./configure[7092]: -c: not found configure:7097: $? = 1 configure: failed program was: | program main | | end configure:7113: result: no configure:7143: checking the maximum length of command line arguments configure:7252: result: 102400 configure:7263: checking command to parse /bin/nm -p output from cc object configure:7368: cc -c -g -belf conftest.c >&5 configure:7371: $? = 0 configure:7375: /bin/nm -p conftest.o \| sed -n -e 's/^.*[ ]\([DT][DT]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm configure:7378: $? = 0 configure:7430: cc -o conftest -g -belf conftest.c conftstm.o >&5 configure:7433: $? = 0 configure:7471: result: ok configure:7475: checking for objdir configure:7490: result: .libs configure:7582: checking for ar configure:7598: found /bin/ar configure:7609: result: ar configure:7678: checking for ranlib configure:7705: result: : configure:7774: checking for strip configure:7790: found /bin/strip configure:7801: result: strip configure:8137: checking for cc option to produce PIC configure:8347: result: -KPIC configure:8355: checking if cc PIC flag -KPIC works configure:8373: cc -c -g -belf -KPIC -DPIC conftest.c >&5 configure:8377: $? = 0 configure:8390: result: yes configure:8418: checking if cc static flag -Bstatic works configure:8446: result: yes configure:8456: checking if cc supports -c -o file.o configure:8477: cc -c -g -belf -o out/conftest2.o conftest.c >&5 configure:8481: $? = 0 configure:8503: result: yes configure:8529: checking whether the cc linker (/bin/ld) supports shared libraries configure:9483: result: yes configure:9550: checking dynamic linker characteristics configure:10159: result: sco3.2v5.0.7 ld.so configure:10168: checking how to hardcode library paths into programs configure:10193: result: immediate configure:10207: checking whether stripping libraries is possible configure:10228: result: no configure:11013: checking if libtool supports shared libraries configure:11015: result: yes configure:11018: checking whether to build shared libraries configure:11039: result: yes configure:11042: checking whether to build static libraries configure:11046: result: yes configure:11138: creating libtool configure:11868: checking whether the CC linker (/bin/ld) supports shared libraries configure:12802: result: yes configure:12820: CC -c -g conftest.cpp >&5 configure:12823: $? = 0 configure:12942: checking for CC option to produce PIC configure:13216: result: -KPIC configure:13224: checking if CC PIC flag -KPIC works configure:13242: CC -c -g -KPIC -DPIC conftest.cpp >&5 configure:13246: $? = 0 configure:13259: result: yes configure:13287: checking if CC static flag -Bstatic works configure:13315: result: yes configure:13325: checking if CC supports -c -o file.o configure:13346: CC -c -g -o out/conftest2.o conftest.cpp >&5 configure:13350: $? = 0 configure:13372: result: no configure:13398: checking whether the CC linker (/bin/ld) supports shared libraries configure:13423: result: yes configure:13490: checking dynamic linker characteristics configure:14099: result: sco3.2v5.0.7 ld.so configure:14108: checking how to hardcode library paths into programs configure:14133: result: immediate configure:20356: checking whether byte ordering is bigendian configure:20389: cc -c -g -belf conftest.c >&5 "conftest.c", line 28: error: undefined symbol: bogus "conftest.c", line 28: error: Syntax error before or at: endian configure:20395: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "snort" | #define VERSION "2.8.2" | #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 HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #include <sys/types.h> | #include <sys/param.h> | | int | main () | { | #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) | bogus endian macros | #endif | | ; | return 0; | } configure:20542: cc -o conftest -g -belf conftest.c >&5 "conftest.c", line 68: warning: statement not reached configure:20545: $? = 0 configure:20551: ./conftest configure:20554: $? = 0 configure:20573: result: no configure:20748: checking for sparc alignment configure:20759: result: no configure:20845: checking for strings.h configure:20851: result: yes configure:20985: checking for string.h configure:20991: result: yes configure:21125: checking for stdlib.h configure:21131: result: yes configure:21265: checking for unistd.h configure:21271: result: yes configure:21415: checking sys/sockio.h usability configure:21432: cc -c -g -belf conftest.c >&5 "conftest.c", line 58: error: cannot find include file: <sys/sockio.h> configure:21438: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "snort" | #define VERSION "2.8.2" | #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 HAVE_DLFCN_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | #include <sys/sockio.h> configure:21452: result: no configure:21456: checking sys/sockio.h presence configure:21471: cc -E conftest.c "conftest.c", line 25: error: cannot find include file: <sys/sockio.h> configure:21477: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "snort" | #define VERSION "2.8.2" | #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 HAVE_DLFCN_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include <sys/sockio.h> configure:21491: result: no configure:21519: checking for sys/sockio.h configure:21527: result: no configure:21555: checking paths.h usability configure:21572: cc -c -g -belf conftest.c >&5 configure:21578: $? = 0 configure:21592: result: yes configure:21596: checking paths.h presence configure:21611: cc -E conftest.c configure:21617: $? = 0 configure:21631: result: yes configure:21659: checking for paths.h configure:21667: result: yes configure:21685: checking for inttypes.h configure:21691: result: yes configure:21836: checking wchar.h usability configure:21853: cc -c -g -belf conftest.c >&5 configure:21859: $? = 0 configure:21873: result: yes configure:21877: checking wchar.h presence configure:21892: cc -E conftest.c configure:21898: $? = 0 configure:21912: result: yes configure:21940: checking for wchar.h configure:21948: result: yes configure:21963: checking for inet_ntoa in -lnsl configure:21998: cc -o conftest -g -belf conftest.c -lnsl >&5 "conftest.c", line 41: warning: statement not reached Undefined first referenced symbol in file inet_ntoa conftest.o ERROR: Symbol referencing errors. No output written to conftest configure:22004: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "snort" | #define VERSION "2.8.2" | #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 HAVE_DLFCN_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_PATHS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_WCHAR_H 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char inet_ntoa (); | int | main () | { | return inet_ntoa (); | ; | return 0; | } configure:22022: result: no configure:22037: checking for socket in -lsocket configure:22072: cc -o conftest -g -belf conftest.c -lsocket >&5 "conftest.c", line 41: warning: statement not reached configure:22078: $? = 0 configure:22096: result: yes configure:22329: checking whether printf must be declared configure:22372: cc -c -g -belf conftest.c >&5 configure:22378: $? = 0 configure:22406: result: no configure:22329: checking whether fprintf must be declared configure:22372: cc -c -g -belf conftest.c >&5 configure:22378: $? = 0 configure:22406: result: no configure:22329: checking whether syslog must be declared configure:22372: cc -c -g -belf conftest.c >&5 configure:22378: $? = 0 configure:22406: result: no configure:22329: checking whether puts must be declared configure:22372: cc -c -g -belf conftest.c >&5 configure:22378: $? = 0 configure:22406: result: no configure:22329: checking whether fputs must be declared configure:22372: cc -c -g -belf conftest.c >&5 configure:22378: $? = 0 configure:22406: result: no configure:22329: checking whether fputc must be declared configure:22372: cc -c -g -belf conftest.c >&5 configure:22378: $? = 0 configure:22406: result: no configure:22329: checking whether fopen must be declared configure:22372: cc -c -g -belf conftest.c >&5 configure:22378: $? = 0 configure:22406: result: no configure:22329: checking whether fclose must be declared configure:22372: cc -c -g -belf conftest.c >&5 configure:22378: $? = 0 configure:22406: result: no configure:22329: checking whether fwrite must be declared configure:22372: cc -c -g -belf conftest.c >&5 configure:22378: $? = 0 configure:22406: result: no configure:22329: checking whether fflush must be declared configure:22372: cc -c -g -belf conftest.c >&5 configure:22378: $? = 0 configure:22406: result: no configure:22329: checking whether getopt must be declared configure:22372: cc -c -g -belf conftest.c >&5 configure:22378: $? = 0 configure:22406: result: no configure:22329: checking whether bzero must be declared configure:22372: cc -c -g -belf conftest.c >&5 configure:22378: $? = 0 configure:22406: result: no configure:22329: checking whether bcopy must be declared configure:22372: cc -c -g -belf conftest.c >&5 configure:22378: $? = 0 configure:22406: result: no configure:22329: checking whether memset must be declared configure:22372: cc -c -g -belf conftest.c >&5 configure:22378: $? = 0 configure:22406: result: no configure:22329: checking whether strtol must be declared configure:22372: cc -c -g -belf conftest.c >&5 configure:22378: $? = 0 configure:22406: result: no configure:22329: checking whether strcasecmp must be declared configure:22372: cc -c -g -belf conftest.c >&5 configure:22378: $? = 0 configure:22406: result: no configure:22329: checking whether strncasecmp must be declared configure:22372: cc -c -g -belf conftest.c >&5 configure:22378: $? = 0 configure:22406: result: no configure:22329: checking whether strerror must be declared configure:22372: cc -c -g -belf conftest.c >&5 configure:22378: $? = 0 configure:22406: result: no configure:22329: checking whether perror must be declared configure:22372: cc -c -g -belf conftest.c >&5 configure:22378: $? = 0 configure:22406: result: no configure:22329: checking whether socket must be declared configure:22372: cc -c -g -belf conftest.c >&5 configure:22378: $? = 0 configure:22406: result: no configure:22329: checking whether sendto must be declared configure:22372: cc -c -g -belf conftest.c >&5 configure:22378: $? = 0 configure:22406: result: no configure:22329: checking whether vsnprintf must be declared configure:22372: cc -c -g -belf conftest.c >&5 configure:22378: $? = 0 configure:22406: result: no configure:22329: checking whether snprintf must be declared configure:22372: cc -c -g -belf conftest.c >&5 configure:22378: $? = 0 configure:22406: result: no configure:22329: checking whether strtoul must be declared configure:22372: cc -c -g -belf conftest.c >&5 configure:22378: $? = 0 configure:22406: result: no configure:22417: checking for snprintf configure:22473: cc -o conftest -g -belf conftest.c -lsocket >&5 "conftest.c", line 65: warning: statement not reached configure:22479: $? = 0 configure:22497: result: yes configure:22511: checking for strlcpy configure:22567: cc -o conftest -g -belf conftest.c -lsocket >&5 "conftest.c", line 66: warning: statement not reached configure:22573: $? = 0 configure:22591: result: yes configure:22605: checking for strlcat configure:22661: cc -o conftest -g -belf conftest.c -lsocket >&5 "conftest.c", line 67: warning: statement not reached configure:22667: $? = 0 configure:22685: result: yes configure:22699: checking for strerror configure:22755: cc -o conftest -g -belf conftest.c -lsocket >&5 "conftest.c", line 68: warning: statement not reached configure:22761: $? = 0 configure:22779: result: yes configure:22793: checking for vswprintf configure:22849: cc -o conftest -g -belf conftest.c -lsocket >&5 "conftest.c", line 69: warning: statement not reached configure:22855: $? = 0 configure:22873: result: yes configure:22887: checking for wprintf configure:22943: cc -o conftest -g -belf conftest.c -lsocket >&5 "conftest.c", line 70: warning: statement not reached configure:22949: $? = 0 configure:22967: result: yes configure:22978: checking for sizeof(unsigned long) configure:23013: cc -o conftest -g -belf conftest.c -lsocket >&5 "conftest.c", line 46: warning: statement not reached configure:23016: $? = 0 configure:23022: ./conftest configure:23025: $? = 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 "snort" | #define VERSION "2.8.2" | #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 HAVE_DLFCN_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_PATHS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LIBSOCKET 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRERROR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_WPRINTF 1 | /* end confdefs.h. */ | | int | main () | { | | if (sizeof(unsigned long) == 8) | return 0; | | return 1; | | ; | return 0; | } configure:23049: result: 32 bits configure:23076: cc -c -g -belf conftest.c >&5 "conftest.c", line 41: error: undefined symbol: sys_errlist "conftest.c", line 41: error: cannot dereference non-pointer type "conftest.c", line 41: warning: improper pointer/integer combination: op "=" configure:23082: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "snort" | #define VERSION "2.8.2" | #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 HAVE_DLFCN_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_PATHS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LIBSOCKET 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRERROR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_WPRINTF 1 | /* end confdefs.h. */ | | #include <stdio.h> | | int | main () | { | char *foo; foo = sys_errlist[0]; | ; | return 0; | } configure:23101: checking for __FUNCTION__ configure:23126: cc -c -g -belf conftest.c >&5 "conftest.c", line 41: error: undefined symbol: __FUNCTION__ configure:23132: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "snort" | #define VERSION "2.8.2" | #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 HAVE_DLFCN_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_PATHS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LIBSOCKET 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRERROR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_WPRINTF 1 | /* end confdefs.h. */ | | #include <stdio.h> | | int | main () | { | printf ("%s", __FUNCTION__); | ; | return 0; | } configure:23155: result: no configure:23157: checking for __func__ configure:23182: cc -c -g -belf conftest.c >&5 "conftest.c", line 41: error: undefined symbol: __func__ configure:23188: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "snort" | #define VERSION "2.8.2" | #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 HAVE_DLFCN_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_PATHS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LIBSOCKET 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRERROR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_WPRINTF 1 | /* end confdefs.h. */ | | #include <stdio.h> | | int | main () | { | printf ("%s", __func__); | ; | return 0; | } configure:23216: result: no configure:23292: checking for floor in -lm configure:23327: cc -o conftest -g -belf conftest.c -lm -lsocket >&5 "conftest.c", line 49: warning: statement not reached configure:23333: $? = 0 configure:23351: result: yes configure:23365: checking for pcap_datalink in -lpcap configure:23400: cc -o conftest -g -belf conftest.c -lpcap -lm -lsocket >&5 "conftest.c", line 50: warning: statement not reached ERROR: library not found: -lpcap configure:23406: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "snort" | #define VERSION "2.8.2" | #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 HAVE_DLFCN_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_PATHS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LIBSOCKET 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRERROR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_WPRINTF 1 | #define __FUNCTION__ "mystery function" | #define HAVE_LIBM 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char pcap_datalink (); | int | main () | { | return pcap_datalink (); | ; | return 0; | } configure:23424: result: no configure:23457: checking pfring.h usability configure:23474: cc -c -g -belf conftest.c >&5 "conftest.c", line 70: error: cannot find include file: <pfring.h> configure:23480: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "snort" | #define VERSION "2.8.2" | #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 HAVE_DLFCN_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_PATHS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LIBSOCKET 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRERROR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_WPRINTF 1 | #define __FUNCTION__ "mystery function" | #define HAVE_LIBM 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | #include <pfring.h> configure:23494: result: no configure:23498: checking pfring.h presence configure:23513: cc -E conftest.c "conftest.c", line 37: error: cannot find include file: <pfring.h> configure:23519: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "snort" | #define VERSION "2.8.2" | #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 HAVE_DLFCN_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_PATHS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LIBSOCKET 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRERROR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_WPRINTF 1 | #define __FUNCTION__ "mystery function" | #define HAVE_LIBM 1 | /* end confdefs.h. */ | #include <pfring.h> configure:23533: result: no configure:23561: checking for pfring.h configure:23569: result: no configure:23593: checking for pfring_open in -lpfring configure:23628: cc -o conftest -g -belf conftest.c -lpfring -lm -lsocket >&5 "conftest.c", line 50: warning: statement not reached ERROR: library not found: -lpfring configure:23634: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "snort" | #define VERSION "2.8.2" | #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 HAVE_DLFCN_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_PATHS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LIBSOCKET 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRERROR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_WPRINTF 1 | #define __FUNCTION__ "mystery function" | #define HAVE_LIBM 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char pfring_open (); | int | main () | { | return pfring_open (); | ; | return 0; | } configure:23652: result: no configure:23668: checking for pfring_open in -lpcap configure:23703: cc -o conftest -g -belf conftest.c -lpcap -lpfring -lm -lsocket >&5 "conftest.c", line 50: warning: statement not reached ERROR: library not found: -lpcap configure:23709: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "snort" | #define VERSION "2.8.2" | #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 HAVE_DLFCN_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_PATHS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_LIBSOCKET 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRLCAT 1 | #define HAVE_STRERROR 1 | #define HAVE_VSWPRINTF 1 | #define HAVE_WPRINTF 1 | #define __FUNCTION__ "mystery function" | #define HAVE_LIBM 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char pfring_open (); | int | main () | { | return pfring_open (); | ; | return 0; | } configure:23727: result: no ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-sco3.2v5.0.7 ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=no ac_cv_cxx_compiler_gnu=no ac_cv_env_CCC_set='' ac_cv_env_CCC_value='' ac_cv_env_CC_set='' ac_cv_env_CC_value='' ac_cv_env_CFLAGS_set='' ac_cv_env_CFLAGS_value='' ac_cv_env_CPPFLAGS_set='' ac_cv_env_CPPFLAGS_value='' ac_cv_env_CPP_set='' ac_cv_env_CPP_value='' ac_cv_env_CXXCPP_set='' ac_cv_env_CXXCPP_value='' ac_cv_env_CXXFLAGS_set='' ac_cv_env_CXXFLAGS_value='' ac_cv_env_CXX_set='' ac_cv_env_CXX_value='' ac_cv_env_F77_set='' ac_cv_env_F77_value='' ac_cv_env_FFLAGS_set='' ac_cv_env_FFLAGS_value='' ac_cv_env_LDFLAGS_set='' ac_cv_env_LDFLAGS_value='' ac_cv_env_LIBS_set='' ac_cv_env_LIBS_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_f77_compiler_gnu=no ac_cv_func_snprintf=yes ac_cv_func_strerror=yes ac_cv_func_strlcat=yes ac_cv_func_strlcpy=yes ac_cv_func_vswprintf=yes ac_cv_func_wprintf=yes ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_paths_h=yes ac_cv_header_pfring_h=no ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_sockio_h=no ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_header_wchar_h=yes ac_cv_host=i686-pc-sco3.2v5.0.7 ac_cv_lib_m_floor=yes ac_cv_lib_nsl_inet_ntoa=no ac_cv_lib_pcap_pcap_datalink=no ac_cv_lib_pcap_pfring_open=no ac_cv_lib_pfring_pfring_open=no ac_cv_lib_socket_socket=yes ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_GREP=/bin/grep ac_cv_prog_AWK=nawk ac_cv_prog_CC=cc ac_cv_prog_CPP='cc -E' ac_cv_prog_CXXCPP='CC -E' ac_cv_prog_LEX=lex ac_cv_prog_YACC=yacc ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CXX=CC ac_cv_prog_ac_ct_RANLIB=: ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89='' ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ac_cv_prog_f77_g=no ac_cv_prog_make_make_set=yes am_cv_CC_dependencies_compiler_type=none am_cv_CXX_dependencies_compiler_type=none am_cv_prog_cc_stdc='' lt_cv_cc_needs_belf=yes lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file='' lt_cv_ld_reload_flag=-r lt_cv_objdir=.libs lt_cv_path_LD=/bin/ld lt_cv_path_LDCXX='' lt_cv_path_NM='/bin/nm -p' lt_cv_path_SED=/bin/sed lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=no lt_cv_prog_gnu_ld=no lt_cv_prog_gnu_ldcxx='' lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([DT][DT]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern int \1;/p'\' lt_cv_sys_max_cmd_len=102400 lt_lt_cv_prog_compiler_c_o='"yes"' lt_lt_cv_prog_compiler_c_o_CXX='"no"' lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[ ]\\([DT][DT]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'\''"' lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'\''"' lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .* \\(.*\\)\$/extern int \\1;/p'\''"' sn_cv__have___FUNCTION__=no sn_cv__have___func__=no sn_cv_decl_needed_bcopy=no sn_cv_decl_needed_bzero=no sn_cv_decl_needed_fclose=no sn_cv_decl_needed_fflush=no sn_cv_decl_needed_fopen=no sn_cv_decl_needed_fprintf=no sn_cv_decl_needed_fputc=no sn_cv_decl_needed_fputs=no sn_cv_decl_needed_fwrite=no sn_cv_decl_needed_getopt=no sn_cv_decl_needed_memset=no sn_cv_decl_needed_perror=no sn_cv_decl_needed_printf=no sn_cv_decl_needed_puts=no sn_cv_decl_needed_sendto=no sn_cv_decl_needed_snprintf=no sn_cv_decl_needed_socket=no sn_cv_decl_needed_strcasecmp=no sn_cv_decl_needed_strerror=no sn_cv_decl_needed_strncasecmp=no sn_cv_decl_needed_strtol=no sn_cv_decl_needed_strtoul=no sn_cv_decl_needed_syslog=no sn_cv_decl_needed_vsnprintf=no ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /Tools/snort-2.8.2/missing --run aclocal-1.10' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /Tools/snort-2.8.2/missing --run tar' AR='ar' AUTOCONF='${SHELL} /Tools/snort-2.8.2/missing --run autoconf' AUTOHEADER='${SHELL} /Tools/snort-2.8.2/missing --run autoheader' AUTOMAKE='${SHELL} /Tools/snort-2.8.2/missing --run automake-1.10' AWK='nawk' CC='cc' CCDEPMODE='depmode=none' CFLAGS='-g -belf' CPP='cc -E' CPPFLAGS='' CXX='CC' CXXCPP='CC -E' CXXDEPMODE='depmode=none' CXXFLAGS='-g' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' ECHO='print -r' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' F77='' FFLAGS='' GREP='/bin/grep' HAVE_DYNAMIC_PLUGINS_FALSE='' HAVE_DYNAMIC_PLUGINS_TRUE='' HAVE_TARGET_BASED_FALSE='' HAVE_TARGET_BASED_TRUE='' INCLUDES='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LDFLAGS='' LEX='lex' LIBOBJS='' LIBPRELUDE_CFLAGS='' LIBPRELUDE_CONFIG='' LIBPRELUDE_CONFIG_PREFIX='' LIBPRELUDE_LDFLAGS='' LIBPRELUDE_LIBS='' LIBPRELUDE_PREFIX='' LIBPRELUDE_PTHREAD_CFLAGS='' LIBS='-lm -lsocket ' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LN_S='ln -s' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /Tools/snort-2.8.2/missing --run makeinfo' OBJEXT='o' PACKAGE='snort' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' RANLIB=':' SED='/bin/sed' SET_MAKE='' SHELL='/bin/sh' STRIP='strip' VERSION='2.8.2' YACC='yacc' ac_ct_CC='' ac_ct_CXX='CC' ac_ct_F77='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='#' am__include='include' am__isrc='' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='i686-pc-sco3.2v5.0.7' build_alias='' build_cpu='i686' build_os='sco3.2v5.0.7' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='NONE' extra_incl='' host='i686-pc-sco3.2v5.0.7' host_alias='' host_cpu='i686' host_os='sco3.2v5.0.7' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='$(SHELL) /Tools/snort-2.8.2/install-sh' libdir='/usr/local/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(top_builddir)/./install-sh -c -d' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='NONE' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE "snort" #define VERSION "2.8.2" #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 HAVE_DLFCN_H 1 #define HAVE_STRINGS_H 1 #define HAVE_STRING_H 1 #define HAVE_STDLIB_H 1 #define HAVE_UNISTD_H 1 #define HAVE_PATHS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_WCHAR_H 1 #define HAVE_LIBSOCKET 1 #define HAVE_SNPRINTF 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 #define HAVE_STRERROR 1 #define HAVE_VSWPRINTF 1 #define HAVE_WPRINTF 1 #define __FUNCTION__ "mystery function" #define HAVE_LIBM 1 configure: exit 0 sufei7099 2008-06-16 发件人: Guy Harris 发送时间: 2008-06-14 02:22:14 收件人: tcpdump-workers () lists tcpdump org 抄送: 主题: Re: [tcpdump-workers] SCO libpcap sufei7099 wrote:
I add the #incude <sys/types.h > in file.h,
I.e., you changed /usr/include/sys/file.h to include <sys/types.h >? Does /usr/include/sys/param.h include <sys/types.h > on your system?
then i make successfully. After i run make install, the result is : # make install
...
rm -f /usr/local/include/pcap-bpf.h rm -f /usr/local/include/pcap.h rm -f /usr/local/include/pcap-namedb.h cp pcap.h /usr/local/include cp pcap-bpf.h /usr/local/include cp pcap-namedb.h /usr/local/include
...
It meana i install the libpcap successfully. right?
Yes.
But when I run ./configure in snort directory, the result is :
...
checking for pcap_datalink in -lpcap... no checking pfring.h usability... no checking pfring.h presence... no checking for pfring.h... no checking for pfring_open in -lpfring... no checking for pfring_open in -lpcap... no ERROR! Libpcap library/headers (libpcap.a (or .so)/pcap.h) not found, go get it from http://www.tcpdump.org or use the --with-libpcap-* options, if you have it installed in unusual place. Also check if your libpcap depends on another shared library that may be installed in an unusual place
Presumably snort wrote out a config.log file; what are the contents of that file? - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe. - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- Re: SCO libpcap, (continued)
- Re: SCO libpcap Guy Harris (Jun 11)
- Re: SCO libpcap sufei7099 (Jun 11)
- Re: SCO libpcap Guy Harris (Jun 12)
- Re: SCO libpcap sufei7099 (Jun 12)
- Re: SCO libpcap Guy Harris (Jun 13)
- Re: SCO libpcap sufei7099 (Jun 13)
- Re: SCO libpcap Guy Harris (Jun 13)
- Re: SCO libpcap sufei7099 (Jun 16)
- Re: SCO libpcap sufei7099 (Jun 13)
- Re: SCO libpcap Guy Harris (Jun 13)
- Re: SCO libpcap sufei7099 (Jun 16)
- Re: SCO libpcap sufei7099 (Jun 16)
- Re: SCO libpcap sufei7099 (Jun 17)
- Re: SCO libpcap sufei7099 (Jun 22)
- Re: SCO libpcap sufei7099 (Jun 13)
- Re: SCO libpcap sufei7099 (Jun 17)