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] Compiling xen-unstable

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Compiling xen-unstable
From: "Felipe Franciosi" <ozzy@xxxxxxxxxxxxx>
Date: Mon, 31 Oct 2005 17:03:24 -0200
Delivery-date: Mon, 31 Oct 2005 19:00:41 +0000
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Centro de Pesquisa em Alto Desempenho
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXeTcJisj4u109eSXafHRzb0KZbYg==
Hello there,

I'm using Fedora Core 4 as my base system (for Dom0). I have a globus
cluster in my lab running on Debian Sarge and I've been trying to migrate a
few of these hosts to my Xen environment.

The default xen packages for FC4 ended in a kernel panic while trying to
boot Dom0, so I've used the packages from people.redhat.com/riel.

The problem is that kernel-xenU from riel seems incompatible with Debian
Sarge images (I don't know exactly why).

Now I'm trying to compile the xen-unstable package (using gcc-4 *UGH*).

During compilation, I'm seeing this error:

[root@xen01 xen-unstable]# make world
<... makefile ...>
rm -f libqemu.a
ar rcs libqemu.a  helper2.o
gcc  -o qemu-dm vl.o exec.o monitor.o osdep.o block.o readline.o pci.o
console.o block-cow.o block-qcow.o block-vmdk.o block-cloop.o aes.o ioapic.o
ide.o ne2000.o pckbd.o vga.o dma.o fdc.o mc146818rtc.o serial.o i8259_stub.o
i8254.o pc.o port-e9.o cirrus_vga.o pcnet.o libqemu.a  -lm -L../../libxc
-lxenctrl -lz   -lutil
ide.o(.text+0x25): In function `dma_create_thread':
/root/xen-unstable/tools/ioemu/hw/ide.c:394: undefined reference to
`pthread_create'
ide.o(.text+0x37):/root/xen-unstable/tools/ioemu/hw/ide.c:399: undefined
reference to `pthread_detach'
collect2: ld returned 1 exit status
make[5]: *** [qemu-dm] Error 1
make[5]: Leaving directory `/root/xen-unstable/tools/ioemu/target-i386-dm'
make[4]: *** [all] Error 1
make[4]: Leaving directory `/root/xen-unstable/tools/ioemu'
make[3]: *** [ioemuinstall] Error 2
make[3]: Leaving directory `/root/xen-unstable/tools'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/root/xen-unstable/tools'
make[1]: *** [install-tools] Error 2
make[1]: Leaving directory `/root/xen-unstable'
make: *** [world] Error 2
[root@xen01 xen-unstable]# gcc --version
gcc (GCC) 4.0.1 20050727 (Red Hat 4.0.1-5)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@xen01 xen-unstable]# ls -la ../xen-unstable-src.tgz 
-rw-r--r--  1 root root 4698990 Oct 28 01:59 ../xen-unstable-src.tgz
[root@xen01 xen-unstable]# date
Mon Oct 31 16:59:06 BRST 2005
[root@xen01 xen-unstable]#          

I believe that there's a missing -lpthread or something on that gcc line
that crashed. I've attached the date of download of the unstable package.

Ideas?

Thanks.

--
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
 Felipe Franciosi                      +55-51-91230557
 CPAD/HP/PUCRS - Centro de Pesquisa em Alto Desempenho
 http://www.cpad.pucrs.br/          ozzy@xxxxxxxxxxxxx
 Porto Alegre, RS - Brazil
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=



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

<Prev in Thread] Current Thread [Next in Thread>