From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 30049 invoked from network); 11 Mar 1998 17:30:50 -0000 Received: from extern.kampsax.dk (193.88.186.19) by mail2.redhat.com with SMTP; 11 Mar 1998 17:30:49 -0000 Received: (from smap@localhost) by extern.kampsax.dk (8.8.5/KxT-1996.12.09-KRS-extern) id SAA16670 for ; Wed, 11 Mar 1998 18:30:47 +0100 Received: from portvagt.kxt.kampsax.dk(193.88.186.17) by extern.kampsax.dk via smap (V2.0beta) id xma016664; Wed, 11 Mar 98 18:30:26 +0100 Received: from leo.kampsax.dk (leo.kampsax.dk [192.168.10.123]) by hval.kampsax.dk with ESMTP (8.8.5/KxT-1996.12.06-KRS) id SAA12008 for ; Wed, 11 Mar 1998 18:30:25 +0100 Received: from localhost (kwv@localhost) by leo.kampsax.dk with SMTP (8.7.1/8.7.1) id SAA23941 for ; Wed, 11 Mar 1998 18:30:23 +0100 (MET) X-Authentication-Warning: leo.kampsax.dk: kwv owned process doing -bs Date: Wed, 11 Mar 1998 18:30:23 +0100 (MET) From: Kristian Vilmann To: axp-list@redhat.com Subject: Summary: Compiling fails - still doesn't work In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 10 Mar 1998, Kristian Vilmann wrote: >Hi, > >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 > >[a lot more] > >alloc.c: In function `fd_cleanup': >alloc.c:784: warning: cast from pointer to integer of different size >alloc.c: In function `note_cleanups_for_fd': >alloc.c:787: warning: cast to pointer from integer of different size >alloc.c: In function `kill_cleanups_for_fd': >alloc.c:792: warning: cast to pointer from integer of different size >alloc.c: In function `pclosef': >alloc.c:820: warning: cast to pointer from integer of different size >make[1]: *** [alloc.o] Error 1 > > >-------- >Christopher Curtis said: >This is in the archive. You need a new resourcebits.h ... not sure where >to find it offhand else I'd let you know. Best thing to do is go to >www.altavista.digital.com and do a search. > >Now you tell me why my GCC seg faults. :) > > >Hugo van der Kooij said: >Easy. Add include file /usr/include/linux/resource.h as well. (see also: >/usr/src/linux/include/linux/resource.h ;-) > > >Nils Swart said: >I had the same problem and found this as a cure: > >Start with a fresh 2.0.33 tar.gz >Install the symlinks as described in the Readme of the 2.0.33 kernel. >(replacing i386 with alpha ofcourse) >patch this kernel with the 2.0.32-0.1 patch > (to be found at gatekeeper.dec.com somewhere in Alpha-Linux/Kernels) > >make config & all that stuff.. > >The patch updates resourcebits.h [kwv@ulv ~] $ uname -a Linux ulv.kampsax.dk 2.0.33 #5 Wed Mar 11 18:06:29 CET 1998 alpha unknown tried with a new kernel - same problem. AltaVista gives me nothing when i search for "resourcebits". Does anybody know where to find a "good" resourcebits.h? Med venlig hilsen/best regards Kristian Vilmann -- kwv@kampsax.dk http://www.kampsax.dk/technology surface mail: Kampsax Technology Stamholmen 112 Tel: +45 3639 0800 DK-2650 Hvidovre Fax: +45 3677 0301