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

[Xen-users] Compiling Xen 4.1 on SL6: error: libslirp.h: No such file or directory


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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