From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <7a8fd1ae41de53cdd013a9fbd1196ce8.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199707281027.KAA03097@linux.reo.dec.com> Date: 28 Jul 1997 17:40:29 +0200 From: Andi Hechtbauer Subject: Trouble with resourcebits.h when compiling... Hi, can anyone into libc explain to me where things like this come from? I get those, when compiling various thingies. (like perl5.004_01 in this case) Do I have incompatible headers/libs installed? I'm using RedHat 4.1, glibc-0.961212-3 glibc-static-0.961212-3 glibc-devel-0.961212-3 ---------------------------------%<-------------------- [~/src/perl5.004_01]$ make `sh cflags libperl.a pp_sys.o` pp_sys.c CCCMD = gcc -DPERL_CORE -c -Dbool=char -DHAS_BOOL -O2 In file included from /usr/include/sys/resource.h:27, from pp_sys.c:30: /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 pp_sys.c: In function `Perl_pp_system': pp_sys.c:3107: warning: passing arg 2 of `Perl_rsignal_save' from incompatible pointer type pp_sys.c:3108: warning: passing arg 2 of `Perl_rsignal_save' from incompatible pointer type make: *** [pp_sys.o] Error 1 ---------------------------------%<-------------------- Thanks for pointers/fixes/workarounds! -- Andi Hechtbauer anti@spin.de System Administration voice: +49 941 94 65 939 SPiN GmbH http://www.spin.de/ fax: +49 941 94 65 938 ---------- web design - java chats - guestbooks - java/cgi coding ---------- -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com