linux-nfs-0.4.21 compilation blows up at getiversion

J. Maynard Gelinas (maynard@jmg.com)
Fri, 08 Jan 1999 17:40:03 -0500


Make output follows:

[...]
Building getkversion done.
Making all in getiversion
gcc -g -O2 -I../../support/include -I../../kernel/include
-I../../ksrc/include -Wall -pipe -DHAVE_NETGROUPS -Wno-unused -c
getiversion.c -o getiversion.o
In file included from /usr/include/unistd.h:148,
from getiversion.c:10:
/usr/include/gnu/types.h:75: warning: `__NFDBITS' redefined
../../ksrc/include/linux/posix_types.h:30: warning: this is the location
of the previous definition
/usr/include/gnu/types.h:77: warning: `__FDMASK' redefined
../../ksrc/include/linux/posix_types.h:42: warning: this is the location
of the previous definition
In file included from /usr/include/fcntlbits.h:23,
from /usr/include/fcntl.h:33,
from getiversion.c:11:
/usr/include/sys/types.h:117: warning: `__BIT_TYPES_DEFINED__' redefined
../../ksrc/include/linux/types.h:73: warning: this is the location of the
previous definition
In file included from /usr/include/sys/select.h:31,
from /usr/include/sys/types.h:126,
from /usr/include/fcntlbits.h:23,
from /usr/include/fcntl.h:33,
from getiversion.c:11:
/usr/include/selectbits.h:30: warning: `__FD_ZERO' redefined
../../ksrc/include/asm/posix_types.h:69: warning: this is the location of
the previous definition
/usr/include/selectbits.h:35: warning: `__FD_SET' redefined
../../ksrc/include/asm/posix_types.h:45: warning: this is the location of
the previous definition
/usr/include/selectbits.h:40: warning: `__FD_CLR' redefined
../../ksrc/include/asm/posix_types.h:50: warning: this is the location of
the previous definition
/usr/include/selectbits.h:49: warning: `__FD_ISSET' redefined
../../ksrc/include/asm/posix_types.h:58: warning: this is the location of
the previous definition
In file included from getiversion.c:10:
/usr/include/unistd.h:151: warning: redefinition of `ssize_t'
../../ksrc/include/linux/types.h:37: warning: `ssize_t' previously
declared here
In file included from /usr/include/fcntlbits.h:23,
from /usr/include/fcntl.h:33,
from getiversion.c:11:
/usr/include/sys/types.h:33: warning: redefinition of `u_char'
../../ksrc/include/linux/types.h:61: warning: `u_char' previously declared
here
/usr/include/sys/types.h:34: warning: redefinition of `u_short'
../../ksrc/include/linux/types.h:62: warning: `u_short' previously
declared here
/usr/include/sys/types.h:35: warning: redefinition of `u_int'
../../ksrc/include/linux/types.h:63: warning: `u_int' previously declared
here
/usr/include/sys/types.h:36: warning: redefinition of `u_long'
../../ksrc/include/linux/types.h:64: warning: `u_long' previously declared
here
/usr/include/sys/types.h:42: conflicting types for `dev_t'
../../ksrc/include/linux/types.h:10: previous declaration of `dev_t'
/usr/include/sys/types.h:43: conflicting types for `gid_t'
../../ksrc/include/linux/types.h:17: previous declaration of `gid_t'
/usr/include/sys/types.h:44: warning: redefinition of `ino_t'
../../ksrc/include/linux/types.h:11: warning: `ino_t' previously declared
here
/usr/include/sys/types.h:45: conflicting types for `mode_t'
../../ksrc/include/linux/types.h:12: previous declaration of `mode_t'
/usr/include/sys/types.h:46: conflicting types for `nlink_t'
../../ksrc/include/linux/types.h:13: previous declaration of `nlink_t'
/usr/include/sys/types.h:47: warning: redefinition of `off_t'
../../ksrc/include/linux/types.h:14: warning: `off_t' previously declared
here
/usr/include/sys/types.h:48: warning: redefinition of `loff_t'
../../ksrc/include/linux/types.h:23: warning: `loff_t' previously declared
here
/usr/include/sys/types.h:49: warning: redefinition of `pid_t'
../../ksrc/include/linux/types.h:15: warning: `pid_t' previously declared
here
/usr/include/sys/types.h:50: conflicting types for `uid_t'
../../ksrc/include/linux/types.h:16: previous declaration of `uid_t'
/usr/include/sys/types.h:58: warning: redefinition of `daddr_t'
../../ksrc/include/linux/types.h:18: warning: `daddr_t' previously
declared here
/usr/include/sys/types.h:59: warning: redefinition of `caddr_t'
../../ksrc/include/linux/types.h:57: warning: `caddr_t' previously
declared here
/usr/include/sys/types.h:63: warning: redefinition of `key_t'
../../ksrc/include/linux/types.h:19: warning: `key_t' previously declared
here
In file included from /usr/include/sys/types.h:67,
from /usr/include/fcntlbits.h:23,
from /usr/include/fcntl.h:33,
from getiversion.c:11:
/usr/include/time.h:78: warning: redefinition of `time_t'
../../ksrc/include/linux/types.h:47: warning: `time_t' previously declared
here
In file included from /usr/include/fcntlbits.h:23,
from /usr/include/fcntl.h:33,
from getiversion.c:11:
/usr/include/sys/types.h:74: warning: redefinition of `ulong'
../../ksrc/include/linux/types.h:70: warning: `ulong' previously declared
here
/usr/include/sys/types.h:75: warning: redefinition of `ushort'
../../ksrc/include/linux/types.h:68: warning: `ushort' previously declared
here
/usr/include/sys/types.h:76: warning: redefinition of `uint'
../../ksrc/include/linux/types.h:69: warning: `uint' previously declared
here
/usr/include/sys/types.h:103: warning: redefinition of `int8_t'
../../ksrc/include/linux/types.h:76: warning: `int8_t' previously declared
here
/usr/include/sys/types.h:104: warning: redefinition of `u_int8_t'
../../ksrc/include/linux/types.h:75: warning: `u_int8_t' previously
declared here
/usr/include/sys/types.h:105: warning: redefinition of `int16_t'
../../ksrc/include/linux/types.h:78: warning: `int16_t' previously
declared here
/usr/include/sys/types.h:106: warning: redefinition of `u_int16_t'
../../ksrc/include/linux/types.h:77: warning: `u_int16_t' previously
declared here
/usr/include/sys/types.h:107: warning: redefinition of `int32_t'
../../ksrc/include/linux/types.h:80: warning: `int32_t' previously
declared here
/usr/include/sys/types.h:108: warning: redefinition of `u_int32_t'
../../ksrc/include/linux/types.h:79: warning: `u_int32_t' previously
declared here
/usr/include/sys/types.h:109: warning: redefinition of `int64_t'
../../ksrc/include/linux/types.h:91: warning: `int64_t' previously
declared here
/usr/include/sys/types.h:110: warning: redefinition of `u_int64_t'
../../ksrc/include/linux/types.h:90: warning: `u_int64_t' previously
declared here
In file included from /usr/include/sys/types.h:126,
from /usr/include/fcntlbits.h:23,
from /usr/include/fcntl.h:33,
from getiversion.c:11:
/usr/include/sys/select.h:48: conflicting types for `fd_set'
../../ksrc/include/linux/types.h:9: previous declaration of `fd_set'
make[2]: *** [getiversion.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
[root@babel linux-nfs-0.4.21]#

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/