2.4.20 doesn't build on my RH7.2 box which uses gcc 2.96 due to a mod
to the Makefile which I just undid and subsequently compiled just
fine. Without said line, stdarg.h (which isn't part of the linux
kernel includes) is not found since -nostdinc probably removes *all*
include directories not explicitly specified, including:
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include
---New make line---
kbuild_2_4_nostdinc := -nostdinc -iwithprefix include
---Old make line---
kbuild_2_4_nostdinc := -nostdinc $(shell $(CC) -print-search-dirs
| sed -ne 's/install: \(.*\)/-I \1include/gp')
If stdarg.h doesn't belong in the kernel distribution, perhaps the
configure or make process could do some checking to make sure the
appropriate include directory for stdarg.h is included in that
variable?
- Mike
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/