Problem: No such file: linux/limits.h

From: Rene von Grillo (
Date: Thu Sep 19 2002 - 03:11:52 EST


I have a problem compiling the kernel 2.4.19.
The running kernel is linux-2.4.10.SuSE.

The packed file was from; I have unzipped it into
/usr/src/linux-2.4.19 and made a new symbolic link /usr/linux to it.
Then I have run make xconfig and saved the configuration.
Now the problem:

vongrillo:/usr/src/linux # make dep
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep
In file included from /usr/include/bits/posix1_lim.h:126,
                 from /usr/include/limits.h:144,
                 from scripts/mkdep.c:35:
/usr/include/bits/local_lim.h:36: linux/limits.h: No such file or directory
make: *** [scripts/mkdep] Error 1

In the directory /usr/linux is now such file. And I have found more than 1
file "limits.h".
Which file "limits.h" is the right?

Best regards
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:25 EST