Avatar of visalakshmi
visalakshmi
 asked on

compilation error with kernel 2.6.15 on ubuntu 8.10

Hi,
I want to debug my kernel(2.6.15.7) on ubuntu-8.10 with kgdb. But i am getting compilation error after the command make bzImage. i have attached the error message.
i am using the document from the below link:
http://beginlinux.wordpress.com/2008/12/03/how-to-compile-an-ubuntu-810-kernel/
for kernel compilation.
please help me in compiling the kernel.
include/asm/mpspec_def.h:78: warning: packed attribute ignored for field of type unsigned char[6]
  CC      arch/i386/kernel/smpboot.o
In file included from include/asm/mpspec.h:5,
                 from include/asm/smp.h:18,
                 from include/linux/smp.h:19,
                 from include/linux/sched.h:26,
                 from include/linux/module.h:10,
                 from arch/i386/kernel/smpboot.c:36:
include/asm/mpspec_def.h:78: warning: packed attribute ignored for field of type unsigned char[6]
  AS      arch/i386/kernel/trampoline.o
  CC      arch/i386/kernel/mpparse.o
In file included from include/asm/mpspec.h:5,
                 from include/asm/smp.h:18,
                 from include/linux/smp.h:19,
                 from include/linux/sched.h:26,
                 from include/linux/mm.h:4,
                 from arch/i386/kernel/mpparse.c:16:
include/asm/mpspec_def.h:78: warning: packed attribute ignored for field of type unsigned char[6]
  CC      arch/i386/kernel/apic.o
In file included from include/asm/mpspec.h:5,
                 from include/asm/smp.h:18,
                 from include/linux/smp.h:19,
                 from include/linux/sched.h:26,
                 from include/linux/mm.h:4,
                 from arch/i386/kernel/apic.c:20:
include/asm/mpspec_def.h:78: warning: packed attribute ignored for field of type unsigned char[6]
arch/i386/kernel/apic.c: In function smp_apic_timer_interrupt:
arch/i386/kernel/apic.c:1136: sorry, unimplemented: inlining failed in call to smp_local_timer_interrupt: function body not available
arch/i386/kernel/apic.c:1205: sorry, unimplemented: called from here
make[1]: *** [arch/i386/kernel/apic.o] Error 1
make: *** [arch/i386/kernel] Error 2

Open in new window

Linux Distributions

Avatar of undefined
Last Comment
Fabio Marzocca

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Fabio Marzocca

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck