LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   error compiling kernel (https://www.linuxquestions.org/questions/red-hat-31/error-compiling-kernel-172789/)

trutnev 04-21-2004 03:51 AM

error compiling kernel
 
Hello,

I recompile the kernel because I want to increase the size of memory buffer used for command line arguments in order to avoid 'Argument list too long' error. I change the code according to this article (the 4 solution)

http://www.linuxjournal.com/article.php?sid=6060

(in the file include/linux/binfmts.h, change the line

#define MAX_ARG_PAGES 32

to

#define MAX_ARG_PAGES 64)

Then, I try to recompile the kernel, i.e. make mrproper, make xconfig, make dep, and when I make bzImage, it tells me

fs/fs.o(.text+0x36562): In function `zisofs_readpage':
: undefined reference to `zlib_inflateInit_'
fs/fs.o(.text+0x36664): In function `zisofs_readpage':
: undefined reference to `zlib_inflate'
fs/fs.o(.text+0x36716): In function `zisofs_readpage':
: undefined reference to `zlib_inflateEnd'
fs/fs.o(.text.init+0xacc): In function `mnt_init':
: undefined reference to `init_rootfs'
fs/fs.o(.text.init+0xf81): In function `zisofs_init':
: undefined reference to `zlib_inflate_workspacesize'
make[1]: *** [kallsyms] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.20-8'
make: *** [vmlinux] Error 2

The problem seems to me to be related to the modified header. Because, I recompile the kernel with the original line MAX_ARG_PAGES, and make bzImage works.

The question is what is missing in my kernel.

Thank you.


All times are GMT -5. The time now is 08:21 PM.