troubles Compiling a kernel.

ninjasuit2000-netwinder at ninjasuit2000-netwinder at
Fri Jan 7 14:14:04 EST 2005

So I grabbed the kernel source RPM via "yum install" I
then installed the rpm with "rpm -Uvh" and tried to
build it with "rpmbuild -bb". But I keep getting the

*** End of Linux kernel configuration.
*** Check the top-level Makefile for additional
*** Next, you must run 'make dep'.

+ make dep
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
-o scripts/mkdep scripts/mkdep.c
In file included from
                 from /usr/include/limits.h:144,
                 from scripts/mkdep.c:35:
/usr/include/bits/local_lim.h:36:26: linux/limits.h:
No such file or directory
scripts/mkdep.c: In function `add_path':
scripts/mkdep.c:221: error: `PATH_MAX' undeclared
(first use in this function)
scripts/mkdep.c:221: error: (Each undeclared
identifier is reported only once
scripts/mkdep.c:221: error: for each function it
appears in.)
scripts/mkdep.c:221: warning: unused variable
make: *** [scripts/mkdep] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.54609

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.54609

I'm not sure what the cause is. But any help would be
greatly appreciated since I was planning on doing a
kernel build with some additional patches to provid
support for integrating iptables with ethernet
bridging to build a transparent firewall...

More information about the Netwinder mailing list