uname -a:Linux DC26 2.6.30.10 #1 SMP Wed Jun 2 04:34:53 PDT 2010 i686 i686 i386 GNU/Linux OS:CentOS5.5 build xen #make all Errors: include -I../../../tools/libxc -I../../../tools/include -I ../../../tools/libaio/src -I ../../../tools/memshr -D_GNU_SOURCE -DUSE_NFS_LOCKS -DUSE_GCRYPT -c -o tapdisk-queue.o tapdisk-queue.c In file included from tapdisk-queue.c:44: libaio-compat.h:82:3: error: #error __NR_eventfd? make[5]: *** [tapdisk-queue.o] Error 1 make[5]: Leaving directory `/root/xen-4.0.0/tools/blktap2/drivers' make[4]: *** [subdir-install-drivers] Error 2 make[4]: Leaving directory `/root/xen-4.0.0/tools/blktap2' make[3]: *** [subdirs-install] Error 2 make[3]: Leaving directory `/root/xen-4.0.0/tools/blktap2' make[2]: *** [subdir-install-blktap2] Error 2 make[2]: Leaving directory `/root/xen-4.0.0/tools' make[1]: *** [subdirs-install] Error 2 make[1]: Leaving directory `/root/xen-4.0.0/tools' make: *** [install-tools] Error 2 when I cd /root/xen-4.0.0/tools/blktap2 issue command: make && make install It still told the same error. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-Jun-02 06:36 UTC
Re: [Xen-users] build xen4.0 fail in blktap2 module
On Wed, Jun 2, 2010 at 12:35 PM, figbin <figbin@qq.com> wrote:> uname -a:Linux DC26 2.6.30.10 #1 SMP Wed Jun 2 04:34:53 PDT 2010 i686 i686 > i386 GNU/Linux > OS:CentOS5.5 > > build xen > #make allSince you use Centos5.5, I actually suggest you do not use Xen 4. Not unless you REALLY know what you''re doing. If you do, I''d actually suggest you use several steps: 1. Install xen hypervisor and tools, either using : - make xen, make tools, make install-xen, make install-tools, OR - use packages from http://www.gitco.de/repo/ 2. Build dom0 kernel separately. I use kernel from http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=shortlog;h=refs/heads/xen/stable-2.6.32.x, using 2.6.32.13 pv_ops, commit 4dd582f with this config: http://pastebin.com/5L44xXQj and it builds just fine. There might be some recent changes in Jeremy''s git tree that prevents it from building cleany. In that case xen-devel might be a better place to ask for help. In the mean time you can try a specific commit and config that is known to work. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Reasonably Related Threads
- Unable to complete guest installation
- Fwd: [Xen-devel] Xen 4.0 in debian packages? Blktap2 suport
- Re: Xen4.0/FC8/Linux-2.6.31.13 hang on boot
- disk offline with xen4.0+pvops2.6.31.13
- Debian 6.0 + Xen4.0 + FreeBSD hvm amd64 -> fpudna: fpcurthread == curthread XXXX times