From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,9490f1d836012184,start X-Google-Attributes: gid111c93,public X-Google-Thread: 11c9f6,9490f1d836012184,start X-Google-Attributes: gid11c9f6,public From: thomas@mips.complang.tuwien.ac.at (Thomas Hollunder) Subject: Problems with resource.h in 2.0.33 Date: 1998/04/22 Message-ID: <6hl52o$79o@news.tuwien.ac.at>#1/1 X-Deja-AN: 346681090 Reply-To: thomas@complang.tuwien.ac.at Organization: Technische Universitaet Wien, Institut fuer Computersprachen Newsgroups: comp.os.linux.alpha,linuxx.redhat.axp I finally managed to install 2.0.33 on our LX164 (RH4.2, alpha-patches-2.0.32-0) But when using gcc version 2.7.2.1 to compile anything that uses resource.h I get the following: In file included from /usr/include/sys/resource.h:27, from mergemem.h:23, from mergemem.c:23: /usr/include/resourcebits.h:31: `RLIMIT_CPU' undeclared here (not in a function) /usr/include/resourcebits.h:31: enumerator value for `_RLIMIT_CPU' not integer constant /usr/include/resourcebits.h:37: `RLIMIT_FSIZE' undeclared here (not in a function) /usr/include/resourcebits.h:37: enumerator value for `_RLIMIT_FSIZE' not integer constant /usr/include/resourcebits.h:43: `RLIMIT_DATA' undeclared here (not in a function) /usr/include/resourcebits.h:43: enumerator value for `_RLIMIT_DATA' not integer constant /usr/include/resourcebits.h:49: `RLIMIT_STACK' undeclared here (not in a function) /usr/include/resourcebits.h:49: enumerator value for `_RLIMIT_STACK' not integer constant /usr/include/resourcebits.h:55: `RLIMIT_CORE' undeclared here (not in a function) /usr/include/resourcebits.h:55: enumerator value for `_RLIMIT_CORE' not integer constant /usr/include/resourcebits.h:64: `RLIMIT_RSS' undeclared here (not in a function) /usr/include/resourcebits.h:64: enumerator value for `_RLIMIT_RSS' not integer constant /usr/include/resourcebits.h:70: `RLIMIT_NOFILE' undeclared here (not in a function) /usr/include/resourcebits.h:70: enumerator value for `_RLIMIT_NOFILE' not integer constant /usr/include/resourcebits.h:78: `RLIMIT_AS' undeclared here (not in a function) /usr/include/resourcebits.h:78: enumerator value for `_RLIMIT_AS' not integer constant /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 /usr/include/resourcebits.h:95: `RLIM_NLIMITS' undeclared here (not in a function) /usr/include/resourcebits.h:95: enumerator value for `RLIMIT_NLIMITS' not integer constant make[1]: *** [mergemem] Error 1 Doees anybody have a clue what the problem could be? Thank you Thomas Hollunder thomas@complang.tuwien.ac.at