Forum Home
Press F1
 
Thread ID: 44730 2004-04-28 08:31:00 Patching the Linux Kernel - Experts please!!!! Growly (6) Press F1
Post ID Timestamp Content User
232697 2004-04-28 08:31:00 Hi there,

I run Knoppix 3.3 (built on debian). I wanted to upgrade to Kernel 2.6.5, but so far have had many mixed instructions. I have managed to:

1) Download it
2) Unpack it
3) Configure it
4) Clean it
5) Compile it (with "make" - though it had an error at the end, which is gone now)

But now, when I try to run "make install", it comes up with this bizarre annoying error.

HOSTCC scripts/basic/fixdep
In file included from /usr/include/bits/posix1_lim.h:130,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i486-linux/3.3.3/include/limits.h:122,
from /usr/lib/gcc-lib/i486-linux/3.3.3/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-linux/3.3.3/include/limits.h:11,
from scripts/basic/fixdep.c:105:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: Not a directory
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from scripts/basic/fixdep.c:107:
/usr/include/bits/socket.h:305:24: asm/socket.h: Not a directory
scripts/basic/fixdep.c: In function `use_config':
scripts/basic/fixdep.c:193: error: `PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:193: error: (Each undeclared identifier is reported only once
scripts/basic/fixdep.c:193: error: for each function it appears in.)
scripts/basic/fixdep.c:193: warning: unused variable `s'
scripts/basic/fixdep.c: In function `parse_dep_file':
scripts/basic/fixdep.c:289: error: `PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:289: warning: unused variable `s'
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2

Apparently "make install" uses lilo. I went to the lilo configuration, (lilo.conf), and coudnt find anything wrong. However, the one website that did help (find that here : www.linuxdocs.org ) mentioned something about the lilo.conf having an kernel= setting and someother setting that I couldn't find. The same site, however, expects me, like all the other, to get throught the whole thing without much trouble. Especially at this point. Infact, I used the program that was meant to output the compressed kernel image to arch/i386/boot/bzImage, but no such file exists on the computer!!!!

Does anyone know how to fix the problem, or even a more indepth tutorial on how this process is meant to occur??

Any help would be greatly appreciated!!!
Growly (6)
232698 2004-04-30 03:01:00 Boing!!

Cheers Murray P
Murray P (44)
232699 2004-04-30 05:21:00 OK sorry about the whole double post - the page never loaded, nor for this nor for any reply to any post (see another one). for this reason it obviously double posted without letting me know.... Growly (6)
232700 2004-04-30 05:55:00 Not at all Growly, my mistake .

I thought I was doing you a favour by bumping the thread up the listing . Didn't even see the other post . Couldn't help a wee smile though when I imagined your reaction to the prodigal post turning up at the top again ;)

Glad to see some of the others were on to it .

Cheers Murray P
Murray P (44)
232701 2004-04-30 11:27:00 this is perpuating the cycle, but

cheers man!
Growly (6)
232702 2004-04-30 13:08:00 No worries. Just keep quet and no one will notice. BTW did you get it sorted in the end.

Cheers Murray P

PS. I hope the Post Master General isn't on his(?) rounds tonight.
Murray P (44)
1