[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
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |