From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,648af9256d44f0f0,start X-Google-Attributes: gid111c93,public From: Shaughan Lavine Subject: nfs-0.4.21 doesn't compile Date: 1998/05/15 Message-ID: #1/1 X-Deja-AN: 353620768 X-Sender: shaughan@zillion.philosophy.arizona.edu Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: The University of Arizona Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha I have been totally unable to get nfs to work on my Enorex PC164 machine. The kernel part in 2.0.30 (as supplied by RH) made the machine die. I am now running linux 2.1.95, RH5.0, gcc 2.7.2.3 (I built a working kernel with EGCS-1.0.1-1 btw, but ncpfs-2.2.0.2 caused compiler errors so I gave up on it), glibc-2.0.7. When I try to compile linux-nfs-0.4.21 it fails. I don't know if this is an alpha problem, a gcc problem, a glibc problem, or an nfs problem. Any help, even advice about which other newsgroups to post to would be appreciated. The compiler output follows my signature. Thanks, Shaughan Shaughan Lavine Department of Philosophy The University of Arizona Post Office Box 210027 Tucson, Arizona 85721-0027 (520) 621-9145 office (520) 621-3120 department (520) 621-9559 department fax shaughan@ns.arizona.edu Only an animal can bray; ergo Socrates is an animal, if he can bray. But any animal, if he can bray, is a donkey. Ergo, Socrates is a donkey. --Geach, p. 143, Reference and Generality, 3rd ed, Cornell U.P., 1980. The opinions or statements expressed herein are my own and should not be taken as a position, opinion, or endorsement of the University of Arizona. Making all in tools Making all in rpcgen gcc -g -O2 -I../../support/include -I../../kernel/include -I../../ksrc/include -Wall -mno-fp-regs -ffixed-8 -pipe -DHAVE_NETGROUPS -Wno-unused -Wno-unused -c rpc_clntout.c -o rpc_clntout.o In file included from /usr/include/rpc/types.h:47, from rpc_clntout.c:41: /usr/include/stdlib.h:217: parse error before `__random' /usr/include/stdlib.h:217: warning: data definition has no type or storage class /usr/include/stdlib.h:218: parse error before `random' /usr/include/stdlib.h:218: warning: data definition has no type or storage class /usr/include/stdlib.h:246: parse error before `int32_t' /usr/include/stdlib.h:246: warning: no semicolon at end of struct or union /usr/include/stdlib.h:247: warning: data definition has no type or storage class /usr/include/stdlib.h:248: parse error before `*' /usr/include/stdlib.h:248: warning: data definition has no type or storage class /usr/include/stdlib.h:252: parse error before `*' /usr/include/stdlib.h:252: warning: data definition has no type or storage class /usr/include/stdlib.h:253: parse error before `}' /usr/include/stdlib.h:255: parse error before `int32_t' /usr/include/stdlib.h:256: parse error before `int32_t' In file included from /usr/include/rpc/types.h:54, from rpc_clntout.c:41: ../../ksrc/include/sys/time.h:10: parse error before `time_t' ../../ksrc/include/sys/time.h:10: warning: no semicolon at end of struct or union ../../ksrc/include/sys/time.h:12: parse error before `}' ../../ksrc/include/sys/time.h: In function `timespec_to_jiffies': ../../ksrc/include/sys/time.h:22: dereferencing pointer to incomplete type ../../ksrc/include/sys/time.h:23: dereferencing pointer to incomplete type ../../ksrc/include/sys/time.h: In function `jiffies_to_timespec': ../../ksrc/include/sys/time.h:35: dereferencing pointer to incomplete type ../../ksrc/include/sys/time.h:36: dereferencing pointer to incomplete type ../../ksrc/include/sys/time.h: At top level: ../../ksrc/include/sys/time.h:40: parse error before `time_t' ../../ksrc/include/sys/time.h:40: warning: no semicolon at end of struct or union ../../ksrc/include/sys/time.h:41: warning: data definition has no type or storage class ../../ksrc/include/sys/time.h:73: field `it_interval' has incomplete type ../../ksrc/include/sys/time.h:74: field `it_value' has incomplete type ../../ksrc/include/sys/time.h:78: field `it_interval' has incomplete type ../../ksrc/include/sys/time.h:79: field `it_value' has incomplete type In file included from /usr/include/netinet/in.h:141, from /usr/include/rpc/types.h:57, from rpc_clntout.c:41: /usr/include/sockaddrcom.h:25: warning: redefinition of `sa_family_t' ../../ksrc/include/sys/socket.h:9: warning: `sa_family_t' previously declared here In file included from /usr/include/rpc/types.h:57, from rpc_clntout.c:41: /usr/include/netinet/in.h:198: parse error before `ntohl' /usr/include/netinet/in.h:198: parse error before `__netlong' /usr/include/netinet/in.h:198: warning: data definition has no type or storage class /usr/include/netinet/in.h:199: parse error before `ntohs' /usr/include/netinet/in.h:199: parse error before `__netshort' /usr/include/netinet/in.h:199: warning: data definition has no type or storage class /usr/include/netinet/in.h:200: parse error before `htonl' /usr/include/netinet/in.h:200: parse error before `__hostlong' /usr/include/netinet/in.h:200: warning: data definition has no type or storage class /usr/include/netinet/in.h:201: parse error before `htons' /usr/include/netinet/in.h:201: parse error before `__hostshort' /usr/include/netinet/in.h:201: warning: data definition has no type or storage class make[2]: *** [rpc_clntout.o] Error 1 make[1]: *** [all] Error 2 make: *** [all] Error 2