[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-bugs] [Bug 480] New: kernel fails to compile with my config



http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=480

           Summary: kernel fails to compile with my config
           Product: Xen
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Guest-OS
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: xen@xxxxxxxxxxxxxxxxxxxx


I am attempting to compile the xen-source-2.6.12.6 ebuild under gentoo.  I
copied my .config from my 2.6.12 kernel already running on the machine, then
used "make xconfig" to enable the xen features I wanted, but I can't compile the
kernel.

I get the following warning in almost every object that is compiled

include/asm/atomic.h: In function `atomic_add_return':
include/asm/atomic.h:200: warning: implicit declaration of function
`smp_processor_id'

and then the compile fails with

  LD      init/built-in.o
  LD      .tmp_vmlinux1
mm/built-in.o: In function `try_to_unuse':
swapfile.c:(.text+0x16718): undefined reference to `smp_processor_id'
swapfile.c:(.text+0x16737): undefined reference to `smp_processor_id'
drivers/built-in.o: In function `serio_init_port':
serio.c:(.text+0x350f4): undefined reference to `smp_processor_id'
serio.c:(.text+0x35114): undefined reference to `smp_processor_id'
net/built-in.o: In function `skb_release_data':
: undefined reference to `smp_processor_id'
net/built-in.o:: more undefined references to `smp_processor_id' follow
make: *** [.tmp_vmlinux1] Error 1


I had a similar problem with another machine I did my original experiments on. 
I was able to get the kernel to compile by starting with the default xen .config
file and then configuring it for my hardware, but it was a long and tedious
process, and doubt I got everything correct for my hardware.

I feel these compile errors and warnings reveal a mistake in the kernel build
system or source code.

-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.