Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 04-21-2004, 04:51 AM   #1
Registered: Sep 2003
Distribution: RedHat 9.0, Mandrake 9.1
Posts: 68

Rep: Reputation: 15
error compiling kernel


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)

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

#define MAX_ARG_PAGES 32


#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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error compiling kernel. Royle Debian 8 08-25-2005 03:42 PM
Error compiling the kernel odiseo77 Fedora 4 04-27-2005 11:15 AM
Error Compiling Kernel kurin Linux - Software 1 12-01-2004 05:08 PM
kernel compiling error draker Linux - Newbie 0 08-19-2003 01:05 AM
kernel compiling error johncla Linux - General 0 05-28-2001 07:57 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 11:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration