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 4.1 on SL6: error: libslirp.h: No such file or

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Compiling Xen 4.1 on SL6: error: libslirp.h: No such file or directory
From: Ian Murray <murrayie@xxxxxxxxxxx>
Date: Mon, 6 Jun 2011 00:26:16 +0100 (BST)
Delivery-date: Sun, 05 Jun 2011 16:27:32 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1307316376; bh=4NJkRyBoznGNKV4Rw9BWkSmWTDp1QbC/mprXQtxrBRE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=dLx934ItnQ7HqNY9VKhgvfhwgvVHn4PXQSeb71AXuk7kb58ECXqH48D9Tvf4/totS5n9puqJ9EAqTgd1oIewL3eOO8aM87V3Bupz2RHSAbnNdW7SbIpeGpEoj6op2wA0OlKyc4QafSW3nTJR40lLBxpcsY9xrLJwf+8Ye3DHJkg=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=09KPhd8ds6tDJAxpUgCO4zxED/BTNIcBVrtxSHyC5XzaT2Ay0A8hEVE4NbvJ0ERubct3TMXEePavJQj2x0Sj6q53tfX8EUpX+a7+dSPAW/tU1A3UqH2NnMmJu26+MwaR3duXieNboXx/ypXWjAEPwO7PF/OMbk0HUb0qrLRouJc=;
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 trying to build Xen 4.1 (from the tarball) on Scientific Linux 6.0

I managed to get Xen itself built through 'make xen' but I am stuck on trying 
to 
build the tools.

I initially received the following error (with several previous warnings about 
redefinition):-

/root/xen/xen-4.1.0/tools/ioemu-qemu-xen/net.h:110:1: warning: this is the 
location of the previous definition
In file included from /root/xen/xen-4.1.0/tools/ioemu-qemu-xen/audio/audio.h:27,
                 from /root/xen/xen-4.1.0/tools/ioemu-qemu-xen/net.c:30:
./config-host.h:20:1: warning: "DEFAULT_NETWORK_DOWN_SCRIPT" redefined
In file included from /root/xen/xen-4.1.0/tools/ioemu-qemu-xen/net.c:25:
/root/xen/xen-4.1.0/tools/ioemu-qemu-xen/net.h:111:1: warning: this is the 
location of the previous definition
/root/xen/xen-4.1.0/tools/ioemu-qemu-xen/net.c:104:22: error: libslirp.h: No 
such file or directory
/root/xen/xen-4.1.0/tools/ioemu-qemu-xen/net.c:485: warning: no previous 
prototype for ‘slirp_can_output’
/root/xen/xen-4.1.0/tools/ioemu-qemu-xen/net.c:490: warning: no previous 
prototype for ‘slirp_output’
/root/xen/xen-4.1.0/tools/ioemu-qemu-xen/net.c: In function ‘slirp_receive’:


I managed to find the missing header file and put a soft link in. No idea why 
it 
would need it, though and I wasn't convinced it would help.

ln slirp/libslirp.h libslirp.h -s


Now it compiles a little further on, but then I receive this:- 

/config-host.h:20:1: warning: "DEFAULT_NETWORK_DOWN_SCRIPT" redefined
In file included from /root/xen/xen-4.1.0/tools/ioemu-qemu-xen/net.c:25:
/root/xen/xen-4.1.0/tools/ioemu-qemu-xen/net.h:111:1: warning: this is the 
location of the previous definition
In file included from /root/xen/xen-4.1.0/tools/ioemu-qemu-xen/net.c:104:
/root/xen/xen-4.1.0/tools/ioemu-qemu-xen/libslirp.h:8: error: invalid use of 
‘restrict’
/root/xen/xen-4.1.0/tools/ioemu-qemu-xen/libslirp.h:8: error: invalid use of 
‘restrict’

Does anyone have any suggestions on how to proceed?

Thanks in advance,

Ian.


[root@xen2 xen-4.1.0]# gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla 
--enable-bootstrap --enable-shared --enable-threads=posix 
--enable-checking=release --with-system-zlib --enable-__cxa_atexit 
--disable-libunwind-exceptions --enable-gnu-unique-object 
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk 
--disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre 
--enable-libgcj-multifile --enable-java-maintainer-mode 
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib 
--with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 
--build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) 
[root@xen2 xen-4.1.0]# 


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Compiling Xen 4.1 on SL6: error: libslirp.h: No such file or directory, Ian Murray <=