LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

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

Rep: Reputation: 15
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.
 
  


Reply


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 02:42 PM
Error compiling the kernel odiseo77 Fedora 4 04-27-2005 10:15 AM
Error Compiling Kernel kurin Linux - Software 1 12-01-2004 04:08 PM
kernel compiling error draker Linux - Newbie 0 08-19-2003 12:05 AM
kernel compiling error johncla Linux - General 0 05-28-2001 06:57 PM


All times are GMT -5. The time now is 06:15 AM.

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