When including <limits.h> I get the following traceback:

<snip>
make[3]: Entering directory /home/seward/Wavetrain/tempus/src/matrixio'
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -DLINUX
-I/usr/local/matlab/extern/include -I../../include/matrixio
-I../../include/support -I../../include/tempus -I../../include/portinc    -g
-O2 -c Nmatfiles.cpp
In file included from /usr/include/bits/posix1_lim.h:126,
                 from /usr/include/limits.h:30,
                                  from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:117,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/syslimits.h:7,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:11,
                 from ../../include/support/Array.cc:5,
                 from ../../include/support/Array.h:228,
                 from ../../include/matrixio/matfiles.h:20,
                 from Nmatfiles.cpp:29:

/usr/include/bits/local_lim.h:27: linux/limits.h: No such file or directory
make[3]: *** [Nmatfiles.o] Error 1
<snip>
 
/usr/include/bits/local_lim.h says that it wants the kernel's limits.h.
IIR, this (requiring the kernel headers to compile user programs) is frowned
upon by the kernel people.  Is this a problem with glibc, or the RPMs or me?



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

Reply via email to