From: Christopher F. Miller <cfm@maine.com>
Subject: Re: messy include files - pid_t undefined?
Date: Wed, 24 Sep 1997 11:09:08 -0400 (EDT) [thread overview]
Message-ID: <51eea7670eaa06f4ffde4c24f9647a1f.axp-list@archive.invalid> (raw)
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
next prev parent reply other threads:[~1997-09-24 15:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-09-24 13:19 messy include files - pid_t undefined? Ronny Ranerup
1997-09-24 13:31 ` Tom Browder
1997-09-24 15:09 ` Christopher F. Miller [this message]
1997-09-28 4:10 ` Richard Henderson
[not found] <199709241509.LAA15324@headwall.maine.com>
1997-09-28 4:16 ` Richard Henderson
[not found] <199709241305.PAA04758@blinky.bfr.co.il>
1997-09-28 4:02 ` Richard Henderson
-- strict thread matches above, loose matches on Subject: below --
1997-09-24 13:05 Harvey J. Stein
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox