On a Redhat 6.1 system, I find:

[test@it-router2 test]$ find /usr/include -type f -exec grep -n INT_MAX {}
/dev/null \;
/usr/include/limits.h:91:#  define INT_MIN      (-INT_MAX - 1)
/usr/include/limits.h:92:#  define INT_MAX      2147483647
/usr/include/limits.h:96:#   define UINT_MAX    4294967295U
/usr/include/limits.h:98:#   define UINT_MAX    4294967295  

[test@it-router2 test]$ rpm -qf /usr/include/limits.h
glibc-devel-2.1.2-11

Looks to me like it's not a Redhat problem, but yours --  you don't have
the right stuff installed.

On Thu, 14 Sep 2000, Vidiot wrote:

> I am having damn lousy luck getting gcc 2.95.2 to compile because
> Red Hat appears to not have installed stuff.
> 
> Now the gcc compile stops at:
> 
> gcc -c  -DIN_GCC     -g -O2  -DHAVE_CONFIG_H    -I. -I. -I./config -I./../include 
>./genattrtab.c
> ./genattrtab.c: In function `max_attr_value':
> ./genattrtab.c:4733: `INT_MAX' undeclared (first use in this function)
> ./genattrtab.c:4733: (Each undeclared identifier is reported only once
> ./genattrtab.c:4733: for each function it appears in.)
> make[1]: *** [genattrtab.o] Error 1
> make[1]: Leaving directory `/usr/local/src/gcc-2.95.2/gcc'
> make: *** [all-gcc] Error 2
> 
> 
> What really makes this so laughable is that gcc 2.95.2 compiles under RH 5.0.

I forget, was it 5.0 or 6.0 when Redhat started using glibc in place of
libc?  

Jim Cunning



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to