From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <51eea7670eaa06f4ffde4c24f9647a1f.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199709241509.LAA15324@headwall.maine.com> Date: Wed, 24 Sep 1997 11:09:08 -0400 (EDT) From: Christopher F. Miller Subject: Re: messy include files - pid_t undefined? In-Reply-To: <199709241319.PAA29468@zebara.axis.se> > 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... > /usr/include/sys/types.h:42: warning: redefinition of `dev_t' > /usr/include/linux/types.h:10: warning: `dev_t' previously declared here No, this seems pretty universal with RedHat alpha. My interpretation of gnu, gcc and glibc faqs is that user apps should never call include/linux tree, and that where a gnu/something.h exists, you should use that instead of something else, ie use gnu/types.h instead of sys/types.h. Most of the problems that I have seen seem related to sys/types.h and the way it arbitrarily (and often needlessly) leads to inclusion of include/asm files. I've resorted to placing #ifdef CFM into my /usr/include tree. Yeech. Just wait till you start playing with __fd_set. ;^) FWIW I'm abandoning the RPMs and going back to primary sources. Unfortunately, even the basic tools ( eg gcc ) don't really seem to exist in state-of-the-art form (2.7.2.3) for alpha. FWIW 2, my powerpc linux box seems to have much cleaner headers and I was thinking I'd try to reconstruct based on the dependancies there. -- All this because I want stable threads.... cfm -- Christopher F. Miller, Publisher cfm@maine.com MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039 1.207.657.5078 (MTRF 3-5pm) http://www.maine.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