From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199709241319.PAA29468@zebara.axis.se> Date: Wed, 24 Sep 1997 15:19:51 +0200 (MET DST) From: Ronny Ranerup Subject: Re: messy include files - pid_t undefined? Harvey J. Stein: >In general I've been seeing various warnings from the standard header >files when compiling on the alpha. Again, are they being fixed, or >should I email this list, or some other list, or someone in particular >with the ones I've seen? I agree on the statement and repeat the question. The header files seem really messed up on the (RedHat) Alpha. I actually thought there was something wrong with just my installation... I even had to fix something, somewhere, which generated an error, don't remember where though. The warnings below, which I don't get on an Intel box, are from the following includes (some non-standard): #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include --- cc -o snoop snoop.c -I. -I/usr/src/misc -I/usr/src/hash -L/usr/src/misc -L/usr/src/hash -L/usr/src/turtle -I/usr/src/turtle -L/usr/X11/lib -ansi -g -lm -lpcap -lmisc -lhash -lX11 -lturtle In file included from /usr/include/arpa/inet.h:42, from snoop.c:9: /usr/include/sys/types.h:42: warning: redefinition of `dev_t' /usr/include/linux/types.h:10: warning: `dev_t' previously declared here /usr/include/sys/types.h:43: warning: redefinition of `gid_t' /usr/include/linux/types.h:17: warning: `gid_t' previously declared here /usr/include/sys/types.h:44: warning: redefinition of `ino_t' /usr/include/linux/types.h:11: warning: `ino_t' previously declared here /usr/include/sys/types.h:45: warning: redefinition of `mode_t' /usr/include/linux/types.h:12: warning: `mode_t' previously declared here /usr/include/sys/types.h:46: warning: redefinition of `nlink_t' /usr/include/linux/types.h:13: warning: `nlink_t' previously declared here /usr/include/sys/types.h:47: warning: redefinition of `off_t' /usr/include/linux/types.h:14: warning: `off_t' previously declared here /usr/include/sys/types.h:49: warning: redefinition of `pid_t' /usr/include/linux/types.h:15: warning: `pid_t' previously declared here /usr/include/sys/types.h:50: warning: redefinition of `uid_t' /usr/include/linux/types.h:16: warning: `uid_t' previously declared here /usr/include/sys/types.h:53: warning: redefinition of `ssize_t' /usr/include/linux/types.h:35: warning: `ssize_t' previously declared here In file included from /usr/include/sys/types.h:67, from /usr/include/arpa/inet.h:42, from snoop.c:9: /usr/include/time.h:76: warning: redefinition of `time_t' /usr/include/linux/types.h:45: warning: `time_t' previously declared here In file included from /usr/include/sys/time.h:24, from /usr/local/include/pcap.h:40, from snoop.c:18: /usr/include/time.h:64: warning: redefinition of `clock_t' /usr/include/linux/types.h:50: warning: `clock_t' previously declared here --- /ronny@axis.com/Ronny Ranerup/Axis Communications AB/http://www.axis.com -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com