WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

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

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 480] New: kernel fails to compile with my config
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Sun, 15 Jan 2006 05:38:24 +0000
Delivery-date: Sun, 15 Jan 2006 05:49:51 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-bugs] [Bug 480] New: kernel fails to compile with my config, bugzilla-daemon <=