From: Yasushi Shoji Date: 2000-09-29T23:53:51+09:00 Subject: [ruby-talk:5191] Re: Compiling 1.6.1 problem From: Tony Reed Subject: [ruby-talk:5190] Re: Compiling 1.6.1 problem Date: Fri, 29 Sep 2000 22:58:46 +0900 > and then we happily compiled, but not without these warnings: > ----- > In file included from /usr/include/sys/resource.h:25, > from eval.c:75: > /usr/include/bits/resource.h:109: warning: `RLIM_INFINITY' redefined > /usr/include/asm/resource.h:25: warning: this is the location of the previous definition > In file included from /usr/include/sys/resource.h:25, > from process.c:41: > /usr/include/bits/resource.h:109: warning: `RLIM_INFINITY' redefined > /usr/include/asm/resource.h:25: warning: this is the location of the previous definition hmm... linux 2.4.0-test* has RLIM_INFINITY defined in asm-i386/resource.h. but how come 'asm/resource.h' is included? are you using some distribution? giving '-v' to gcc might tell? or `echo $CFLAGS`? -- yashi