From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 3117 invoked from network); 10 Mar 1998 21:43:39 -0000 Received: from k2nw102.dial.kabelfoon.nl (HELO hvdkooij.dyn.ml.org) (root@195.193.22.102) by mail2.redhat.com with SMTP; 10 Mar 1998 21:43:39 -0000 Received: from localhost (localhost [127.0.0.1]) by hvdkooij.dyn.ml.org (8.8.5/8.8.5) with SMTP id WAA09958 for ; Tue, 10 Mar 1998 22:43:33 +0100 Date: Tue, 10 Mar 1998 22:43:33 +0100 (MET) From: Hugo van der Kooij X-Sender: hvdkooij@hvdkooij.dyn.ml.org Reply-To: Hugo.van.der.Kooij@caiw.nl To: axp-list@redhat.com Subject: Re: Compiling fails In-Reply-To: Message-ID: X-URL: http://www.caiw.nl/~hvdkooij/ X-Loop: Hugo.van.der.Kooij@caiw.nl MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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)