From: Kristian Vilmann <kwv@kampsax.dk>
To: axp-list@redhat.com
Subject: Summary: Compiling fails - still doesn't work
Date: Wed, 11 Mar 1998 18:30:23 +0100 (MET) [thread overview]
Message-ID: <Pine.HPP.3.95.980311182342.22240A-100000@leo.kampsax.dk> (raw)
In-Reply-To: <Pine.HPP.3.95.980310215426.11060A-100000@leo.kampsax.dk>
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
next prev parent reply other threads:[~1998-03-11 17:30 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
1998-03-10 23:22 ` Nils Swart
1998-03-11 17:30 ` Kristian Vilmann [this message]
1998-03-11 18:13 ` Summary: Compiling fails - still doesn't work 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