From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 11528 invoked from network); 10 Mar 1998 21:00:49 -0000 Received: from extern.kampsax.dk (193.88.186.19) by mail2.redhat.com with SMTP; 10 Mar 1998 21:00:49 -0000 Received: (from smap@localhost) by extern.kampsax.dk (8.8.5/KxT-1996.12.09-KRS-extern) id WAA07505 for ; Tue, 10 Mar 1998 22:00:34 +0100 Received: from portvagt.kxt.kampsax.dk(193.88.186.17) by extern.kampsax.dk via smap (V2.0beta) id xma007503; Tue, 10 Mar 98 22:00:30 +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 WAA01893 for ; Tue, 10 Mar 1998 22:00:30 +0100 Received: from localhost (kwv@localhost) by leo.kampsax.dk with SMTP (8.7.1/8.7.1) id WAA11931 for ; Tue, 10 Mar 1998 22:00:28 +0100 (MET) X-Authentication-Warning: leo.kampsax.dk: kwv owned process doing -bs Date: Tue, 10 Mar 1998 22:00:27 +0100 (MET) From: Kristian Vilmann To: axp-list@redhat.com Subject: Compiling fails Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 -------- Obviously I need to do something - but what? A litle info about the machine: Multia, 166 mHz, 80 megs RAM. RedHat 4.2, kernel 2.0.32 # gcc -v Reading specs from /usr/lib/gcc-lib/alpha-linux/2.7.2.1/specs gcc version 2.7.2.1 # 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