This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by shadowsocks-libev configure 2.4.3, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 --disable-assert --with-crypto-library=openssl ## --------- ## ## Platform. ## ## --------- ## hostname = ms-magpie uname -m = x86_64 uname -r = 4.4.6-hardened uname -s = Linux uname -v = #1 SMP Wed Mar 23 18:12:31 CET 2016 /usr/bin/uname -p = Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz /bin/uname -X = unknown /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: /usr/lib/portage/python2.7/ebuild-helpers/xattr PATH: /usr/lib/portage/python2.7/ebuild-helpers PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /opt/bin PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/5.3.0 PATH: /usr/x86_64-pc-linux-gnu/gnat-gcc-bin/4.6 PATH: /usr/libexec/gnat-gcc/x86_64-pc-linux-gnu/4.6 PATH: /opt/aws-as-tools/bin PATH: /opt/aws-rds-tools/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2465: checking for x86_64-pc-linux-gnu-gcc configure:2481: found /usr/bin/x86_64-pc-linux-gnu-gcc configure:2492: result: x86_64-pc-linux-gnu-gcc configure:2761: checking for C compiler version configure:2770: x86_64-pc-linux-gnu-gcc --version >&5 x86_64-pc-linux-gnu-gcc (Gentoo 5.3.0 p1.0, pie-0.6.5) 5.3.0 Copyright (C) 2015 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:2781: $? = 0 configure:2770: x86_64-pc-linux-gnu-gcc -v >&5 Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/5.3.0/x86_64-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/5.3.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-5.3.0/work/gcc-5.3.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/5.3.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.3.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.3.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.3.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include/g++-v5 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/5.3.0/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 5.3.0 p1.0, pie-0.6.5' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --enable-lto --without-isl --enable-libsanitizer Thread model: posix gcc version 5.3.0 (Gentoo 5.3.0 p1.0, pie-0.6.5) configure:2781: $? = 0 configure:2770: x86_64-pc-linux-gnu-gcc -V >&5 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V' x86_64-pc-linux-gnu-gcc: fatal error: no input files compilation terminated. configure:2781: $? = 1 configure:2770: x86_64-pc-linux-gnu-gcc -qversion >&5 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion' x86_64-pc-linux-gnu-gcc: fatal error: no input files compilation terminated. configure:2781: $? = 1 configure:2801: checking whether the C compiler works configure:2823: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:2827: $? = 0 configure:2875: result: yes configure:2878: checking for C compiler default output file name configure:2880: result: a.out configure:2886: checking for suffix of executables configure:2893: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:2897: $? = 0 configure:2919: result: configure:2941: checking whether we are cross compiling configure:2949: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:2953: $? = 0 configure:2960: ./conftest configure:2964: $? = 0 configure:2979: result: no configure:2984: checking for suffix of object files configure:3006: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:3010: $? = 0 configure:3031: result: o configure:3035: checking whether we are using the GNU C compiler configure:3054: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:3054: $? = 0 configure:3063: result: yes configure:3072: checking whether x86_64-pc-linux-gnu-gcc accepts -g configure:3092: x86_64-pc-linux-gnu-gcc -c -g conftest.c >&5 configure:3092: $? = 0 configure:3133: result: yes configure:3150: checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89 configure:3213: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:3213: $? = 0 configure:3226: result: none needed configure:3252: checking how to run the C preprocessor configure:3283: x86_64-pc-linux-gnu-gcc -E conftest.c configure:3283: $? = 0 configure:3297: x86_64-pc-linux-gnu-gcc -E conftest.c conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:3297: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "shadowsocks-libev" | #define PACKAGE_TARNAME "shadowsocks-libev" | #define PACKAGE_VERSION "2.4.3" | #define PACKAGE_STRING "shadowsocks-libev 2.4.3" | #define PACKAGE_BUGREPORT "max.c.lv@gmail.com" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include configure:3322: result: x86_64-pc-linux-gnu-gcc -E configure:3342: x86_64-pc-linux-gnu-gcc -E conftest.c configure:3342: $? = 0 configure:3356: x86_64-pc-linux-gnu-gcc -E conftest.c conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:3356: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "shadowsocks-libev" | #define PACKAGE_TARNAME "shadowsocks-libev" | #define PACKAGE_VERSION "2.4.3" | #define PACKAGE_STRING "shadowsocks-libev 2.4.3" | #define PACKAGE_BUGREPORT "max.c.lv@gmail.com" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include configure:3385: checking for grep that handles long lines and -e configure:3443: result: /bin/grep configure:3448: checking for egrep configure:3510: result: /bin/grep -E configure:3515: checking for ANSI C header files configure:3535: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:3535: $? = 0 configure:3608: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:3608: $? = 0 configure:3608: ./conftest configure:3608: $? = 0 configure:3619: result: yes configure:3632: checking for sys/types.h configure:3632: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:3632: $? = 0 configure:3632: result: yes configure:3632: checking for sys/stat.h configure:3632: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:3632: $? = 0 configure:3632: result: yes configure:3632: checking for stdlib.h configure:3632: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:3632: $? = 0 configure:3632: result: yes configure:3632: checking for string.h configure:3632: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:3632: $? = 0 configure:3632: result: yes configure:3632: checking for memory.h configure:3632: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:3632: $? = 0 configure:3632: result: yes configure:3632: checking for strings.h configure:3632: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:3632: $? = 0 configure:3632: result: yes configure:3632: checking for inttypes.h configure:3632: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:3632: $? = 0 configure:3632: result: yes configure:3632: checking for stdint.h configure:3632: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:3632: $? = 0 configure:3632: result: yes configure:3632: checking for unistd.h configure:3632: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:3632: $? = 0 configure:3632: result: yes configure:3645: checking minix/config.h usability configure:3645: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 conftest.c:52:26: fatal error: minix/config.h: No such file or directory compilation terminated. configure:3645: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "shadowsocks-libev" | #define PACKAGE_TARNAME "shadowsocks-libev" | #define PACKAGE_VERSION "2.4.3" | #define PACKAGE_STRING "shadowsocks-libev 2.4.3" | #define PACKAGE_BUGREPORT "max.c.lv@gmail.com" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:3645: result: no configure:3645: checking minix/config.h presence configure:3645: x86_64-pc-linux-gnu-gcc -E conftest.c conftest.c:19:26: fatal error: minix/config.h: No such file or directory compilation terminated. configure:3645: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "shadowsocks-libev" | #define PACKAGE_TARNAME "shadowsocks-libev" | #define PACKAGE_VERSION "2.4.3" | #define PACKAGE_STRING "shadowsocks-libev 2.4.3" | #define PACKAGE_BUGREPORT "max.c.lv@gmail.com" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include configure:3645: result: no configure:3645: checking for minix/config.h configure:3645: result: no configure:3666: checking whether it is safe to define __EXTENSIONS__ configure:3684: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:3684: $? = 0 configure:3691: result: yes configure:3722: checking for a BSD-compatible install configure:3790: result: /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c configure:3801: checking whether build environment is sane configure:3851: result: yes configure:3992: checking for a thread-safe mkdir -p configure:4031: result: /bin/mkdir -p configure:4044: checking for gawk configure:4060: found /usr/bin/gawk configure:4071: result: gawk configure:4082: checking whether make sets $(MAKE) configure:4104: result: yes configure:4134: checking for style of include used by make configure:4162: result: GNU configure:4248: checking dependency style of x86_64-pc-linux-gnu-gcc configure:4359: result: none configure:4380: checking for x86_64-pc-linux-gnu-ar configure:4396: found /usr/bin/x86_64-pc-linux-gnu-ar configure:4407: result: x86_64-pc-linux-gnu-ar configure:4477: checking the archiver (x86_64-pc-linux-gnu-ar) interface configure:4487: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:4487: $? = 0 configure:4489: x86_64-pc-linux-gnu-ar cru libconftest.a conftest.o >&5 configure:4492: $? = 0 configure:4515: result: ar configure:4546: checking whether make supports nested variables configure:4563: result: yes configure:4575: checking whether to enable maintainer-specific portions of Makefiles configure:4584: result: no configure:4708: checking build system type configure:4722: result: x86_64-pc-linux-gnu configure:4742: checking host system type configure:4755: result: x86_64-pc-linux-gnu configure:4796: checking how to print strings configure:4823: result: printf configure:4844: checking for a sed that does not truncate output configure:4908: result: /bin/sed configure:4926: checking for fgrep configure:4988: result: /bin/grep -F configure:5023: checking for ld used by x86_64-pc-linux-gnu-gcc configure:5090: result: /usr/x86_64-pc-linux-gnu/bin/ld configure:5097: checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld configure:5112: result: yes configure:5124: checking for BSD- or MS-compatible name lister (nm) configure:5173: result: /usr/bin/nm -B configure:5303: checking the name lister (/usr/bin/nm -B) interface configure:5310: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:5313: /usr/bin/nm -B "conftest.o" configure:5316: output 0000000000000000 B some_variable configure:5323: result: BSD nm configure:5326: checking whether ln -s works configure:5330: result: yes configure:5338: checking the maximum length of command line arguments configure:5468: result: 1572864 configure:5485: checking whether the shell understands some XSI constructs configure:5495: result: yes configure:5499: checking whether the shell understands "+=" configure:5505: result: yes configure:5540: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format configure:5580: result: func_convert_file_noop configure:5587: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:5607: result: func_convert_file_noop configure:5614: checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files configure:5621: result: -r configure:5655: checking for x86_64-pc-linux-gnu-objdump configure:5671: found /usr/bin/x86_64-pc-linux-gnu-objdump configure:5682: result: x86_64-pc-linux-gnu-objdump configure:5754: checking how to recognize dependent libraries configure:5952: result: pass_all configure:5997: checking for x86_64-pc-linux-gnu-dlltool configure:6027: result: no configure:6037: checking for dlltool configure:6067: result: no configure:6097: checking how to associate runtime and link libraries configure:6124: result: printf %s\n configure:6140: checking for x86_64-pc-linux-gnu-ar configure:6167: result: x86_64-pc-linux-gnu-ar configure:6248: checking for archiver @FILE support configure:6265: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:6265: $? = 0 configure:6268: x86_64-pc-linux-gnu-ar cru libconftest.a @conftest.lst >&5 configure:6271: $? = 0 configure:6276: x86_64-pc-linux-gnu-ar cru libconftest.a @conftest.lst >&5 x86_64-pc-linux-gnu-ar: conftest.o: No such file or directory configure:6279: $? = 1 configure:6291: result: @ configure:6309: checking for x86_64-pc-linux-gnu-strip configure:6325: found /usr/bin/x86_64-pc-linux-gnu-strip configure:6336: result: x86_64-pc-linux-gnu-strip configure:6408: checking for x86_64-pc-linux-gnu-ranlib configure:6424: found /usr/bin/x86_64-pc-linux-gnu-ranlib configure:6435: result: x86_64-pc-linux-gnu-ranlib configure:6577: checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object configure:6697: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:6700: $? = 0 configure:6704: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm configure:6707: $? = 0 configure:6773: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c conftstm.o >&5 configure:6776: $? = 0 configure:6814: result: ok configure:6851: checking for sysroot configure:6881: result: no configure:6958: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:6961: $? = 0 configure:7097: checking for x86_64-pc-linux-gnu-mt configure:7127: result: no configure:7137: checking for mt configure:7153: found /usr/sbin/mt configure:7164: result: mt configure:7187: checking if mt is a manifest tool configure:7193: mt '-?' usage: mt [-v] [--version] [-h] [ -f device ] command [ count ] configure:7201: result: no configure:7840: checking for dlfcn.h configure:7840: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:7840: $? = 0 configure:7840: result: yes configure:7985: checking for objdir configure:8000: result: .libs configure:8271: checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions configure:8289: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C configure:8293: $? = 0 configure:8306: result: no configure:8633: checking for x86_64-pc-linux-gnu-gcc option to produce PIC configure:8640: result: -fPIC -DPIC configure:8648: checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works configure:8666: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fPIC -DPIC -DPIC conftest.c >&5 configure:8670: $? = 0 configure:8683: result: yes configure:8712: checking if x86_64-pc-linux-gnu-gcc static flag -static works configure:8740: result: yes configure:8755: checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o configure:8776: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -o out/conftest2.o conftest.c >&5 configure:8780: $? = 0 configure:8802: result: yes configure:8810: checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o configure:8857: result: yes configure:8890: checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries configure:10047: result: yes configure:10287: checking dynamic linker characteristics configure:10787: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-rpath -Wl,/foo conftest.c >&5 configure:10787: $? = 0 configure:11021: result: GNU/Linux ld.so configure:11128: checking how to hardcode library paths into programs configure:11153: result: immediate configure:11247: checking for shl_load configure:11247: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 /var/tmp/portage/net-proxy/shadowsocks-libev-2.4.3-r1/temp/cc15CE5j.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `shl_load' collect2: error: ld returned 1 exit status configure:11247: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "shadowsocks-libev" | #define PACKAGE_TARNAME "shadowsocks-libev" | #define PACKAGE_VERSION "2.4.3" | #define PACKAGE_STRING "shadowsocks-libev 2.4.3" | #define PACKAGE_BUGREPORT "max.c.lv@gmail.com" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define PACKAGE "shadowsocks-libev" | #define VERSION "2.4.3" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | /* Define shl_load to an innocuous variant, in case declares shl_load. | For example, HP-UX 11i declares gettimeofday. */ | #define shl_load innocuous_shl_load | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char shl_load (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef shl_load | | /* 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 shl_load (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_shl_load || defined __stub___shl_load | choke me | #endif | | int | main () | { | return shl_load (); | ; | return 0; | } configure:11247: result: no configure:11251: checking for shl_load in -ldld configure:11276: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -ldld >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ldld collect2: error: ld returned 1 exit status configure:11276: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "shadowsocks-libev" | #define PACKAGE_TARNAME "shadowsocks-libev" | #define PACKAGE_VERSION "2.4.3" | #define PACKAGE_STRING "shadowsocks-libev 2.4.3" | #define PACKAGE_BUGREPORT "max.c.lv@gmail.com" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define PACKAGE "shadowsocks-libev" | #define VERSION "2.4.3" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* 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 shl_load (); | int | main () | { | return shl_load (); | ; | return 0; | } configure:11285: result: no configure:11290: checking for dlopen configure:11290: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 /var/tmp/portage/net-proxy/shadowsocks-libev-2.4.3-r1/temp/ccxyzwqA.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `dlopen' collect2: error: ld returned 1 exit status configure:11290: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "shadowsocks-libev" | #define PACKAGE_TARNAME "shadowsocks-libev" | #define PACKAGE_VERSION "2.4.3" | #define PACKAGE_STRING "shadowsocks-libev 2.4.3" | #define PACKAGE_BUGREPORT "max.c.lv@gmail.com" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define PACKAGE "shadowsocks-libev" | #define VERSION "2.4.3" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | /* Define dlopen to an innocuous variant, in case declares dlopen. | For example, HP-UX 11i declares gettimeofday. */ | #define dlopen innocuous_dlopen | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char dlopen (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef dlopen | | /* 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 dlopen (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_dlopen || defined __stub___dlopen | choke me | #endif | | int | main () | { | return dlopen (); | ; | return 0; | } configure:11290: result: no configure:11294: checking for dlopen in -ldl configure:11319: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -ldl >&5 configure:11319: $? = 0 configure:11328: result: yes configure:11447: checking whether a program can dlopen itself configure:11527: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -DHAVE_DLFCN_H -Wl,-O1 -Wl,--as-needed -Wl,--export-dynamic conftest.c -ldl >&5 configure:11530: $? = 0 configure:11548: result: yes configure:11553: checking whether a statically linked program can dlopen itself configure:11633: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -DHAVE_DLFCN_H -Wl,-O1 -Wl,--as-needed -Wl,--export-dynamic -static conftest.c -ldl >&5 /var/tmp/portage/net-proxy/shadowsocks-libev-2.4.3-r1/temp/ccydJ8tG.o: In function `main': conftest.c:(.text.startup+0x9): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality in `/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../lib64/libc.a(strcmp.o)' can not be used when making an executable; recompile with -fPIE and relink with -pie collect2: error: ld returned 1 exit status configure:11636: $? = 1 configure:11654: result: no configure:11693: checking whether stripping libraries is possible configure:11698: result: yes configure:11733: checking if libtool supports shared libraries configure:11735: result: yes configure:11738: checking whether to build shared libraries configure:11759: result: no configure:11762: checking whether to build static libraries configure:11766: result: yes configure:11848: checking for x86_64-pc-linux-gnu-gcc configure:11875: result: x86_64-pc-linux-gnu-gcc configure:12144: checking for C compiler version configure:12153: x86_64-pc-linux-gnu-gcc --version >&5 x86_64-pc-linux-gnu-gcc (Gentoo 5.3.0 p1.0, pie-0.6.5) 5.3.0 Copyright (C) 2015 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:12164: $? = 0 configure:12153: x86_64-pc-linux-gnu-gcc -v >&5 Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/5.3.0/x86_64-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/5.3.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-5.3.0/work/gcc-5.3.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/5.3.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.3.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.3.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.3.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include/g++-v5 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/5.3.0/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 5.3.0 p1.0, pie-0.6.5' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --enable-lto --without-isl --enable-libsanitizer Thread model: posix gcc version 5.3.0 (Gentoo 5.3.0 p1.0, pie-0.6.5) configure:12164: $? = 0 configure:12153: x86_64-pc-linux-gnu-gcc -V >&5 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V' x86_64-pc-linux-gnu-gcc: fatal error: no input files compilation terminated. configure:12164: $? = 1 configure:12153: x86_64-pc-linux-gnu-gcc -qversion >&5 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion' x86_64-pc-linux-gnu-gcc: fatal error: no input files compilation terminated. configure:12164: $? = 1 configure:12168: checking whether we are using the GNU C compiler configure:12196: result: yes configure:12205: checking whether x86_64-pc-linux-gnu-gcc accepts -g configure:12266: result: yes configure:12283: checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89 configure:12359: result: none needed configure:12380: checking whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o together configure:12411: x86_64-pc-linux-gnu-gcc -c conftest.c -o conftest2.o >&5 configure:12415: $? = 0 configure:12421: x86_64-pc-linux-gnu-gcc -c conftest.c -o conftest2.o >&5 configure:12425: $? = 0 configure:12436: cc -c conftest.c >&5 configure:12440: $? = 0 configure:12448: cc -c conftest.c -o conftest2.o >&5 configure:12452: $? = 0 configure:12458: cc -c conftest.c -o conftest2.o >&5 configure:12462: $? = 0 configure:12480: result: yes configure:12506: checking whether ln -s works configure:12510: result: yes configure:12518: checking whether make sets $(MAKE) configure:12540: result: yes configure:12555: checking sys/inotify.h usability configure:12555: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:12555: $? = 0 configure:12555: result: yes configure:12555: checking sys/inotify.h presence configure:12555: x86_64-pc-linux-gnu-gcc -E conftest.c configure:12555: $? = 0 configure:12555: result: yes configure:12555: checking for sys/inotify.h configure:12555: result: yes configure:12555: checking sys/epoll.h usability configure:12555: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:12555: $? = 0 configure:12555: result: yes configure:12555: checking sys/epoll.h presence configure:12555: x86_64-pc-linux-gnu-gcc -E conftest.c configure:12555: $? = 0 configure:12555: result: yes configure:12555: checking for sys/epoll.h configure:12555: result: yes configure:12555: checking sys/event.h usability configure:12555: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 conftest.c:63:23: fatal error: sys/event.h: No such file or directory compilation terminated. configure:12555: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "shadowsocks-libev" | #define PACKAGE_TARNAME "shadowsocks-libev" | #define PACKAGE_VERSION "2.4.3" | #define PACKAGE_STRING "shadowsocks-libev 2.4.3" | #define PACKAGE_BUGREPORT "max.c.lv@gmail.com" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define PACKAGE "shadowsocks-libev" | #define VERSION "2.4.3" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_INOTIFY_H 1 | #define HAVE_SYS_EPOLL_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:12555: result: no configure:12555: checking sys/event.h presence configure:12555: x86_64-pc-linux-gnu-gcc -E conftest.c conftest.c:30:23: fatal error: sys/event.h: No such file or directory compilation terminated. configure:12555: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "shadowsocks-libev" | #define PACKAGE_TARNAME "shadowsocks-libev" | #define PACKAGE_VERSION "2.4.3" | #define PACKAGE_STRING "shadowsocks-libev 2.4.3" | #define PACKAGE_BUGREPORT "max.c.lv@gmail.com" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define PACKAGE "shadowsocks-libev" | #define VERSION "2.4.3" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_INOTIFY_H 1 | #define HAVE_SYS_EPOLL_H 1 | /* end confdefs.h. */ | #include configure:12555: result: no configure:12555: checking for sys/event.h configure:12555: result: no configure:12555: checking port.h usability configure:12555: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 conftest.c:63:18: fatal error: port.h: No such file or directory compilation terminated. configure:12555: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "shadowsocks-libev" | #define PACKAGE_TARNAME "shadowsocks-libev" | #define PACKAGE_VERSION "2.4.3" | #define PACKAGE_STRING "shadowsocks-libev 2.4.3" | #define PACKAGE_BUGREPORT "max.c.lv@gmail.com" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define PACKAGE "shadowsocks-libev" | #define VERSION "2.4.3" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_INOTIFY_H 1 | #define HAVE_SYS_EPOLL_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:12555: result: no configure:12555: checking port.h presence configure:12555: x86_64-pc-linux-gnu-gcc -E conftest.c conftest.c:30:18: fatal error: port.h: No such file or directory compilation terminated. configure:12555: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "shadowsocks-libev" | #define PACKAGE_TARNAME "shadowsocks-libev" | #define PACKAGE_VERSION "2.4.3" | #define PACKAGE_STRING "shadowsocks-libev 2.4.3" | #define PACKAGE_BUGREPORT "max.c.lv@gmail.com" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define PACKAGE "shadowsocks-libev" | #define VERSION "2.4.3" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_INOTIFY_H 1 | #define HAVE_SYS_EPOLL_H 1 | /* end confdefs.h. */ | #include configure:12555: result: no configure:12555: checking for port.h configure:12555: result: no configure:12555: checking poll.h usability configure:12555: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:12555: $? = 0 configure:12555: result: yes configure:12555: checking poll.h presence configure:12555: x86_64-pc-linux-gnu-gcc -E conftest.c configure:12555: $? = 0 configure:12555: result: yes configure:12555: checking for poll.h configure:12555: result: yes configure:12555: checking sys/select.h usability configure:12555: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:12555: $? = 0 configure:12555: result: yes configure:12555: checking sys/select.h presence configure:12555: x86_64-pc-linux-gnu-gcc -E conftest.c configure:12555: $? = 0 configure:12555: result: yes configure:12555: checking for sys/select.h configure:12555: result: yes configure:12555: checking sys/eventfd.h usability configure:12555: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:12555: $? = 0 configure:12555: result: yes configure:12555: checking sys/eventfd.h presence configure:12555: x86_64-pc-linux-gnu-gcc -E conftest.c configure:12555: $? = 0 configure:12555: result: yes configure:12555: checking for sys/eventfd.h configure:12555: result: yes configure:12555: checking sys/signalfd.h usability configure:12555: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:12555: $? = 0 configure:12555: result: yes configure:12555: checking sys/signalfd.h presence configure:12555: x86_64-pc-linux-gnu-gcc -E conftest.c configure:12555: $? = 0 configure:12555: result: yes configure:12555: checking for sys/signalfd.h configure:12555: result: yes configure:12569: checking for inotify_init configure:12569: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:12569: $? = 0 configure:12569: result: yes configure:12569: checking for epoll_ctl configure:12569: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:12569: $? = 0 configure:12569: result: yes configure:12569: checking for kqueue configure:12569: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 /var/tmp/portage/net-proxy/shadowsocks-libev-2.4.3-r1/temp/cc7Vhk8f.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `kqueue' collect2: error: ld returned 1 exit status configure:12569: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "shadowsocks-libev" | #define PACKAGE_TARNAME "shadowsocks-libev" | #define PACKAGE_VERSION "2.4.3" | #define PACKAGE_STRING "shadowsocks-libev 2.4.3" | #define PACKAGE_BUGREPORT "max.c.lv@gmail.com" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define PACKAGE "shadowsocks-libev" | #define VERSION "2.4.3" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_INOTIFY_H 1 | #define HAVE_SYS_EPOLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_EVENTFD_H 1 | #define HAVE_SYS_SIGNALFD_H 1 | #define HAVE_INOTIFY_INIT 1 | #define HAVE_EPOLL_CTL 1 | /* end confdefs.h. */ | /* Define kqueue to an innocuous variant, in case declares kqueue. | For example, HP-UX 11i declares gettimeofday. */ | #define kqueue innocuous_kqueue | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char kqueue (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef kqueue | | /* 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 kqueue (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_kqueue || defined __stub___kqueue | choke me | #endif | | int | main () | { | return kqueue (); | ; | return 0; | } configure:12569: result: no configure:12569: checking for port_create configure:12569: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 /var/tmp/portage/net-proxy/shadowsocks-libev-2.4.3-r1/temp/cclXlWfo.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `port_create' collect2: error: ld returned 1 exit status configure:12569: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "shadowsocks-libev" | #define PACKAGE_TARNAME "shadowsocks-libev" | #define PACKAGE_VERSION "2.4.3" | #define PACKAGE_STRING "shadowsocks-libev 2.4.3" | #define PACKAGE_BUGREPORT "max.c.lv@gmail.com" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define PACKAGE "shadowsocks-libev" | #define VERSION "2.4.3" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_INOTIFY_H 1 | #define HAVE_SYS_EPOLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_EVENTFD_H 1 | #define HAVE_SYS_SIGNALFD_H 1 | #define HAVE_INOTIFY_INIT 1 | #define HAVE_EPOLL_CTL 1 | /* end confdefs.h. */ | /* Define port_create to an innocuous variant, in case declares port_create. | For example, HP-UX 11i declares gettimeofday. */ | #define port_create innocuous_port_create | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char port_create (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef port_create | | /* 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 port_create (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_port_create || defined __stub___port_create | choke me | #endif | | int | main () | { | return port_create (); | ; | return 0; | } configure:12569: result: no configure:12569: checking for poll configure:12569: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:12569: $? = 0 configure:12569: result: yes configure:12569: checking for select configure:12569: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:12569: $? = 0 configure:12569: result: yes configure:12569: checking for eventfd configure:12569: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:12569: $? = 0 configure:12569: result: yes configure:12569: checking for signalfd configure:12569: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:12569: $? = 0 configure:12569: result: yes configure:12581: checking for clock_gettime configure:12581: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:12581: $? = 0 configure:12581: result: yes configure:12685: checking for nanosleep configure:12685: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 configure:12685: $? = 0 configure:12685: result: yes configure:12760: checking for library containing floor configure:12791: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5 conftest.c:49:6: warning: conflicting types for built-in function 'floor' char floor (); ^ /var/tmp/portage/net-proxy/shadowsocks-libev-2.4.3-r1/temp/cceMKIWR.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `floor' collect2: error: ld returned 1 exit status configure:12791: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "shadowsocks-libev" | #define PACKAGE_TARNAME "shadowsocks-libev" | #define PACKAGE_VERSION "2.4.3" | #define PACKAGE_STRING "shadowsocks-libev 2.4.3" | #define PACKAGE_BUGREPORT "max.c.lv@gmail.com" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define PACKAGE "shadowsocks-libev" | #define VERSION "2.4.3" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_INOTIFY_H 1 | #define HAVE_SYS_EPOLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_EVENTFD_H 1 | #define HAVE_SYS_SIGNALFD_H 1 | #define HAVE_INOTIFY_INIT 1 | #define HAVE_EPOLL_CTL 1 | #define HAVE_POLL 1 | #define HAVE_SELECT 1 | #define HAVE_EVENTFD 1 | #define HAVE_SIGNALFD 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_NANOSLEEP 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 floor (); | int | main () | { | return floor (); | ; | return 0; | } configure:12791: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -lm >&5 conftest.c:49:6: warning: conflicting types for built-in function 'floor' char floor (); ^ configure:12791: $? = 0 configure:12808: result: -lm configure:12830: checking for thread local storage (TLS) class configure:12856: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:12856: $? = 0 configure:12868: result: __thread configure:12926: checking zlib.h usability configure:12926: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:12926: $? = 0 configure:12926: result: yes configure:12926: checking zlib.h presence configure:12926: x86_64-pc-linux-gnu-gcc -E conftest.c configure:12926: $? = 0 configure:12926: result: yes configure:12926: checking for zlib.h configure:12926: result: yes configure:12940: checking for compress2 in -lz configure:12965: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -lz -lm >&5 configure:12965: $? = 0 configure:12974: result: yes configure:12991: checking for dlopen configure:12991: result: no configure:12995: checking for dlopen in -ldl configure:13029: result: yes configure:13075: checking openssl/evp.h usability configure:13075: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:13075: $? = 0 configure:13075: result: yes configure:13075: checking openssl/evp.h presence configure:13075: x86_64-pc-linux-gnu-gcc -E conftest.c configure:13075: $? = 0 configure:13075: result: yes configure:13075: checking for openssl/evp.h configure:13075: result: yes configure:13075: checking openssl/rsa.h usability configure:13075: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:13075: $? = 0 configure:13075: result: yes configure:13075: checking openssl/rsa.h presence configure:13075: x86_64-pc-linux-gnu-gcc -E conftest.c configure:13075: $? = 0 configure:13075: result: yes configure:13075: checking for openssl/rsa.h configure:13075: result: yes configure:13075: checking openssl/rand.h usability configure:13075: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:13075: $? = 0 configure:13075: result: yes configure:13075: checking openssl/rand.h presence configure:13075: x86_64-pc-linux-gnu-gcc -E conftest.c configure:13075: $? = 0 configure:13075: result: yes configure:13075: checking for openssl/rand.h configure:13075: result: yes configure:13075: checking openssl/err.h usability configure:13075: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:13075: $? = 0 configure:13075: result: yes configure:13075: checking openssl/err.h presence configure:13075: x86_64-pc-linux-gnu-gcc -E conftest.c configure:13075: $? = 0 configure:13075: result: yes configure:13075: checking for openssl/err.h configure:13075: result: yes configure:13075: checking openssl/sha.h usability configure:13075: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:13075: $? = 0 configure:13075: result: yes configure:13075: checking openssl/sha.h presence configure:13075: x86_64-pc-linux-gnu-gcc -E conftest.c configure:13075: $? = 0 configure:13075: result: yes configure:13075: checking for openssl/sha.h configure:13075: result: yes configure:13075: checking openssl/pem.h usability configure:13075: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:13075: $? = 0 configure:13075: result: yes configure:13075: checking openssl/pem.h presence configure:13075: x86_64-pc-linux-gnu-gcc -E conftest.c configure:13075: $? = 0 configure:13075: result: yes configure:13075: checking for openssl/pem.h configure:13075: result: yes configure:13075: checking openssl/engine.h usability configure:13075: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:13075: $? = 0 configure:13075: result: yes configure:13075: checking openssl/engine.h presence configure:13075: x86_64-pc-linux-gnu-gcc -E conftest.c configure:13075: $? = 0 configure:13075: result: yes configure:13075: checking for openssl/engine.h configure:13075: result: yes configure:13089: checking for EVP_EncryptInit_ex in -lcrypto configure:13114: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -lcrypto -lm -lz -ldl >&5 configure:13114: $? = 0 configure:13123: result: yes configure:13136: checking for RAND_pseudo_bytes configure:13136: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -lcrypto -lm -lz -ldl >&5 configure:13136: $? = 0 configure:13136: result: yes configure:13136: checking for EVP_EncryptInit_ex configure:13136: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -lcrypto -lm -lz -ldl >&5 configure:13136: $? = 0 configure:13136: result: yes configure:13148: checking whether OpenSSL_add_all_algorithms is declared configure:13148: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:13148: $? = 0 configure:13148: result: yes configure:13508: checking for C/C++ restrict keyword configure:13533: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:13533: $? = 0 configure:13541: result: __restrict configure:13560: checking for netdb.h configure:13560: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:13560: $? = 0 configure:13560: result: yes configure:13579: checking for library containing inet_ntop configure:13610: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c -lcrypto -lm -lz -ldl >&5 configure:13610: $? = 0 configure:13627: result: none required configure:13659: checking whether inet_ntop is declared configure:13659: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe conftest.c >&5 configure:13659: $? = 0 configure:13659: result: yes configure:13681: checking for what kind of host configure:13686: result: Linux configure:13717: checking if -fstack-protector and -fstack-protector-all are supported. configure:13730: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fstack-protector conftest.c >&5 configure:13730: $? = 0 configure:13747: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fstack-protector-all conftest.c >&5 configure:13747: $? = 0 configure:13756: result: yes configure:13802: -fstack-protector enabled in CFLAGS configure:13826: checking limits.h usability configure:13826: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fstack-protector conftest.c >&5 configure:13826: $? = 0 configure:13826: result: yes configure:13826: checking limits.h presence configure:13826: x86_64-pc-linux-gnu-gcc -E conftest.c configure:13826: $? = 0 configure:13826: result: yes configure:13826: checking for limits.h configure:13826: result: yes configure:13826: checking for stdint.h configure:13826: result: yes configure:13826: checking for inttypes.h configure:13826: result: yes configure:13826: checking arpa/inet.h usability configure:13826: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fstack-protector conftest.c >&5 configure:13826: $? = 0 configure:13826: result: yes configure:13826: checking arpa/inet.h presence configure:13826: x86_64-pc-linux-gnu-gcc -E conftest.c configure:13826: $? = 0 configure:13826: result: yes configure:13826: checking for arpa/inet.h configure:13826: result: yes configure:13826: checking fcntl.h usability configure:13826: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fstack-protector conftest.c >&5 configure:13826: $? = 0 configure:13826: result: yes configure:13826: checking fcntl.h presence configure:13826: x86_64-pc-linux-gnu-gcc -E conftest.c configure:13826: $? = 0 configure:13826: result: yes configure:13826: checking for fcntl.h configure:13826: result: yes configure:13826: checking langinfo.h usability configure:13826: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fstack-protector conftest.c >&5 configure:13826: $? = 0 configure:13826: result: yes configure:13826: checking langinfo.h presence configure:13826: x86_64-pc-linux-gnu-gcc -E conftest.c configure:13826: $? = 0 configure:13826: result: yes configure:13826: checking for langinfo.h configure:13826: result: yes configure:13826: checking locale.h usability configure:13826: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fstack-protector conftest.c >&5 configure:13826: $? = 0 configure:13826: result: yes configure:13826: checking locale.h presence configure:13826: x86_64-pc-linux-gnu-gcc -E conftest.c configure:13826: $? = 0 configure:13826: result: yes configure:13826: checking for locale.h configure:13826: result: yes configure:13826: checking for netdb.h configure:13826: result: yes configure:13826: checking netinet/in.h usability configure:13826: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fstack-protector conftest.c >&5 configure:13826: $? = 0 configure:13826: result: yes configure:13826: checking netinet/in.h presence configure:13826: x86_64-pc-linux-gnu-gcc -E conftest.c configure:13826: $? = 0 configure:13826: result: yes configure:13826: checking for netinet/in.h configure:13826: result: yes configure:13826: checking for stdlib.h configure:13826: result: yes configure:13826: checking for string.h configure:13826: result: yes configure:13826: checking for strings.h configure:13826: result: yes configure:13826: checking for unistd.h configure:13826: result: yes configure:13826: checking sys/ioctl.h usability configure:13826: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fstack-protector conftest.c >&5 configure:13826: $? = 0 configure:13826: result: yes configure:13826: checking sys/ioctl.h presence configure:13826: x86_64-pc-linux-gnu-gcc -E conftest.c configure:13826: $? = 0 configure:13826: result: yes configure:13826: checking for sys/ioctl.h configure:13826: result: yes configure:13839: checking sys/socket.h usability configure:13839: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fstack-protector conftest.c >&5 configure:13839: $? = 0 configure:13839: result: yes configure:13839: checking sys/socket.h presence configure:13839: x86_64-pc-linux-gnu-gcc -E conftest.c configure:13839: $? = 0 configure:13839: result: yes configure:13839: checking for sys/socket.h configure:13839: result: yes configure:13851: checking for net/if.h configure:13851: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fstack-protector conftest.c >&5 configure:13851: $? = 0 configure:13851: result: yes configure:13898: checking for linux/if.h configure:13898: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fstack-protector conftest.c >&5 configure:13898: $? = 0 configure:13898: result: yes configure:13898: checking for linux/netfilter_ipv4.h configure:13898: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fstack-protector conftest.c >&5 configure:13898: $? = 0 configure:13898: result: yes configure:13898: checking for linux/netfilter_ipv6/ip6_tables.h configure:13898: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -fstack-protector conftest.c >&5 In file included from conftest.c:86:0: /usr/include/linux/if.h:71:2: error: redeclaration of enumerator 'IFF_UP' IFF_UP = 1<<0, /* sysfs */ ^ /usr/include/net/if.h:44:5: note: previous definition of 'IFF_UP' was here IFF_UP = 0x1, /* Interface is up. */ ^ /usr/include/linux/if.h:72:2: error: redeclaration of enumerator 'IFF_BROADCAST' IFF_BROADCAST = 1<<1, /* __volatile__ */ ^ /usr/include/net/if.h:46:5: note: previous definition of 'IFF_BROADCAST' was here IFF_BROADCAST = 0x2, /* Broadcast address valid. */ ^ /usr/include/linux/if.h:73:2: error: redeclaration of enumerator 'IFF_DEBUG' IFF_DEBUG = 1<<2, /* sysfs */ ^ /usr/include/net/if.h:48:5: note: previous definition of 'IFF_DEBUG' was here IFF_DEBUG = 0x4, /* Turn on debugging. */ ^ /usr/include/linux/if.h:74:2: error: redeclaration of enumerator 'IFF_LOOPBACK' IFF_LOOPBACK = 1<<3, /* __volatile__ */ ^ /usr/include/net/if.h:50:5: note: previous definition of 'IFF_LOOPBACK' was here IFF_LOOPBACK = 0x8, /* Is a loopback net. */ ^ /usr/include/linux/if.h:75:2: error: redeclaration of enumerator 'IFF_POINTOPOINT' IFF_POINTOPOINT = 1<<4, /* __volatile__ */ ^ /usr/include/net/if.h:52:5: note: previous definition of 'IFF_POINTOPOINT' was here IFF_POINTOPOINT = 0x10, /* Interface is point-to-point link. */ ^ /usr/include/linux/if.h:76:2: error: redeclaration of enumerator 'IFF_NOTRAILERS' IFF_NOTRAILERS = 1<<5, /* sysfs */ ^ /usr/include/net/if.h:54:5: note: previous definition of 'IFF_NOTRAILERS' was here IFF_NOTRAILERS = 0x20, /* Avoid use of trailers. */ ^ /usr/include/linux/if.h:77:2: error: redeclaration of enumerator 'IFF_RUNNING' IFF_RUNNING = 1<<6, /* __volatile__ */ ^ /usr/include/net/if.h:56:5: note: previous definition of 'IFF_RUNNING' was here IFF_RUNNING = 0x40, /* Resources allocated. */ ^ /usr/include/linux/if.h:78:2: error: redeclaration of enumerator 'IFF_NOARP' IFF_NOARP = 1<<7, /* sysfs */ ^ /usr/include/net/if.h:58:5: note: previous definition of 'IFF_NOARP' was here IFF_NOARP = 0x80, /* No address resolution protocol. */ ^ /usr/include/linux/if.h:79:2: error: redeclaration of enumerator 'IFF_PROMISC' IFF_PROMISC = 1<<8, /* sysfs */ ^ /usr/include/net/if.h:60:5: note: previous definition of 'IFF_PROMISC' was here IFF_PROMISC = 0x100, /* Receive all packets. */ ^ /usr/include/linux/if.h:80:2: error: redeclaration of enumerator 'IFF_ALLMULTI' IFF_ALLMULTI = 1<<9, /* sysfs */ ^ /usr/include/net/if.h:64:5: note: previous definition of 'IFF_ALLMULTI' was here IFF_ALLMULTI = 0x200, /* Receive all multicast packets. */ ^ /usr/include/linux/if.h:81:2: error: redeclaration of enumerator 'IFF_MASTER' IFF_MASTER = 1<<10, /* __volatile__ */ ^ /usr/include/net/if.h:67:5: note: previous definition of 'IFF_MASTER' was here IFF_MASTER = 0x400, /* Master of a load balancer. */ ^ /usr/include/linux/if.h:82:2: error: redeclaration of enumerator 'IFF_SLAVE' IFF_SLAVE = 1<<11, /* __volatile__ */ ^ /usr/include/net/if.h:69:5: note: previous definition of 'IFF_SLAVE' was here IFF_SLAVE = 0x800, /* Slave of a load balancer. */ ^ /usr/include/linux/if.h:83:2: error: redeclaration of enumerator 'IFF_MULTICAST' IFF_MULTICAST = 1<<12, /* sysfs */ ^ /usr/include/net/if.h:72:5: note: previous definition of 'IFF_MULTICAST' was here IFF_MULTICAST = 0x1000, /* Supports multicast. */ ^ /usr/include/linux/if.h:84:2: error: redeclaration of enumerator 'IFF_PORTSEL' IFF_PORTSEL = 1<<13, /* sysfs */ ^ /usr/include/net/if.h:75:5: note: previous definition of 'IFF_PORTSEL' was here IFF_PORTSEL = 0x2000, /* Can set media type. */ ^ /usr/include/linux/if.h:85:2: error: redeclaration of enumerator 'IFF_AUTOMEDIA' IFF_AUTOMEDIA = 1<<14, /* sysfs */ ^ /usr/include/net/if.h:77:5: note: previous definition of 'IFF_AUTOMEDIA' was here IFF_AUTOMEDIA = 0x4000, /* Auto media select active. */ ^ /usr/include/linux/if.h:86:2: error: redeclaration of enumerator 'IFF_DYNAMIC' IFF_DYNAMIC = 1<<15, /* sysfs */ ^ /usr/include/net/if.h:79:5: note: previous definition of 'IFF_DYNAMIC' was here IFF_DYNAMIC = 0x8000 /* Dialup device with changing addresses. */ ^ In file included from /usr/include/linux/netfilter_ipv6/ip6_tables.h:20:0, from conftest.c:93: /usr/include/linux/if.h:169:8: error: redefinition of 'struct ifmap' struct ifmap { ^ In file included from conftest.c:86:0: /usr/include/net/if.h:111:8: note: originally defined here struct ifmap ^ In file included from /usr/include/linux/netfilter_ipv6/ip6_tables.h:20:0, from conftest.c:93: /usr/include/linux/if.h:203:8: error: redefinition of 'struct ifreq' struct ifreq { ^ In file included from conftest.c:86:0: /usr/include/net/if.h:126:8: note: originally defined here struct ifreq ^ In file included from /usr/include/linux/netfilter_ipv6/ip6_tables.h:20:0, from conftest.c:93: /usr/include/linux/if.h:252:8: error: redefinition of 'struct ifconf' struct ifconf { ^ In file included from conftest.c:86:0: /usr/include/net/if.h:176:8: note: originally defined here struct ifconf ^ configure:13898: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "shadowsocks-libev" | #define PACKAGE_TARNAME "shadowsocks-libev" | #define PACKAGE_VERSION "2.4.3" | #define PACKAGE_STRING "shadowsocks-libev 2.4.3" | #define PACKAGE_BUGREPORT "max.c.lv@gmail.com" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define PACKAGE "shadowsocks-libev" | #define VERSION "2.4.3" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_INOTIFY_H 1 | #define HAVE_SYS_EPOLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_EVENTFD_H 1 | #define HAVE_SYS_SIGNALFD_H 1 | #define HAVE_INOTIFY_INIT 1 | #define HAVE_EPOLL_CTL 1 | #define HAVE_POLL 1 | #define HAVE_SELECT 1 | #define HAVE_EVENTFD 1 | #define HAVE_SIGNALFD 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_NANOSLEEP 1 | #define HAVE_FLOOR 1 | #define TLS __thread | #define HAVE_ZLIB 1 | #define HAVE_ZLIB_H 1 | #define HAVE_OPENSSL_EVP_H 1 | #define HAVE_OPENSSL_RSA_H 1 | #define HAVE_OPENSSL_RAND_H 1 | #define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_SHA_H 1 | #define HAVE_OPENSSL_PEM_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_RAND_PSEUDO_BYTES 1 | #define HAVE_EVP_ENCRYPTINIT_EX 1 | #define USE_CRYPTO_OPENSSL 1 | #define restrict __restrict | #define HAVE_NETDB_H 1 | #define HAVE_DECL_INET_NTOP 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_LINUX_IF_H 1 | #define HAVE_LINUX_NETFILTER_IPV4_H 1 | /* end confdefs.h. */ | | #if HAVE_LIMITS_H | #include | #endif | /* Netfilter ip(6)tables v1.4.0 has broken headers */ | #if HAVE_NETINET_IN_H | #include | #endif | #if HAVE_LINUX_IF_H | #include | #endif | #if HAVE_SYS_SOCKET_H | #include | #endif | | | #include configure:13898: result: no configure:13920: error: Missing netfilter headers ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_c_restrict=__restrict ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-march=native -O2 -pipe' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=x86_64-pc-linux-gnu ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_func_EVP_EncryptInit_ex=yes ac_cv_func_RAND_pseudo_bytes=yes ac_cv_func_clock_gettime=yes ac_cv_func_dlopen=no ac_cv_func_epoll_ctl=yes ac_cv_func_eventfd=yes ac_cv_func_inotify_init=yes ac_cv_func_kqueue=no ac_cv_func_nanosleep=yes ac_cv_func_poll=yes ac_cv_func_port_create=no ac_cv_func_select=yes ac_cv_func_shl_load=no ac_cv_func_signalfd=yes ac_cv_have_decl_OpenSSL_add_all_algorithms=yes ac_cv_have_decl_inet_ntop=yes ac_cv_header_arpa_inet_h=yes ac_cv_header_dlfcn_h=yes ac_cv_header_fcntl_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_langinfo_h=yes ac_cv_header_limits_h=yes ac_cv_header_linux_if_h=yes ac_cv_header_linux_netfilter_ipv4_h=yes ac_cv_header_linux_netfilter_ipv6_ip6_tables_h=no ac_cv_header_locale_h=yes ac_cv_header_memory_h=yes ac_cv_header_minix_config_h=no ac_cv_header_net_if_h=yes ac_cv_header_netdb_h=yes ac_cv_header_netinet_in_h=yes ac_cv_header_openssl_engine_h=yes ac_cv_header_openssl_err_h=yes ac_cv_header_openssl_evp_h=yes ac_cv_header_openssl_pem_h=yes ac_cv_header_openssl_rand_h=yes ac_cv_header_openssl_rsa_h=yes ac_cv_header_openssl_sha_h=yes ac_cv_header_poll_h=yes ac_cv_header_port_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_epoll_h=yes ac_cv_header_sys_event_h=no ac_cv_header_sys_eventfd_h=yes ac_cv_header_sys_inotify_h=yes ac_cv_header_sys_ioctl_h=yes ac_cv_header_sys_select_h=yes ac_cv_header_sys_signalfd_h=yes ac_cv_header_sys_socket_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_header_zlib_h=yes ac_cv_host=x86_64-pc-linux-gnu ac_cv_lib_crypto_EVP_EncryptInit_ex=yes ac_cv_lib_dl_dlopen=yes ac_cv_lib_dld_shl_load=no ac_cv_lib_z_compress2=yes ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' ac_cv_path_GREP=/bin/grep ac_cv_path_SED=/bin/sed ac_cv_path_install='/usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AR=x86_64-pc-linux-gnu-ar ac_cv_prog_AWK=gawk ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc ac_cv_prog_CPP='x86_64-pc-linux-gnu-gcc -E' ac_cv_prog_OBJDUMP=x86_64-pc-linux-gnu-objdump ac_cv_prog_RANLIB=x86_64-pc-linux-gnu-ranlib ac_cv_prog_STRIP=x86_64-pc-linux-gnu-strip ac_cv_prog_ac_ct_MANIFEST_TOOL=mt ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cc_x86_64_pc_linux_gnu_gcc_c_o=yes ac_cv_prog_make_make_set=yes ac_cv_safe_to_define___extensions__=yes ac_cv_search_floor=-lm ac_cv_search_inet_ntop='none required' ac_cv_tls=__thread am_cv_CC_dependencies_compiler_type=none am_cv_ar_interface=ar am_cv_make_support_nested_variables=yes lt_cv_ar_at_file=@ lt_cv_deplibs_check_method=pass_all lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl lt_cv_dlopen_self=yes lt_cv_dlopen_self_static=no lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/usr/x86_64-pc-linux-gnu/bin/ld lt_cv_path_NM='/usr/bin/nm -B' lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_gnu_ld=yes lt_cv_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_shlibpath_overrides_runpath=yes lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_max_cmd_len=1572864 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /var/tmp/portage/net-proxy/shadowsocks-libev-2.4.3-r1/work/shadowsocks-libev-2.4.3/auto/missing --run aclocal-1.11' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='#' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AR='x86_64-pc-linux-gnu-ar' AUTOCONF='${SHELL} /var/tmp/portage/net-proxy/shadowsocks-libev-2.4.3-r1/work/shadowsocks-libev-2.4.3/auto/missing --run autoconf' AUTOHEADER='${SHELL} /var/tmp/portage/net-proxy/shadowsocks-libev-2.4.3-r1/work/shadowsocks-libev-2.4.3/auto/missing --run autoheader' AUTOMAKE='${SHELL} /var/tmp/portage/net-proxy/shadowsocks-libev-2.4.3-r1/work/shadowsocks-libev-2.4.3/auto/missing --run automake-1.11' AWK='gawk' BUILD_REDIRECTOR_FALSE='#' BUILD_REDIRECTOR_TRUE='' BUILD_WINCOMPAT_FALSE='' BUILD_WINCOMPAT_TRUE='#' CC='x86_64-pc-linux-gnu-gcc' CCDEPMODE='depmode=none' CFLAGS='-march=native -O2 -pipe -fstack-protector' CPP='x86_64-pc-linux-gnu-gcc -E' CPPFLAGS='' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DLLTOOL='false' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' FGREP='/bin/grep -F' GREP='/bin/grep' INET_NTOP_LIB='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64' LDFLAGS='-Wl,-O1 -Wl,--as-needed' LIBOBJS='' LIBS='-lcrypto -lm -lz -ldl' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /var/tmp/portage/net-proxy/shadowsocks-libev-2.4.3-r1/work/shadowsocks-libev-2.4.3/auto/missing --run makeinfo' MANIFEST_TOOL=':' MKDIR_P='/bin/mkdir -p' NM='/usr/bin/nm -B' NMEDIT='' OBJDUMP='x86_64-pc-linux-gnu-objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='shadowsocks-libev' PACKAGE_BUGREPORT='max.c.lv@gmail.com' PACKAGE_NAME='shadowsocks-libev' PACKAGE_STRING='shadowsocks-libev 2.4.3' PACKAGE_TARNAME='shadowsocks-libev' PACKAGE_URL='' PACKAGE_VERSION='2.4.3' PATH_SEPARATOR=':' PTHREAD_CC='' PTHREAD_CFLAGS='' PTHREAD_LIBS='' RANLIB='x86_64-pc-linux-gnu-ranlib' SED='/bin/sed' SET_MAKE='' SHELL='/bin/sh' STRIP='x86_64-pc-linux-gnu-strip' USE_SYSTEM_SHARED_LIB_FALSE='' USE_SYSTEM_SHARED_LIB_TRUE='#' VERSION='2.4.3' ac_ct_AR='' ac_ct_CC='' ac_ct_DUMPBIN='' acx_pthread_config='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' datadir='/usr/share' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='x86_64-pc-linux-gnu' host_alias='x86_64-pc-linux-gnu' host_cpu='x86_64' host_os='linux-gnu' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='/usr/share/info' install_sh='${SHELL} /var/tmp/portage/net-proxy/shadowsocks-libev-2.4.3-r1/work/shadowsocks-libev-2.4.3/auto/install-sh' libdir='/usr/lib64' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var/lib' mandir='/usr/share/man' mkdir_p='/bin/mkdir -p' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' subdirs='' sysconfdir='/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "shadowsocks-libev" #define PACKAGE_TARNAME "shadowsocks-libev" #define PACKAGE_VERSION "2.4.3" #define PACKAGE_STRING "shadowsocks-libev 2.4.3" #define PACKAGE_BUGREPORT "max.c.lv@gmail.com" #define PACKAGE_URL "" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define __EXTENSIONS__ 1 #define _ALL_SOURCE 1 #define _GNU_SOURCE 1 #define _POSIX_PTHREAD_SEMANTICS 1 #define _TANDEM_SOURCE 1 #define PACKAGE "shadowsocks-libev" #define VERSION "2.4.3" #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define HAVE_SYS_INOTIFY_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_POLL_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_SYS_SIGNALFD_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_EPOLL_CTL 1 #define HAVE_POLL 1 #define HAVE_SELECT 1 #define HAVE_EVENTFD 1 #define HAVE_SIGNALFD 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_NANOSLEEP 1 #define HAVE_FLOOR 1 #define TLS __thread #define HAVE_ZLIB 1 #define HAVE_ZLIB_H 1 #define HAVE_OPENSSL_EVP_H 1 #define HAVE_OPENSSL_RSA_H 1 #define HAVE_OPENSSL_RAND_H 1 #define HAVE_OPENSSL_ERR_H 1 #define HAVE_OPENSSL_SHA_H 1 #define HAVE_OPENSSL_PEM_H 1 #define HAVE_OPENSSL_ENGINE_H 1 #define HAVE_RAND_PSEUDO_BYTES 1 #define HAVE_EVP_ENCRYPTINIT_EX 1 #define USE_CRYPTO_OPENSSL 1 #define restrict __restrict #define HAVE_NETDB_H 1 #define HAVE_DECL_INET_NTOP 1 #define HAVE_LIMITS_H 1 #define HAVE_STDINT_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_FCNTL_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LOCALE_H 1 #define HAVE_NETDB_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_UNISTD_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NET_IF_H 1 #define HAVE_LINUX_IF_H 1 #define HAVE_LINUX_NETFILTER_IPV4_H 1 configure: exit 1