Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 03-29-2009, 12:04 PM   #1
LQ Newbie
Registered: Mar 2009
Posts: 3

Rep: Reputation: 0
Error when compiling kernel at arch/x86/boot/compressed/misc.c

Dear contributors,
I'm trying to compile the Puppy 4.1.2 kernel (linux- with sfs patches. After running make config and make, I get the following error:

GEN     .version
CHK     include/linux/compile.h
UPD     include/linux/compile.h
CC      init/version.o
LD      init/built-in.o
LD      .tmp_vmlinux1
KSYM    .tmp_kallsyms1.S
AS      .tmp_kallsyms1.o
LD      .tmp_vmlinux2
KSYM    .tmp_kallsyms2.S
AS      .tmp_kallsyms2.o
LD      vmlinux
CC      arch/x86/boot/version.o
LD      arch/x86/boot/setup.elf
OBJCOPY arch/x86/boot/setup.bin
CC      arch/x86/boot/compressed/misc.o
In file included from arch/x86/boot/compressed/misc.c:244:
arch/x86/boot/compressed/../../../../lib/inflate.c: In function 'gunzip':
arch/x86/boot/compressed/../../../../lib/inflate.c:1254: error: 'bytes_out' undeclared (first use in this function)
arch/x86/boot/compressed/../../../../lib/inflate.c:1254: error: (Each undeclared identifier is reported only once
arch/x86/boot/compressed/../../../../lib/inflate.c:1254: error: for each function it appears in.)
make[2]: *** [arch/x86/boot/compressed/misc.o] Error 1
make[1]: *** [arch/x86/boot/compressed/vmlinux] Error 2
make: *** [bzImage] Error 2
Actually, there's no bytes_out declaration into inflate.c
I need t understand why it is undeclared, I mean: what should I do, in terms of configuration, to include a piece of code containing that declaration?

Please, find attached the .config file made after a "make config"

Thanks to all who will enlighten me
Attached Files
File Type: txt DOTCONFIG.txt (53.1 KB, 1 views)


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
Cross compiled kernel-2.6.13 for x86-64 arch stops booting under Slackware-10.1 Basel Slackware 4 09-09-2005 01:57 PM
solaris boot problem boot error loading interpreter(misc/krtld) Johncy_j Solaris / OpenSolaris 5 08-18-2005 02:47 AM
Compiling the Kernel - errors in make menuconfig ARCH=um donoh Ubuntu 2 04-11-2005 02:43 PM
compiling kernel in arch draker Arch 3 10-29-2003 05:25 PM
Compiling The Kernel And Misc Question abz Programming 4 05-10-2001 05:32 PM

All times are GMT -5. The time now is 07:56 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