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-devel] Xen 4.0.1 failed to compile on Ubuntu Natty 32 bits

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Xen 4.0.1 failed to compile on Ubuntu Natty 32 bits
From: Martinx - ジェームズ <thiagocmartinsc@xxxxxxxxx>
Date: Fri, 10 Dec 2010 20:09:35 -0200
Cc:
Delivery-date: Fri, 10 Dec 2010 14:10:54 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=VCsnpLs1pgP1nhxGIH67X+iHBU57kYG9hZFmSctNQwM=; b=ndpTtUBwc7wq5a0o6DOudLeATaQrZ7STnbr02uO2ItQFiG8hzpoJqFtKAGTOJJzT1+ B1wT3u8AV4k9U775ssf9IM1Vm/obpNeP0qsBS9cS448Brk3ESWPR8ijt23CbFYmDCbev YMSbFpEFiOFD1Tx3p1aboephR0xeNtLyWyAY0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=F1a/0bAzrMFtRoMdMee7DGbWvncVKnDkqw40JlTrigppaK5uPCybzSvhkzKASjh6tw JLzZUmONveO3TEnzzGxW9YI1LU8h+PPcIuXYrL3AizQE8ENzuXmILlmTHzxaO3RYbcsi 4AJWgTfhXSyardjc3IHJ3moLghjhqDgN+9owo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Guys,

 I'm trying to compile the Xen 4.0.1 on top of a Ubuntu Natty 11.04 32 bits but, it stops at blktap, check it out:

make[5]: Entering directory `/usr/src/xen-4.0.1/tools/blktap/drivers'
Makefile:23: === libgcrypt not installed: falling back to libcrypto ===
gcc  -O2 -fomit-frame-pointer -m32 -march=i686 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .blktapctrl.o.d -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs -Werror -Wno-unused -I../lib -I../../../tools/libxc -I../../../tools/include -I../../../tools/xenstore -I../../../tools/include -I ../../libaio/src -I ../../memshr -D_GNU_SOURCE -DMEMSHR -c -o blktapctrl.o blktapctrl.c
gcc  -O2 -fomit-frame-pointer -m32 -march=i686 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .blktapctrl_linux.o.d -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs -Werror -Wno-unused -I../lib -I../../../tools/libxc -I../../../tools/include -I../../../tools/xenstore -I../../../tools/include -I ../../libaio/src -I ../../memshr -D_GNU_SOURCE -DMEMSHR -c -o blktapctrl_linux.o blktapctrl_linux.c
gcc -O2 -fomit-frame-pointer -m32 -march=i686 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .blktapctrl.d -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs -Werror -Wno-unused -I../lib -I../../../tools/libxc -I../../../tools/include -I../../../tools/xenstore -I../../../tools/include -I ../../libaio/src -I ../../memshr -D_GNU_SOURCE -DMEMSHR -o blktapctrl blktapctrl.o blktapctrl_linux.o    -L../../../tools/libxc -lxenctrl -L../../../tools/xenstore -lxenstore  ../../memshr/libmemshr.a -L../lib -lblktap -lrt -lm -lpthread
../../memshr/libmemshr.a(interface.o): In function `memshr_vbd_initialize':
/usr/src/xen-4.0.1/tools/memshr/interface.c:116: undefined reference to `xc_interface_open'
../../memshr/libmemshr.a(interface.o): In function `memshr_vbd_issue_ro_request':
/usr/src/xen-4.0.1/tools/memshr/interface.c:165: undefined reference to `xc_memshr_nominate_gref'
/usr/src/xen-4.0.1/tools/memshr/interface.c:179: undefined reference to `xc_memshr_share'
collect2: ld returned 1 exit status
make[5]: *** [blktapctrl] Error 1
make[5]: Leaving directory `/usr/src/xen-4.0.1/tools/blktap/drivers'
make[4]: *** [subdir-install-drivers] Error 2
make[4]: Leaving directory `/usr/src/xen-4.0.1/tools/blktap'
make[3]: *** [subdirs-install] Error 2
make[3]: Leaving directory `/usr/src/xen-4.0.1/tools/blktap'
make[2]: *** [subdir-install-blktap] Error 2
make[2]: Leaving directory `/usr/src/xen-4.0.1/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/usr/src/xen-4.0.1/tools'
make: *** [install-tools] Error 2

 But the packages are installed...

# dpkg -l | grep cryp
ii  libcrypto++-dev                    5.6.0-6                             General purpose cryptographic library - C++ development
ii  libcrypto++8                       5.6.0-6                             General purpose cryptographic library - shared library
ii  libgcrypt11                        1.4.5-2ubuntu2                      LGPL Crypto library - runtime library
ii  libgcrypt11-dev                    1.4.5-2ubuntu2                      LGPL Crypto library - development files
ii  libk5crypto3                       1.8.3+dfsg-3                        MIT Kerberos runtime libraries - Crypto Library
ii  openssl                            0.9.8o-3ubuntu1                     Secure Socket Layer (SSL) binary and related cryptographic tools

 What can I do?

Thanks!
Thiago


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