Public bug reported:

Binary package hint: linux-source-2.6.22

Hi,

I'm not even sure it is supposed to work, if not feel free to close the
bugreport.

I've recently upgraded to gutsy and tried to compile an as-small-as-
possible static kernel for my guest domains. I've "apt-get source linux-
image-2.6.22-14-xen" and started configuring. You can find my working
.config attached, however that one still two features enabled I don't
need in this kernel. Disabling them leads to compile errors. I'm on the
amd64 platform. I guess there are a few ifdefs or Kconfig dependencies
missing.

CONFIG_SMP=n
  CC      arch/x86_64/kernel/nmi.o
  CC      arch/x86_64/kernel/ptrace.o
  CC      arch/x86_64/kernel/../../i386/kernel/alternative.o
  CC      arch/x86_64/kernel/../../i386/kernel/apic-xen.o
arch/x86_64/kernel/../../i386/kernel/apic-xen.c: In function 
‘apic_set_verbosity’:
arch/x86_64/kernel/../../i386/kernel/apic-xen.c:17: error: ‘APIC_DEBUG’ 
undeclared (first use in this function)
arch/x86_64/kernel/../../i386/kernel/apic-xen.c:17: error: (Each undeclared 
identifier is reported only once
arch/x86_64/kernel/../../i386/kernel/apic-xen.c:17: error: for each function it 
appears in.)
arch/x86_64/kernel/../../i386/kernel/apic-xen.c:19: error: ‘APIC_VERBOSE’ 
undeclared (first use in this function)
arch/x86_64/kernel/../../i386/kernel/apic-xen.c: In function 
‘APIC_init_uniprocessor’:
arch/x86_64/kernel/../../i386/kernel/apic-xen.c:48: error: ‘smp_found_config’ 
undeclared (first use in this function)
arch/x86_64/kernel/../../i386/kernel/apic-xen.c:49: error: ‘skip_ioapic_setup’ 
undeclared (first use in this function)
arch/x86_64/kernel/../../i386/kernel/apic-xen.c:49: error: ‘nr_ioapics’ 
undeclared (first use in this function)
make[1]: *** [arch/x86_64/kernel/../../i386/kernel/apic-xen.o] Error 1

CONFIG_XEN_PRIVILEGED_GUEST=n
  CC      arch/x86_64/kernel/hpet.o
  CC      arch/x86_64/kernel/bugs.o
  CC      arch/x86_64/kernel/smp-xen.o
  CC      arch/x86_64/kernel/genapic-xen.o
arch/x86_64/kernel/genapic-xen.c:28: error: ‘BAD_APICID’ undeclared here (not 
in a function)
arch/x86_64/kernel/genapic-xen.c: In function ‘send_IPI_self’:
arch/x86_64/kernel/genapic-xen.c:82: error: ‘APIC_DEST_SELF’ undeclared (first 
use in this function)
arch/x86_64/kernel/genapic-xen.c:82: error: (Each undeclared identifier is 
reported only once
arch/x86_64/kernel/genapic-xen.c:82: error: for each function it appears in.)
make[1]: *** [arch/x86_64/kernel/genapic-xen.o] Error 1
make: *** [arch/x86_64/kernel] Error 2

** Affects: linux-source-2.6.22 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
unresolved symbols when compiling xen kernel with custom config
https://bugs.launchpad.net/bugs/157925
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to