Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Hugo van der Kooij <hvdkooij@caiw.nl>
To: axp-list@redhat.com
Subject: Re: Compiling fails
Date: Tue, 10 Mar 1998 22:43:33 +0100 (MET)	[thread overview]
Message-ID: <Pine.LNX.3.96.980310223925.9890B-100000@hvdkooij.dyn.ml.org> (raw)
In-Reply-To: <Pine.HPP.3.95.980310215426.11060A-100000@leo.kampsax.dk>

On Tue, 10 Mar 1998, Kristian Vilmann wrote:

> recently I've been trying to compile different things on my alpha. It
> always fails with errors like:
> 
> /usr/include/resourcebits.h:84: `RLIMIT_NPROC' undeclared here (not in a
> function)
> /usr/include/resourcebits.h:84: enumerator value for `_RLIMIT_NPROC' not
> integer constant
> /usr/include/resourcebits.h:90: `RLIMIT_MEMLOCK' undeclared here (not in a
> function)
> /usr/include/resourcebits.h:90: enumerator value for `_RLIMIT_MEMLOCK' not
> integer constant

Easy. Add include file /usr/include/linux/resource.h as well. (see also:
/usr/src/linux/include/linux/resource.h ;-)

Hugo.

	+------------------------+------------------------------+
	| Hugo van der Kooij     | Hugo.van.der.Kooij@caiw.nl   |
	| Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij |
	| 3155 VJ  Maasland      | (De man met de rode hoed)    |
	+------------------------+------------------------------+
    "Computers let you make more mistakes faster than any other invention in 
      human history, with the possible exception of handguns and tequila."
		(Mitch Radcliffe)


  parent reply	other threads:[~1998-03-10 21:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-10 21:00 Compiling fails Kristian Vilmann
1998-03-10 21:42 ` Christopher Curtis
1998-03-10 21:43 ` Hugo van der Kooij [this message]
1998-03-10 23:22 ` Nils Swart
1998-03-11 17:30 ` Summary: Compiling fails - still doesn't work Kristian Vilmann
1998-03-11 18:13   ` Christopher Curtis
1998-03-11 18:19     ` Christopher Curtis
1998-03-11 19:18   ` Hugo van der Kooij
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