From: Tobias Klausmann <klausman@ai-lab.fh-furtwangen.de>
Subject: Re: Problems with resource.h in 2.0.33
Date: 1998/04/23 [thread overview]
Message-ID: <353EEAB9.41C6@ai-lab.fh-furtwangen.de> (raw)
In-Reply-To: 6hl52o$79o@news.tuwien.ac.at
Thomas Hollunder wrote:
>
> I finally managed to install 2.0.33 on our LX164 (RH4.2,
> alpha-patches-2.0.32-0)
>
> But when using gcc version 2.7.2.1 to compile anything that uses
> resource.h I get the following:
>
> In file included from /usr/include/sys/resource.h:27,
> from mergemem.h:23,
> from mergemem.c:23:
[... deleted complaints of undefied limits ...]
>
> Does anybody have a clue what the problem could be?
Yup. I had the very same (2.0.33/Redhat). resource.h includes
/usr/include/asm/resource.h, where a bunch of system-specific
Resource-Limits *should* be defined. Unfortunately, there are
only the limits for the Kernel (as in __KERNEL_RLIMIT_CPU), I
plainly copied the defs for the kernel, removed the __KERNEL_
prefix and voil`a.
Maybe the compiler will then barf on a statement about
RLIM_INFINITY somewhere else (a parse error IIRC). I just com-
mented out that one. It worked (and still works) for me, but as
usual, your mileage may vary.
regards,
Tobias
-- ----------------------------------------------------------- --
klausman@ai-lab.fh-furtwangen.de http://home.pages.de/~bbird
Public PGP-Key : finger -l klausman@zeus.ai-lab.fh-furtwangen.de
PGP fingerprint: B1 6B 61 68 5A 07 77 A9 DF 39 8E 65 F9 A0 68 95
prev parent reply other threads:[~1998-04-23 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-04-22 4:00 Problems with resource.h in 2.0.33 Thomas Hollunder
1998-04-23 4:00 ` Tobias Klausmann [this message]
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