Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 82577 Details for
Bug 126334
netperf-2.4.0 compiling fails if including socket.h glibc 2.4 + gcc 4.1.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
failing configure of netperf
config.log (text/plain), 44.96 KB, created by
Mikko Tiihonen
on 2006-03-19 09:42:05 UTC
(
hide
)
Description:
failing configure of netperf
Filename:
MIME Type:
Creator:
Mikko Tiihonen
Created:
2006-03-19 09:42:05 UTC
Size:
44.96 KB
patch
obsolete
>This file contains any messages produced by compilers while >running configure, to aid debugging if configure makes a mistake. > >It was created by netperf configure 2.4.0, which was >generated by GNU Autoconf 2.59. Invocation command line was > > $ ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu > >## --------- ## >## Platform. ## >## --------- ## > >hostname = dual >uname -m = x86_64 >uname -r = 2.6.15-gentoo-r7 >uname -s = Linux >uname -v = #1 SMP Thu Mar 16 14:28:46 EET 2006 > >/usr/bin/uname -p = AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ >/bin/uname -X = unknown > >/bin/arch = x86_64 >/usr/bin/arch -k = unknown >/usr/convex/getsysinfo = unknown >hostinfo = unknown >/bin/machine = unknown >/usr/bin/oslevel = unknown >/bin/universe = unknown > >PATH: /sbin >PATH: /usr/sbin >PATH: /usr/lib/portage/bin >PATH: /bin >PATH: /usr/bin >PATH: /opt/bin >PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.1.0 >PATH: /opt/sun-jdk-1.5.0.06/bin >PATH: /opt/sun-jdk-1.5.0.06/jre/bin >PATH: /usr/bin > > >## ----------- ## >## Core tests. ## >## ----------- ## > >configure:1358: checking build system type >configure:1376: result: x86_64-pc-linux-gnu >configure:1384: checking host system type >configure:1398: result: x86_64-pc-linux-gnu >configure:1406: checking target system type >configure:1420: result: x86_64-pc-linux-gnu >configure:1449: checking for a BSD-compatible install >configure:1504: result: /bin/install -c >configure:1515: checking whether build environment is sane >configure:1558: result: yes >configure:1591: checking for gawk >configure:1607: found /bin/gawk >configure:1617: result: gawk >configure:1627: checking whether make sets $(MAKE) >configure:1647: result: yes >configure:1826: checking for x86_64-pc-linux-gnu-gcc >configure:1842: found /usr/bin/x86_64-pc-linux-gnu-gcc >configure:1852: result: x86_64-pc-linux-gnu-gcc >configure:2134: checking for C compiler version >configure:2137: x86_64-pc-linux-gnu-gcc --version </dev/null >&5 >x86_64-pc-linux-gnu-gcc (GCC) 4.1.0 (Gentoo 4.1.0) >Copyright (C) 2006 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:2140: $? = 0 >configure:2142: x86_64-pc-linux-gnu-gcc -v </dev/null >&5 >Using built-in specs. >Target: x86_64-pc-linux-gnu >Configured with: /var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.0/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu >Thread model: posix >gcc version 4.1.0 (Gentoo 4.1.0) >configure:2145: $? = 0 >configure:2147: x86_64-pc-linux-gnu-gcc -V </dev/null >&5 >x86_64-pc-linux-gnu-gcc: '-V' option must have argument >configure:2150: $? = 1 >configure:2173: checking for C compiler default output file name >configure:2176: x86_64-pc-linux-gnu-gcc -O2 conftest.c >&5 >configure:2179: $? = 0 >configure:2225: result: a.out >configure:2230: checking whether the C compiler works >configure:2236: ./a.out >configure:2239: $? = 0 >configure:2256: result: yes >configure:2263: checking whether we are cross compiling >configure:2265: result: no >configure:2268: checking for suffix of executables >configure:2270: x86_64-pc-linux-gnu-gcc -o conftest -O2 conftest.c >&5 >configure:2273: $? = 0 >configure:2298: result: >configure:2304: checking for suffix of object files >configure:2325: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:2328: $? = 0 >configure:2350: result: o >configure:2354: checking whether we are using the GNU C compiler >configure:2378: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:2384: $? = 0 >configure:2387: test -z || test ! -s conftest.err >configure:2390: $? = 0 >configure:2393: test -s conftest.o >configure:2396: $? = 0 >configure:2409: result: yes >configure:2415: checking whether x86_64-pc-linux-gnu-gcc accepts -g >configure:2436: x86_64-pc-linux-gnu-gcc -c -g conftest.c >&5 >configure:2442: $? = 0 >configure:2445: test -z || test ! -s conftest.err >configure:2448: $? = 0 >configure:2451: test -s conftest.o >configure:2454: $? = 0 >configure:2465: result: yes >configure:2482: checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C >configure:2552: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:2558: $? = 0 >configure:2561: test -z || test ! -s conftest.err >configure:2564: $? = 0 >configure:2567: test -s conftest.o >configure:2570: $? = 0 >configure:2588: result: none needed >configure:2606: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me' >configure:2612: $? = 1 >configure: failed program was: >| #ifndef __cplusplus >| choke me >| #endif >configure:2753: checking for style of include used by make >configure:2781: result: GNU >configure:2809: checking dependency style of x86_64-pc-linux-gnu-gcc >configure:2892: result: gcc3 >configure:2911: checking for an ANSI C-conforming const >configure:2978: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:2984: $? = 0 >configure:2987: test -z || test ! -s conftest.err >configure:2990: $? = 0 >configure:2993: test -s conftest.o >configure:2996: $? = 0 >configure:3007: result: yes >configure:3020: checking for main in -lm >configure:3044: x86_64-pc-linux-gnu-gcc -o conftest -O2 conftest.c -lm >&5 >configure:3050: $? = 0 >configure:3053: test -z || test ! -s conftest.err >configure:3056: $? = 0 >configure:3059: test -s conftest >configure:3062: $? = 0 >configure:3075: result: yes >configure:3094: checking how to run the C preprocessor >configure:3129: x86_64-pc-linux-gnu-gcc -E conftest.c >configure:3135: $? = 0 >configure:3167: x86_64-pc-linux-gnu-gcc -E conftest.c >conftest.c:12:28: error: ac_nonexistent.h: No such file or directory >configure:3173: $? = 1 >configure: failed program was: >| /* confdefs.h. */ >| >| #define PACKAGE_NAME "netperf" >| #define PACKAGE_TARNAME "netperf" >| #define PACKAGE_VERSION "2.4.0" >| #define PACKAGE_STRING "netperf 2.4.0" >| #define PACKAGE_BUGREPORT "" >| #define PACKAGE "netperf" >| #define VERSION "2.4.0" >| #define HAVE_LIBM 1 >| /* end confdefs.h. */ >| #include <ac_nonexistent.h> >configure:3212: result: x86_64-pc-linux-gnu-gcc -E >configure:3236: x86_64-pc-linux-gnu-gcc -E conftest.c >configure:3242: $? = 0 >configure:3274: x86_64-pc-linux-gnu-gcc -E conftest.c >conftest.c:12:28: error: ac_nonexistent.h: No such file or directory >configure:3280: $? = 1 >configure: failed program was: >| /* confdefs.h. */ >| >| #define PACKAGE_NAME "netperf" >| #define PACKAGE_TARNAME "netperf" >| #define PACKAGE_VERSION "2.4.0" >| #define PACKAGE_STRING "netperf 2.4.0" >| #define PACKAGE_BUGREPORT "" >| #define PACKAGE "netperf" >| #define VERSION "2.4.0" >| #define HAVE_LIBM 1 >| /* end confdefs.h. */ >| #include <ac_nonexistent.h> >configure:3324: checking for egrep >configure:3334: result: grep -E >configure:3339: checking for ANSI C header files >configure:3364: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:3370: $? = 0 >configure:3373: test -z || test ! -s conftest.err >configure:3376: $? = 0 >configure:3379: test -s conftest.o >configure:3382: $? = 0 >configure:3471: x86_64-pc-linux-gnu-gcc -o conftest -O2 conftest.c -lm >&5 >conftest.c: In function 'main': >conftest.c:29: warning: incompatible implicit declaration of built-in function 'exit' >configure:3474: $? = 0 >configure:3476: ./conftest >configure:3479: $? = 0 >configure:3494: result: yes >configure:3504: checking for sys/wait.h that is POSIX.1 compatible >configure:3535: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:3541: $? = 0 >configure:3544: test -z || test ! -s conftest.err >configure:3547: $? = 0 >configure:3550: test -s conftest.o >configure:3553: $? = 0 >configure:3564: result: yes >configure:3588: checking for sys/types.h >configure:3604: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:3610: $? = 0 >configure:3613: test -z || test ! -s conftest.err >configure:3616: $? = 0 >configure:3619: test -s conftest.o >configure:3622: $? = 0 >configure:3633: result: yes >configure:3588: checking for sys/stat.h >configure:3604: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:3610: $? = 0 >configure:3613: test -z || test ! -s conftest.err >configure:3616: $? = 0 >configure:3619: test -s conftest.o >configure:3622: $? = 0 >configure:3633: result: yes >configure:3588: checking for stdlib.h >configure:3604: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:3610: $? = 0 >configure:3613: test -z || test ! -s conftest.err >configure:3616: $? = 0 >configure:3619: test -s conftest.o >configure:3622: $? = 0 >configure:3633: result: yes >configure:3588: checking for string.h >configure:3604: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:3610: $? = 0 >configure:3613: test -z || test ! -s conftest.err >configure:3616: $? = 0 >configure:3619: test -s conftest.o >configure:3622: $? = 0 >configure:3633: result: yes >configure:3588: checking for memory.h >configure:3604: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:3610: $? = 0 >configure:3613: test -z || test ! -s conftest.err >configure:3616: $? = 0 >configure:3619: test -s conftest.o >configure:3622: $? = 0 >configure:3633: result: yes >configure:3588: checking for strings.h >configure:3604: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:3610: $? = 0 >configure:3613: test -z || test ! -s conftest.err >configure:3616: $? = 0 >configure:3619: test -s conftest.o >configure:3622: $? = 0 >configure:3633: result: yes >configure:3588: checking for inttypes.h >configure:3604: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:3610: $? = 0 >configure:3613: test -z || test ! -s conftest.err >configure:3616: $? = 0 >configure:3619: test -s conftest.o >configure:3622: $? = 0 >configure:3633: result: yes >configure:3588: checking for stdint.h >configure:3604: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:3610: $? = 0 >configure:3613: test -z || test ! -s conftest.err >configure:3616: $? = 0 >configure:3619: test -s conftest.o >configure:3622: $? = 0 >configure:3633: result: yes >configure:3588: checking for unistd.h >configure:3604: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:3610: $? = 0 >configure:3613: test -z || test ! -s conftest.err >configure:3616: $? = 0 >configure:3619: test -s conftest.o >configure:3622: $? = 0 >configure:3633: result: yes >configure:3672: checking arpa/inet.h usability >configure:3684: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:3690: $? = 0 >configure:3693: test -z || test ! -s conftest.err >configure:3696: $? = 0 >configure:3699: test -s conftest.o >configure:3702: $? = 0 >configure:3712: result: yes >configure:3716: checking arpa/inet.h presence >configure:3726: x86_64-pc-linux-gnu-gcc -E conftest.c >configure:3732: $? = 0 >configure:3752: result: yes >configure:3787: checking for arpa/inet.h >configure:3794: result: yes >configure:3672: checking fcntl.h usability >configure:3684: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:3690: $? = 0 >configure:3693: test -z || test ! -s conftest.err >configure:3696: $? = 0 >configure:3699: test -s conftest.o >configure:3702: $? = 0 >configure:3712: result: yes >configure:3716: checking fcntl.h presence >configure:3726: x86_64-pc-linux-gnu-gcc -E conftest.c >configure:3732: $? = 0 >configure:3752: result: yes >configure:3787: checking for fcntl.h >configure:3794: result: yes >configure:3672: checking limits.h usability >configure:3684: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:3690: $? = 0 >configure:3693: test -z || test ! -s conftest.err >configure:3696: $? = 0 >configure:3699: test -s conftest.o >configure:3702: $? = 0 >configure:3712: result: yes >configure:3716: checking limits.h presence >configure:3726: x86_64-pc-linux-gnu-gcc -E conftest.c >configure:3732: $? = 0 >configure:3752: result: yes >configure:3787: checking for limits.h >configure:3794: result: yes >configure:3672: checking malloc.h usability >configure:3684: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:3690: $? = 0 >configure:3693: test -z || test ! -s conftest.err >configure:3696: $? = 0 >configure:3699: test -s conftest.o >configure:3702: $? = 0 >configure:3712: result: yes >configure:3716: checking malloc.h presence >configure:3726: x86_64-pc-linux-gnu-gcc -E conftest.c >configure:3732: $? = 0 >configure:3752: result: yes >configure:3787: checking for malloc.h >configure:3794: result: yes >configure:3672: checking netdb.h usability >configure:3684: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:3690: $? = 0 >configure:3693: test -z || test ! -s conftest.err >configure:3696: $? = 0 >configure:3699: test -s conftest.o >configure:3702: $? = 0 >configure:3712: result: yes >configure:3716: checking netdb.h presence >configure:3726: x86_64-pc-linux-gnu-gcc -E conftest.c >configure:3732: $? = 0 >configure:3752: result: yes >configure:3787: checking for netdb.h >configure:3794: result: yes >configure:3672: checking netinet/in.h usability >configure:3684: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:3690: $? = 0 >configure:3693: test -z || test ! -s conftest.err >configure:3696: $? = 0 >configure:3699: test -s conftest.o >configure:3702: $? = 0 >configure:3712: result: yes >configure:3716: checking netinet/in.h presence >configure:3726: x86_64-pc-linux-gnu-gcc -E conftest.c >configure:3732: $? = 0 >configure:3752: result: yes >configure:3787: checking for netinet/in.h >configure:3794: result: yes >configure:3663: checking for stdlib.h >configure:3668: result: yes >configure:3663: checking for string.h >configure:3668: result: yes >configure:3663: checking for strings.h >configure:3668: result: yes >configure:3672: checking sys/ioctl.h usability >configure:3684: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:3690: $? = 0 >configure:3693: test -z || test ! -s conftest.err >configure:3696: $? = 0 >configure:3699: test -s conftest.o >configure:3702: $? = 0 >configure:3712: result: yes >configure:3716: checking sys/ioctl.h presence >configure:3726: x86_64-pc-linux-gnu-gcc -E conftest.c >configure:3732: $? = 0 >configure:3752: result: yes >configure:3787: checking for sys/ioctl.h >configure:3794: result: yes >configure:3672: checking sys/param.h usability >configure:3684: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:3690: $? = 0 >configure:3693: test -z || test ! -s conftest.err >configure:3696: $? = 0 >configure:3699: test -s conftest.o >configure:3702: $? = 0 >configure:3712: result: yes >configure:3716: checking sys/param.h presence >configure:3726: x86_64-pc-linux-gnu-gcc -E conftest.c >configure:3732: $? = 0 >configure:3752: result: yes >configure:3787: checking for sys/param.h >configure:3794: result: yes >configure:3672: checking sys/socket.h usability >configure:3684: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:3690: $? = 0 >configure:3693: test -z || test ! -s conftest.err >configure:3696: $? = 0 >configure:3699: test -s conftest.o >configure:3702: $? = 0 >configure:3712: result: yes >configure:3716: checking sys/socket.h presence >configure:3726: x86_64-pc-linux-gnu-gcc -E conftest.c >configure:3732: $? = 0 >configure:3752: result: yes >configure:3787: checking for sys/socket.h >configure:3794: result: yes >configure:3672: checking sys/time.h usability >configure:3684: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:3690: $? = 0 >configure:3693: test -z || test ! -s conftest.err >configure:3696: $? = 0 >configure:3699: test -s conftest.o >configure:3702: $? = 0 >configure:3712: result: yes >configure:3716: checking sys/time.h presence >configure:3726: x86_64-pc-linux-gnu-gcc -E conftest.c >configure:3732: $? = 0 >configure:3752: result: yes >configure:3787: checking for sys/time.h >configure:3794: result: yes >configure:3663: checking for unistd.h >configure:3668: result: yes >configure:3810: checking for main in -lsocket >configure:3834: x86_64-pc-linux-gnu-gcc -o conftest -O2 conftest.c -lsocket -lm >&5 >/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lsocket >collect2: ld returned 1 exit status >configure:3840: $? = 1 >configure: failed program was: >| /* confdefs.h. */ >| >| #define PACKAGE_NAME "netperf" >| #define PACKAGE_TARNAME "netperf" >| #define PACKAGE_VERSION "2.4.0" >| #define PACKAGE_STRING "netperf 2.4.0" >| #define PACKAGE_BUGREPORT "" >| #define PACKAGE "netperf" >| #define VERSION "2.4.0" >| #define HAVE_LIBM 1 >| #define STDC_HEADERS 1 >| #define HAVE_SYS_WAIT_H 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_ARPA_INET_H 1 >| #define HAVE_FCNTL_H 1 >| #define HAVE_LIMITS_H 1 >| #define HAVE_MALLOC_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_SYS_IOCTL_H 1 >| #define HAVE_SYS_PARAM_H 1 >| #define HAVE_SYS_SOCKET_H 1 >| #define HAVE_SYS_TIME_H 1 >| #define HAVE_UNISTD_H 1 >| /* end confdefs.h. */ >| >| >| int >| main () >| { >| main (); >| ; >| return 0; >| } >configure:3865: result: no >configure:3949: checking for an ANSI C-conforming const >configure:4045: result: yes >configure:4055: checking for off_t >configure:4079: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:4085: $? = 0 >configure:4088: test -z || test ! -s conftest.err >configure:4091: $? = 0 >configure:4094: test -s conftest.o >configure:4097: $? = 0 >configure:4108: result: yes >configure:4120: checking for size_t >configure:4144: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:4150: $? = 0 >configure:4153: test -z || test ! -s conftest.err >configure:4156: $? = 0 >configure:4159: test -s conftest.o >configure:4162: $? = 0 >configure:4173: result: yes >configure:4188: checking for socklen_t equivalent >configure:4227: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >conftest.c:45: error: conflicting types for 'getpeername' >/usr/include/gentoo-multilib/amd64/sys/socket.h:129: error: previous declaration of 'getpeername' was here >configure:4233: $? = 1 >configure: failed program was: >| /* confdefs.h. */ >| >| #define PACKAGE_NAME "netperf" >| #define PACKAGE_TARNAME "netperf" >| #define PACKAGE_VERSION "2.4.0" >| #define PACKAGE_STRING "netperf 2.4.0" >| #define PACKAGE_BUGREPORT "" >| #define PACKAGE "netperf" >| #define VERSION "2.4.0" >| #define HAVE_LIBM 1 >| #define STDC_HEADERS 1 >| #define HAVE_SYS_WAIT_H 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_ARPA_INET_H 1 >| #define HAVE_FCNTL_H 1 >| #define HAVE_LIMITS_H 1 >| #define HAVE_MALLOC_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_SYS_IOCTL_H 1 >| #define HAVE_SYS_PARAM_H 1 >| #define HAVE_SYS_SOCKET_H 1 >| #define HAVE_SYS_TIME_H 1 >| #define HAVE_UNISTD_H 1 >| /* end confdefs.h. */ >| >| #ifdef HAVE_SYS_TYPES_H >| #include <sys/types.h> >| #endif >| #ifdef HAVE_SYS_SOCKET_H >| #include <sys/socket.h> >| #endif >| >| int getpeername (int, struct sockaddr *, int *); >| >| int >| main () >| { >| >| int len; >| getpeername(0,0,&len); >| >| ; >| return 0; >| } >configure:4227: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >conftest.c:45: error: conflicting types for 'getpeername' >/usr/include/gentoo-multilib/amd64/sys/socket.h:129: error: previous declaration of 'getpeername' was here >configure:4233: $? = 1 >configure: failed program was: >| /* confdefs.h. */ >| >| #define PACKAGE_NAME "netperf" >| #define PACKAGE_TARNAME "netperf" >| #define PACKAGE_VERSION "2.4.0" >| #define PACKAGE_STRING "netperf 2.4.0" >| #define PACKAGE_BUGREPORT "" >| #define PACKAGE "netperf" >| #define VERSION "2.4.0" >| #define HAVE_LIBM 1 >| #define STDC_HEADERS 1 >| #define HAVE_SYS_WAIT_H 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_ARPA_INET_H 1 >| #define HAVE_FCNTL_H 1 >| #define HAVE_LIMITS_H 1 >| #define HAVE_MALLOC_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_SYS_IOCTL_H 1 >| #define HAVE_SYS_PARAM_H 1 >| #define HAVE_SYS_SOCKET_H 1 >| #define HAVE_SYS_TIME_H 1 >| #define HAVE_UNISTD_H 1 >| /* end confdefs.h. */ >| >| #ifdef HAVE_SYS_TYPES_H >| #include <sys/types.h> >| #endif >| #ifdef HAVE_SYS_SOCKET_H >| #include <sys/socket.h> >| #endif >| >| int getpeername (int, struct sockaddr *, size_t *); >| >| int >| main () >| { >| >| size_t len; >| getpeername(0,0,&len); >| >| ; >| return 0; >| } >configure:4227: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >configure:4233: $? = 0 >configure:4236: test -z || test ! -s conftest.err >configure:4239: $? = 0 >configure:4242: test -s conftest.o >configure:4245: $? = 0 >configure:4227: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >conftest.c:45: error: conflicting types for 'getpeername' >/usr/include/gentoo-multilib/amd64/sys/socket.h:129: error: previous declaration of 'getpeername' was here >configure:4233: $? = 1 >configure: failed program was: >| /* confdefs.h. */ >| >| #define PACKAGE_NAME "netperf" >| #define PACKAGE_TARNAME "netperf" >| #define PACKAGE_VERSION "2.4.0" >| #define PACKAGE_STRING "netperf 2.4.0" >| #define PACKAGE_BUGREPORT "" >| #define PACKAGE "netperf" >| #define VERSION "2.4.0" >| #define HAVE_LIBM 1 >| #define STDC_HEADERS 1 >| #define HAVE_SYS_WAIT_H 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_ARPA_INET_H 1 >| #define HAVE_FCNTL_H 1 >| #define HAVE_LIMITS_H 1 >| #define HAVE_MALLOC_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_SYS_IOCTL_H 1 >| #define HAVE_SYS_PARAM_H 1 >| #define HAVE_SYS_SOCKET_H 1 >| #define HAVE_SYS_TIME_H 1 >| #define HAVE_UNISTD_H 1 >| /* end confdefs.h. */ >| >| #ifdef HAVE_SYS_TYPES_H >| #include <sys/types.h> >| #endif >| #ifdef HAVE_SYS_SOCKET_H >| #include <sys/socket.h> >| #endif >| >| int getpeername (int, void *, int *); >| >| int >| main () >| { >| >| int len; >| getpeername(0,0,&len); >| >| ; >| return 0; >| } >configure:4227: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >conftest.c:45: error: conflicting types for 'getpeername' >/usr/include/gentoo-multilib/amd64/sys/socket.h:129: error: previous declaration of 'getpeername' was here >configure:4233: $? = 1 >configure: failed program was: >| /* confdefs.h. */ >| >| #define PACKAGE_NAME "netperf" >| #define PACKAGE_TARNAME "netperf" >| #define PACKAGE_VERSION "2.4.0" >| #define PACKAGE_STRING "netperf 2.4.0" >| #define PACKAGE_BUGREPORT "" >| #define PACKAGE "netperf" >| #define VERSION "2.4.0" >| #define HAVE_LIBM 1 >| #define STDC_HEADERS 1 >| #define HAVE_SYS_WAIT_H 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_ARPA_INET_H 1 >| #define HAVE_FCNTL_H 1 >| #define HAVE_LIMITS_H 1 >| #define HAVE_MALLOC_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_SYS_IOCTL_H 1 >| #define HAVE_SYS_PARAM_H 1 >| #define HAVE_SYS_SOCKET_H 1 >| #define HAVE_SYS_TIME_H 1 >| #define HAVE_UNISTD_H 1 >| /* end confdefs.h. */ >| >| #ifdef HAVE_SYS_TYPES_H >| #include <sys/types.h> >| #endif >| #ifdef HAVE_SYS_SOCKET_H >| #include <sys/socket.h> >| #endif >| >| int getpeername (int, void *, size_t *); >| >| int >| main () >| { >| >| size_t len; >| getpeername(0,0,&len); >| >| ; >| return 0; >| } >configure:4227: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >conftest.c:45: error: conflicting types for 'getpeername' >/usr/include/gentoo-multilib/amd64/sys/socket.h:129: error: previous declaration of 'getpeername' was here >configure:4233: $? = 1 >configure: failed program was: >| /* confdefs.h. */ >| >| #define PACKAGE_NAME "netperf" >| #define PACKAGE_TARNAME "netperf" >| #define PACKAGE_VERSION "2.4.0" >| #define PACKAGE_STRING "netperf 2.4.0" >| #define PACKAGE_BUGREPORT "" >| #define PACKAGE "netperf" >| #define VERSION "2.4.0" >| #define HAVE_LIBM 1 >| #define STDC_HEADERS 1 >| #define HAVE_SYS_WAIT_H 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_ARPA_INET_H 1 >| #define HAVE_FCNTL_H 1 >| #define HAVE_LIMITS_H 1 >| #define HAVE_MALLOC_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_SYS_IOCTL_H 1 >| #define HAVE_SYS_PARAM_H 1 >| #define HAVE_SYS_SOCKET_H 1 >| #define HAVE_SYS_TIME_H 1 >| #define HAVE_UNISTD_H 1 >| /* end confdefs.h. */ >| >| #ifdef HAVE_SYS_TYPES_H >| #include <sys/types.h> >| #endif >| #ifdef HAVE_SYS_SOCKET_H >| #include <sys/socket.h> >| #endif >| >| int getpeername (int, void *, unsigned *); >| >| int >| main () >| { >| >| unsigned len; >| getpeername(0,0,&len); >| >| ; >| return 0; >| } >configure:4227: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >conftest.c:45: error: conflicting types for 'getpeername' >/usr/include/gentoo-multilib/amd64/sys/socket.h:129: error: previous declaration of 'getpeername' was here >configure:4233: $? = 1 >configure: failed program was: >| /* confdefs.h. */ >| >| #define PACKAGE_NAME "netperf" >| #define PACKAGE_TARNAME "netperf" >| #define PACKAGE_VERSION "2.4.0" >| #define PACKAGE_STRING "netperf 2.4.0" >| #define PACKAGE_BUGREPORT "" >| #define PACKAGE "netperf" >| #define VERSION "2.4.0" >| #define HAVE_LIBM 1 >| #define STDC_HEADERS 1 >| #define HAVE_SYS_WAIT_H 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_ARPA_INET_H 1 >| #define HAVE_FCNTL_H 1 >| #define HAVE_LIMITS_H 1 >| #define HAVE_MALLOC_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_SYS_IOCTL_H 1 >| #define HAVE_SYS_PARAM_H 1 >| #define HAVE_SYS_SOCKET_H 1 >| #define HAVE_SYS_TIME_H 1 >| #define HAVE_UNISTD_H 1 >| /* end confdefs.h. */ >| >| #ifdef HAVE_SYS_TYPES_H >| #include <sys/types.h> >| #endif >| #ifdef HAVE_SYS_SOCKET_H >| #include <sys/socket.h> >| #endif >| >| int getpeername (int, void *, long *); >| >| int >| main () >| { >| >| long len; >| getpeername(0,0,&len); >| >| ; >| return 0; >| } >configure:4227: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >conftest.c:45: error: conflicting types for 'getpeername' >/usr/include/gentoo-multilib/amd64/sys/socket.h:129: error: previous declaration of 'getpeername' was here >configure:4233: $? = 1 >configure: failed program was: >| /* confdefs.h. */ >| >| #define PACKAGE_NAME "netperf" >| #define PACKAGE_TARNAME "netperf" >| #define PACKAGE_VERSION "2.4.0" >| #define PACKAGE_STRING "netperf 2.4.0" >| #define PACKAGE_BUGREPORT "" >| #define PACKAGE "netperf" >| #define VERSION "2.4.0" >| #define HAVE_LIBM 1 >| #define STDC_HEADERS 1 >| #define HAVE_SYS_WAIT_H 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_ARPA_INET_H 1 >| #define HAVE_FCNTL_H 1 >| #define HAVE_LIMITS_H 1 >| #define HAVE_MALLOC_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_SYS_IOCTL_H 1 >| #define HAVE_SYS_PARAM_H 1 >| #define HAVE_SYS_SOCKET_H 1 >| #define HAVE_SYS_TIME_H 1 >| #define HAVE_UNISTD_H 1 >| /* end confdefs.h. */ >| >| #ifdef HAVE_SYS_TYPES_H >| #include <sys/types.h> >| #endif >| #ifdef HAVE_SYS_SOCKET_H >| #include <sys/socket.h> >| #endif >| >| int getpeername (int, void *, unsigned long *); >| >| int >| main () >| { >| >| unsigned long len; >| getpeername(0,0,&len); >| >| ; >| return 0; >| } >configure:4227: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >conftest.c:45: error: conflicting types for 'getpeername' >/usr/include/gentoo-multilib/amd64/sys/socket.h:129: error: previous declaration of 'getpeername' was here >configure:4233: $? = 1 >configure: failed program was: >| /* confdefs.h. */ >| >| #define PACKAGE_NAME "netperf" >| #define PACKAGE_TARNAME "netperf" >| #define PACKAGE_VERSION "2.4.0" >| #define PACKAGE_STRING "netperf 2.4.0" >| #define PACKAGE_BUGREPORT "" >| #define PACKAGE "netperf" >| #define VERSION "2.4.0" >| #define HAVE_LIBM 1 >| #define STDC_HEADERS 1 >| #define HAVE_SYS_WAIT_H 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_ARPA_INET_H 1 >| #define HAVE_FCNTL_H 1 >| #define HAVE_LIMITS_H 1 >| #define HAVE_MALLOC_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_SYS_IOCTL_H 1 >| #define HAVE_SYS_PARAM_H 1 >| #define HAVE_SYS_SOCKET_H 1 >| #define HAVE_SYS_TIME_H 1 >| #define HAVE_UNISTD_H 1 >| /* end confdefs.h. */ >| >| #ifdef HAVE_SYS_TYPES_H >| #include <sys/types.h> >| #endif >| #ifdef HAVE_SYS_SOCKET_H >| #include <sys/socket.h> >| #endif >| >| int getpeername (int, void *, socklen_t *); >| >| int >| main () >| { >| >| socklen_t len; >| getpeername(0,0,&len); >| >| ; >| return 0; >| } >configure:4268: result: unsigned >configure:4277: checking for in_port_t >configure:4303: x86_64-pc-linux-gnu-gcc -c -O2 conftest.c >&5 >In file included from /usr/include/bits/socket.h:8, > from /usr/include/gentoo-multilib/amd64/sys/socket.h:35, > from /usr/include/sys/socket.h:8, > from conftest.c:40: >/usr/include/gentoo-multilib/amd64/bits/socket.h:36: error: two or more data types in declaration specifiers >configure:4309: $? = 1 >configure: failed program was: >| /* confdefs.h. */ >| >| #define PACKAGE_NAME "netperf" >| #define PACKAGE_TARNAME "netperf" >| #define PACKAGE_VERSION "2.4.0" >| #define PACKAGE_STRING "netperf 2.4.0" >| #define PACKAGE_BUGREPORT "" >| #define PACKAGE "netperf" >| #define VERSION "2.4.0" >| #define HAVE_LIBM 1 >| #define STDC_HEADERS 1 >| #define HAVE_SYS_WAIT_H 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_ARPA_INET_H 1 >| #define HAVE_FCNTL_H 1 >| #define HAVE_LIMITS_H 1 >| #define HAVE_MALLOC_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_SYS_IOCTL_H 1 >| #define HAVE_SYS_PARAM_H 1 >| #define HAVE_SYS_SOCKET_H 1 >| #define HAVE_SYS_TIME_H 1 >| #define HAVE_UNISTD_H 1 >| #define socklen_t unsigned >| /* end confdefs.h. */ >| >| #include <sys/types.h> >| #include <sys/socket.h> >| #include <netinet/in.h> >| int >| main () >| { >| >| in_port_t in_port; >| >| ; >| return 0; >| } >configure:4332: result: no >configure:4360: x86_64-pc-linux-gnu-gcc -o conftest -O2 conftest.c -lm >&5 >In file included from /usr/include/bits/socket.h:8, > from /usr/include/gentoo-multilib/amd64/sys/socket.h:35, > from /usr/include/sys/socket.h:8, > from conftest.c:40: >/usr/include/gentoo-multilib/amd64/bits/socket.h:36: error: two or more data types in declaration specifiers >configure:4363: $? = 1 >configure: program exited with status 1 >configure: failed program was: >| /* confdefs.h. */ >| >| #define PACKAGE_NAME "netperf" >| #define PACKAGE_TARNAME "netperf" >| #define PACKAGE_VERSION "2.4.0" >| #define PACKAGE_STRING "netperf 2.4.0" >| #define PACKAGE_BUGREPORT "" >| #define PACKAGE "netperf" >| #define VERSION "2.4.0" >| #define HAVE_LIBM 1 >| #define STDC_HEADERS 1 >| #define HAVE_SYS_WAIT_H 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_ARPA_INET_H 1 >| #define HAVE_FCNTL_H 1 >| #define HAVE_LIMITS_H 1 >| #define HAVE_MALLOC_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_SYS_IOCTL_H 1 >| #define HAVE_SYS_PARAM_H 1 >| #define HAVE_SYS_SOCKET_H 1 >| #define HAVE_SYS_TIME_H 1 >| #define HAVE_UNISTD_H 1 >| #define socklen_t unsigned >| /* end confdefs.h. */ >| >| #include <sys/types.h> >| #include <sys/socket.h> >| #include <netinet/in.h> >| int main() { >| struct sockaddr_in addr; >| return (sizeof(addr.sin_port) == sizeof(long)) ? 0 : 1; >| } >| >configure:4403: x86_64-pc-linux-gnu-gcc -o conftest -O2 conftest.c -lm >&5 >In file included from /usr/include/bits/socket.h:8, > from /usr/include/gentoo-multilib/amd64/sys/socket.h:35, > from /usr/include/sys/socket.h:8, > from conftest.c:40: >/usr/include/gentoo-multilib/amd64/bits/socket.h:36: error: two or more data types in declaration specifiers >configure:4406: $? = 1 >configure: program exited with status 1 >configure: failed program was: >| /* confdefs.h. */ >| >| #define PACKAGE_NAME "netperf" >| #define PACKAGE_TARNAME "netperf" >| #define PACKAGE_VERSION "2.4.0" >| #define PACKAGE_STRING "netperf 2.4.0" >| #define PACKAGE_BUGREPORT "" >| #define PACKAGE "netperf" >| #define VERSION "2.4.0" >| #define HAVE_LIBM 1 >| #define STDC_HEADERS 1 >| #define HAVE_SYS_WAIT_H 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_ARPA_INET_H 1 >| #define HAVE_FCNTL_H 1 >| #define HAVE_LIMITS_H 1 >| #define HAVE_MALLOC_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_SYS_IOCTL_H 1 >| #define HAVE_SYS_PARAM_H 1 >| #define HAVE_SYS_SOCKET_H 1 >| #define HAVE_SYS_TIME_H 1 >| #define HAVE_UNISTD_H 1 >| #define socklen_t unsigned >| /* end confdefs.h. */ >| >| #include <sys/types.h> >| #include <sys/socket.h> >| #include <netinet/in.h> >| int main() { >| struct sockaddr_in addr; >| return (sizeof(addr.sin_port) == sizeof(int)) ? 0 : 1; >| } >| >configure:4446: x86_64-pc-linux-gnu-gcc -o conftest -O2 conftest.c -lm >&5 >In file included from /usr/include/bits/socket.h:8, > from /usr/include/gentoo-multilib/amd64/sys/socket.h:35, > from /usr/include/sys/socket.h:8, > from conftest.c:40: >/usr/include/gentoo-multilib/amd64/bits/socket.h:36: error: two or more data types in declaration specifiers >configure:4449: $? = 1 >configure: program exited with status 1 >configure: failed program was: >| /* confdefs.h. */ >| >| #define PACKAGE_NAME "netperf" >| #define PACKAGE_TARNAME "netperf" >| #define PACKAGE_VERSION "2.4.0" >| #define PACKAGE_STRING "netperf 2.4.0" >| #define PACKAGE_BUGREPORT "" >| #define PACKAGE "netperf" >| #define VERSION "2.4.0" >| #define HAVE_LIBM 1 >| #define STDC_HEADERS 1 >| #define HAVE_SYS_WAIT_H 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_ARPA_INET_H 1 >| #define HAVE_FCNTL_H 1 >| #define HAVE_LIMITS_H 1 >| #define HAVE_MALLOC_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_SYS_IOCTL_H 1 >| #define HAVE_SYS_PARAM_H 1 >| #define HAVE_SYS_SOCKET_H 1 >| #define HAVE_SYS_TIME_H 1 >| #define HAVE_UNISTD_H 1 >| #define socklen_t unsigned >| /* end confdefs.h. */ >| >| #include <sys/types.h> >| #include <sys/socket.h> >| #include <netinet/in.h> >| int main() { >| struct sockaddr_in addr; >| return (sizeof(addr.sin_port) == sizeof(short)) ? 0 : 1; >| } >| >configure:4489: x86_64-pc-linux-gnu-gcc -o conftest -O2 conftest.c -lm >&5 >In file included from /usr/include/bits/socket.h:8, > from /usr/include/gentoo-multilib/amd64/sys/socket.h:35, > from /usr/include/sys/socket.h:8, > from conftest.c:40: >/usr/include/gentoo-multilib/amd64/bits/socket.h:36: error: two or more data types in declaration specifiers >configure:4492: $? = 1 >configure: program exited with status 1 >configure: failed program was: >| /* confdefs.h. */ >| >| #define PACKAGE_NAME "netperf" >| #define PACKAGE_TARNAME "netperf" >| #define PACKAGE_VERSION "2.4.0" >| #define PACKAGE_STRING "netperf 2.4.0" >| #define PACKAGE_BUGREPORT "" >| #define PACKAGE "netperf" >| #define VERSION "2.4.0" >| #define HAVE_LIBM 1 >| #define STDC_HEADERS 1 >| #define HAVE_SYS_WAIT_H 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_ARPA_INET_H 1 >| #define HAVE_FCNTL_H 1 >| #define HAVE_LIMITS_H 1 >| #define HAVE_MALLOC_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_SYS_IOCTL_H 1 >| #define HAVE_SYS_PARAM_H 1 >| #define HAVE_SYS_SOCKET_H 1 >| #define HAVE_SYS_TIME_H 1 >| #define HAVE_UNISTD_H 1 >| #define socklen_t unsigned >| /* end confdefs.h. */ >| >| #include <sys/types.h> >| #include <sys/socket.h> >| #include <netinet/in.h> >| int main() { >| struct sockaddr_in addr; >| return (sizeof(addr.sin_port) == sizeof(char)) ? 0 : 1; >| } >| >configure:4509: error: Failed to get size of sin_port in struct sockaddr_in. > >## ---------------- ## >## Cache variables. ## >## ---------------- ## > >ac_cv_build=x86_64-pc-linux-gnu >ac_cv_build_alias=x86_64-pc-linux-gnu >ac_cv_c_compiler_gnu=yes >ac_cv_c_const=yes >ac_cv_env_CC_set= >ac_cv_env_CC_value= >ac_cv_env_CFLAGS_set=set >ac_cv_env_CFLAGS_value=-O2 >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= >ac_cv_env_LDFLAGS_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_exeext= >ac_cv_header_arpa_inet_h=yes >ac_cv_header_fcntl_h=yes >ac_cv_header_inttypes_h=yes >ac_cv_header_limits_h=yes >ac_cv_header_malloc_h=yes >ac_cv_header_memory_h=yes >ac_cv_header_netdb_h=yes >ac_cv_header_netinet_in_h=yes >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_ioctl_h=yes >ac_cv_header_sys_param_h=yes >ac_cv_header_sys_socket_h=yes >ac_cv_header_sys_stat_h=yes >ac_cv_header_sys_time_h=yes >ac_cv_header_sys_types_h=yes >ac_cv_header_sys_wait_h=yes >ac_cv_header_unistd_h=yes >ac_cv_host=x86_64-pc-linux-gnu >ac_cv_host_alias=x86_64-pc-linux-gnu >ac_cv_lib_m=ac_cv_lib_m_main >ac_cv_lib_m_main=yes >ac_cv_lib_socket=ac_cv_lib_socket_main >ac_cv_lib_socket_main=no >ac_cv_objext=o >ac_cv_path_install='/bin/install -c' >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_cc_g=yes >ac_cv_prog_cc_stdc= >ac_cv_prog_egrep='grep -E' >ac_cv_prog_make_make_set=yes >ac_cv_sin_port_size=unknown >ac_cv_target=x86_64-pc-linux-gnu >ac_cv_target_alias=x86_64-pc-linux-gnu >ac_cv_type_in_port_t=no >ac_cv_type_off_t=yes >ac_cv_type_size_t=yes >am_cv_CC_dependencies_compiler_type=gcc3 >curl_cv_socklen_t_equiv=unsigned > >## ----------------- ## >## Output variables. ## >## ----------------- ## > >ACLOCAL='${SHELL} /var/tmp/portage/netperf-2.4.0/work/netperf-2.4.0/missing --run aclocal-1.7' >AMDEPBACKSLASH='\' >AMDEP_FALSE='#' >AMDEP_TRUE='' >AMTAR='${SHELL} /var/tmp/portage/netperf-2.4.0/work/netperf-2.4.0/missing --run tar' >AUTOCONF='${SHELL} /var/tmp/portage/netperf-2.4.0/work/netperf-2.4.0/missing --run autoconf' >AUTOHEADER='${SHELL} /var/tmp/portage/netperf-2.4.0/work/netperf-2.4.0/missing --run autoheader' >AUTOMAKE='${SHELL} /var/tmp/portage/netperf-2.4.0/work/netperf-2.4.0/missing --run automake-1.7' >AWK='gawk' >CC='x86_64-pc-linux-gnu-gcc' >CCDEPMODE='depmode=gcc3' >CFLAGS='-O2' >CPP='x86_64-pc-linux-gnu-gcc -E' >CPPFLAGS='' >CYGPATH_W='echo' >DEFS='' >DEPDIR='.deps' >ECHO_C='' >ECHO_N='-n' >ECHO_T='' >EGREP='grep -E' >EXEEXT='' >INSTALL_DATA='${INSTALL} -m 644' >INSTALL_PROGRAM='${INSTALL}' >INSTALL_SCRIPT='${INSTALL}' >INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' >LDFLAGS='' >LIBOBJS='' >LIBOJBS='' >LIBS='-lm ' >LTLIBOBJS='' >MAKEINFO='${SHELL} /var/tmp/portage/netperf-2.4.0/work/netperf-2.4.0/missing --run makeinfo' >NETCPU_SOURCE='' >OBJEXT='o' >PACKAGE='netperf' >PACKAGE_BUGREPORT='' >PACKAGE_NAME='netperf' >PACKAGE_STRING='netperf 2.4.0' >PACKAGE_TARNAME='netperf' >PACKAGE_VERSION='2.4.0' >PATH_SEPARATOR=':' >SET_MAKE='' >SHELL='/bin/sh' >STRIP='' >VERSION='2.4.0' >ac_ct_CC='' >ac_ct_STRIP='' >am__fastdepCC_FALSE='#' >am__fastdepCC_TRUE='' >am__include='include' >am__leading_dot='.' >am__quote='' >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' >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' >includedir='${prefix}/include' >infodir='/usr/share/info' >install_sh='/var/tmp/portage/netperf-2.4.0/work/netperf-2.4.0/install-sh' >libdir='/usr/lib64' >libexecdir='${exec_prefix}/libexec' >localstatedir='/var/lib' >mandir='/usr/share/man' >oldincludedir='/usr/include' >prefix='/usr' >program_transform_name='s,x,x,' >sbindir='${exec_prefix}/sbin' >sharedstatedir='${prefix}/com' >sysconfdir='/etc' >target='x86_64-pc-linux-gnu' >target_alias='' >target_cpu='x86_64' >target_os='linux-gnu' >target_vendor='pc' > >## ----------- ## >## confdefs.h. ## >## ----------- ## > >#define HAVE_ARPA_INET_H 1 >#define HAVE_FCNTL_H 1 >#define HAVE_INTTYPES_H 1 >#define HAVE_LIBM 1 >#define HAVE_LIMITS_H 1 >#define HAVE_MALLOC_H 1 >#define HAVE_MEMORY_H 1 >#define HAVE_NETDB_H 1 >#define HAVE_NETINET_IN_H 1 >#define HAVE_STDINT_H 1 >#define HAVE_STDLIB_H 1 >#define HAVE_STDLIB_H 1 >#define HAVE_STRINGS_H 1 >#define HAVE_STRINGS_H 1 >#define HAVE_STRING_H 1 >#define HAVE_STRING_H 1 >#define HAVE_SYS_IOCTL_H 1 >#define HAVE_SYS_PARAM_H 1 >#define HAVE_SYS_SOCKET_H 1 >#define HAVE_SYS_STAT_H 1 >#define HAVE_SYS_TIME_H 1 >#define HAVE_SYS_TYPES_H 1 >#define HAVE_SYS_WAIT_H 1 >#define HAVE_UNISTD_H 1 >#define HAVE_UNISTD_H 1 >#define PACKAGE "netperf" >#define PACKAGE_BUGREPORT "" >#define PACKAGE_NAME "netperf" >#define PACKAGE_STRING "netperf 2.4.0" >#define PACKAGE_TARNAME "netperf" >#define PACKAGE_VERSION "2.4.0" >#define STDC_HEADERS 1 >#define VERSION "2.4.0" >#define socklen_t unsigned > >configure: exit 1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 126334
: 82577 |
82578