LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 03-29-2009, 11:04 AM   #1
ronzo
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-2.6.25.16) with sfs patches. After running make config and make, I get the following error:

Code:
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
SYSMAP  System.map
SYSMAP  .tmp_System.map
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
Regards
stefano
Attached Files
File Type: txt DOTCONFIG.txt (53.1 KB, 0 views)
 
  


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


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

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