История изменений
Исправление ZenitharChampion, (текущая версия) :
gcc rpc_sample.c -c -std=gnu99 -fgnu89-inline -DNDEBUG -O3 -Wall -Winline -Wwrite-strings -fasynchronous-unwind-tables -fmerge-all-constants -frounding-math -g -march=i686 -mtune=generic -Wstrict-prototypes -Wa,-mtune=i686 -mno-tls-direct-seg-refs -D_RPC_THREAD_SAFE_ -I../include -I/usr/src/redhat/BUILD/glibc-2.17-c758a686/build-i686-redhat-linux/sunrpc -I/usr/src/redhat/BUILD/glibc-2.17-c758a686/build-i686-redhat-linux -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/i386/nptl -I../sysdeps/unix/sysv/linux/i386 -I../ports/sysdeps/unix/sysv/linux -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../rtkaio/sysdeps/pthread -I../sysdeps/pthread -I../rtkaio/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv -I../nptl/sysdeps/unix/sysv -I../rtkaio/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../ports/sysdeps/unix -I../nptl/sysdeps/unix -I../rtkaio/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu/multiarch -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686/multiarch -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/x86/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/x86 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic -I../ports -I../nptl -I../rtkaio -I.. -I../libio -I. -nostdinc -isystem /opt/centos/devtoolset-2/root/usr/bin/../lib/gcc/i386-redhat-linux/4.8.2/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DNO_TLS_DIRECT_SEG_REFS -DNOT_IN_libc=1 -D_RPC_THREAD_SAFE_ -o /usr/src/redhat/BUILD/glibc-2.17-c758a686/build-i686-redhat-linux/sunrpc/rpc_sample.o -MD -MP -MF /usr/src/redhat/BUILD/glibc-2.17-c758a686/build-i686-redhat-linux/sunrpc/rpc_sample.o.dt -MT /usr/src/redhat/BUILD/glibc-2.17-c758a686/build-i686-redhat-linux/sunrpc/rpc_sample.o
gcc -D_RPC_THREAD_SAFE_ -D_GNU_SOURCE -DIS_IN_build -include /usr/src/redhat/BUILD/glibc-2.17-c758a686/build-i686-redhat-linux/config.h rpc_main.c \
-o /usr/src/redhat/BUILD/glibc-2.17-c758a686/build-i686-redhat-linux/sunrpc/cross-rpc_main.o -MMD -MP -MF /usr/src/redhat/BUILD/glibc-2.17-c758a686/build-i686-redhat-linux/sunrpc/cross-rpc_main.o.dt -MT /usr/src/redhat/BUILD/glibc-2.17-c758a686/build-i686-redhat-linux/sunrpc/cross-rpc_main.o -c
In file included from /usr/include/stdio.h:36:0,
from rpc_main.c:38:
/usr/include/bits/types.h:179:1: error: unknown type name '__FSWORD_T_TYPE'
__STD_TYPE __FSWORD_T_TYPE __fsword_t;
^
/usr/include/bits/types.h:184:1: error: unknown type name '__SYSCALL_SLONG_TYPE'
__STD_TYPE __SYSCALL_SLONG_TYPE __syscall_slong_t;
^
/usr/include/bits/types.h:186:1: error: unknown type name '__SYSCALL_ULONG_TYPE'
__STD_TYPE __SYSCALL_ULONG_TYPE __syscall_ulong_t;
^
make[2]: *** [/usr/src/redhat/BUILD/glibc-2.17-c758a686/build-i686-redhat-linux/sunrpc/cross-rpc_main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.17-c758a686/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.17-c758a686'
make: *** [all] Error 2
Исходная версия ZenitharChampion, :
Теперь встало здесь:
gcc rpc_tblout.c -c -std=gnu99 -fgnu89-inline -DNDEBUG -O3 -Wall -Winline -Wwrite-strings -fasynchronous-unwind-tables -fmerge-all-constants -frounding-math -g -march=i686 -mtune=generic -Wstrict-prototypes -Wa,-mtune=i686 -mno-tls-direct-seg-refs -D_RPC_THREAD_SAFE_ -I../include -I/usr/src/redhat/BUILD/glibc-2.17-c758a686/build-i686-redhat-linux/sunrpc -I/usr/src/redhat/BUILD/glibc-2.17-c758a686/build-i686-redhat-linux -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/i386/nptl -I../sysdeps/unix/sysv/linux/i386 -I../ports/sysdeps/unix/sysv/linux -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../rtkaio/sysdeps/pthread -I../sysdeps/pthread -I../rtkaio/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv -I../nptl/sysdeps/unix/sysv -I../rtkaio/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../ports/sysdeps/unix -I../nptl/sysdeps/unix -I../rtkaio/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu/multiarch -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686/multiarch -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/x86/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/x86 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic -I../ports -I../nptl -I../rtkaio -I.. -I../libio -I. -nostdinc -isystem /opt/centos/devtoolset-2/root/usr/bin/../lib/gcc/i386-redhat-linux/4.8.2/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DNO_TLS_DIRECT_SEG_REFS -DNOT_IN_libc=1 -D_RPC_THREAD_SAFE_ -o /usr/src/redhat/BUILD/glibc-2.17-c758a686/build-i686-redhat-linux/sunrpc/rpc_tblout.o -MD -MP -MF /usr/src/redhat/BUILD/glibc-2.17-c758a686/build-i686-redhat-linux/sunrpc/rpc_tblout.o.dt -MT /usr/src/redhat/BUILD/glibc-2.17-c758a686/build-i686-redhat-linux/sunrpc/rpc_tblout.o
gcc rpc_sample.c -c -std=gnu99 -fgnu89-inline -DNDEBUG -O3 -Wall -Winline -Wwrite-strings -fasynchronous-unwind-tables -fmerge-all-constants -frounding-math -g -march=i686 -mtune=generic -Wstrict-prototypes -Wa,-mtune=i686 -mno-tls-direct-seg-refs -D_RPC_THREAD_SAFE_ -I../include -I/usr/src/redhat/BUILD/glibc-2.17-c758a686/build-i686-redhat-linux/sunrpc -I/usr/src/redhat/BUILD/glibc-2.17-c758a686/build-i686-redhat-linux -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/unix/sysv/linux/i386/nptl -I../sysdeps/unix/sysv/linux/i386 -I../ports/sysdeps/unix/sysv/linux -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../rtkaio/sysdeps/pthread -I../sysdeps/pthread -I../rtkaio/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv -I../nptl/sysdeps/unix/sysv -I../rtkaio/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../ports/sysdeps/unix -I../nptl/sysdeps/unix -I../rtkaio/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu/multiarch -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686/multiarch -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/x86/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/x86 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic -I../ports -I../nptl -I../rtkaio -I.. -I../libio -I. -nostdinc -isystem /opt/centos/devtoolset-2/root/usr/bin/../lib/gcc/i386-redhat-linux/4.8.2/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DNO_TLS_DIRECT_SEG_REFS -DNOT_IN_libc=1 -D_RPC_THREAD_SAFE_ -o /usr/src/redhat/BUILD/glibc-2.17-c758a686/build-i686-redhat-linux/sunrpc/rpc_sample.o -MD -MP -MF /usr/src/redhat/BUILD/glibc-2.17-c758a686/build-i686-redhat-linux/sunrpc/rpc_sample.o.dt -MT /usr/src/redhat/BUILD/glibc-2.17-c758a686/build-i686-redhat-linux/sunrpc/rpc_sample.o
gcc -D_RPC_THREAD_SAFE_ -D_GNU_SOURCE -DIS_IN_build -include /usr/src/redhat/BUILD/glibc-2.17-c758a686/build-i686-redhat-linux/config.h rpc_main.c \
-o /usr/src/redhat/BUILD/glibc-2.17-c758a686/build-i686-redhat-linux/sunrpc/cross-rpc_main.o -MMD -MP -MF /usr/src/redhat/BUILD/glibc-2.17-c758a686/build-i686-redhat-linux/sunrpc/cross-rpc_main.o.dt -MT /usr/src/redhat/BUILD/glibc-2.17-c758a686/build-i686-redhat-linux/sunrpc/cross-rpc_main.o -c
In file included from /usr/include/stdio.h:36:0,
from rpc_main.c:38:
/usr/include/bits/types.h:179:1: error: unknown type name '__FSWORD_T_TYPE'
__STD_TYPE __FSWORD_T_TYPE __fsword_t;
^
/usr/include/bits/types.h:184:1: error: unknown type name '__SYSCALL_SLONG_TYPE'
__STD_TYPE __SYSCALL_SLONG_TYPE __syscall_slong_t;
^
/usr/include/bits/types.h:186:1: error: unknown type name '__SYSCALL_ULONG_TYPE'
__STD_TYPE __SYSCALL_ULONG_TYPE __syscall_ulong_t;
^
make[2]: *** [/usr/src/redhat/BUILD/glibc-2.17-c758a686/build-i686-redhat-linux/sunrpc/cross-rpc_main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.17-c758a686/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.17-c758a686'
make: *** [all] Error 2