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-users

[Xen-users] Fedora 12 and Xen build problem..

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Fedora 12 and Xen build problem..
From: 王俊仁 <ben3468.wang@xxxxxxxxx>
Date: Mon, 19 Apr 2010 20:19:38 +0800
Delivery-date: Mon, 19 Apr 2010 05:21:05 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=1Htd//yO9DhueOfuR43px0GC4yAgKfgX5N2xH3aSBqk=; b=UC3U4k7vmK10JN9E3LF+MBguXW90O4F5twrHA4STT++hHt963MBdzlQkVBaNCnMFKu HNMT518NoCWFxKYEKyYRrTUkrg1U7C7/wmA4VwDZUmzFZxDhyWE39g+Vn/VyszxvgEjr nyxJ20kQhWF1U98pU3YAMEh/lky5Qego3hEmU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=jaj9xIneWUnBTfvToMbwBtiOb72ic8qvNlD8AS9+AZ2DK6mMVeM26cVLNDaRrmAr5o j7Rqc/sWrmpgvZ/k1kjyrwT9c7p3rP9PA7cbC+0dbZJp+vSoIGCwQSQWADLnk3gu4Q83 c4yO+OcVDrLwFpJn/m1ra+HjkKHBoSZlHjtPE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi

I am new in this area.

I install the Fedora 12 successfully and I follow the instruction of the document of Xen 4.0 release note.
1. to installl the required packages..
yum groupinstall "Development Libraries"
yum groupinstall "Development Tools"
yum install transfig texi2html libaio-devel dev86 glibc-devel e2fsprogs-devel gitk mkinitrd iasl xz-devel bzip2-devel

2. to get the source code

hg clone http://xenbits.xen.org/xen-4.0-testing.hg

3. build it

cd xen-4.0-testing.hg
make xen
make tools ----
make stubdom
I will have error as follow:

In file included from /xen-4.0-testing.hg/tools/ioemu-dir/hw/pass-through.c:87:
/usr/include/pci/header.h:871:1: warning: this is the location of the previous definition
  CC    i386-dm/pt-msi.o
In file included from /xen-4.0-testing.hg/tools/ioemu-dir/hw/pass-through.h:22,
                 from /xen-4.0-testing.hg/tools/ioemu-dir/hw/pt-msi.h:5,
                 from /xen-4.0-testing.hg/tools/ioemu-dir/hw/pt-msi.c:22:
/xen-4.0-testing.hg/tools/ioemu-dir/hw/pci.h:172:1: warning: "PCI_STATUS_66MHZ" redefined
In file included from /usr/include/pci/pci.h:16,
                 from /xen-4.0-testing.hg/tools/ioemu-dir/hw/pt-msi.h:4,
                 from /xen-4.0-testing.hg/tools/ioemu-dir/hw/pt-msi.c:22:
/usr/include/pci/header.h:31:1: warning: this is the location of the previous definition
In file included from /xen-4.0-testing.hg/tools/ioemu-dir/hw/pass-through.h:22,
                 from /xen-4.0-testing.hg/tools/ioemu-dir/hw/pt-msi.h:5,
                 from /xen-4.0-testing.hg/tools/ioemu-dir/hw/pt-msi.c:22:
/xen-4.0-testing.hg/tools/ioemu-dir/hw/pci.h:174:1: warning: "PCI_STATUS_FAST_BACK" redefined
In file included from /usr/include/pci/pci.h:16,
                 from /xen-4.0-testing.hg/tools/ioemu-dir/hw/pt-msi.h:4,
                 from /xen-4.0-testing.hg/tools/ioemu-dir/hw/pt-msi.c:22:
/usr/include/pci/header.h:33:1: warning: this is the location of the previous definition
In file included from /xen-4.0-testing.hg/tools/ioemu-dir/hw/pt-msi.c:22:
/xen-4.0-testing.hg/tools/ioemu-dir/hw/pt-msi.h:29:1: warning: "PCI_MSIX_TABSIZE" redefined
In file included from /xen-4.0-testing.hg/tools/ioemu-dir/hw/pass-through.h:23,
                 from /xen-4.0-testing.hg/tools/ioemu-dir/hw/pt-msi.h:5,
                 from /xen-4.0-testing.hg/tools/ioemu-dir/hw/pt-msi.c:22:
/usr/include/pci/header.h:871:1: warning: this is the location of the previous definition
  CC    i386-dm/kqemu.o
  CC    i386-dm/i386-dis.o
  AR    i386-dm/libqemu.a
  LINK  i386-dm/qemu-dm
/usr/bin/ld: cannot find -lpci
collect2: ld returned 1 exit status
make[4]: *** [qemu-dm] Error 1
make[4]: Leaving directory `/xen-4.0-testing.hg/tools/ioemu-remote/i386-dm'
make[3]: *** [subdir-i386-dm] Error 2
make[3]: Leaving directory `/xen-4.0-testing.hg/tools/ioemu-remote'
make[2]: *** [subdir-install-ioemu-dir] Error 2
make[2]: Leaving directory `/xen-4.0-testing.hg/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/xen-4.0-testing.hg/tools'
make: *** [install-tools] Error 2

This error happen when I run
make world

Can someone help? Thanks.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Fedora 12 and Xen build problem.., 王俊仁 <=