From mboxrd@z Thu Jan 1 00:00:00 1970 From: Safa Hamza Subject: Re: error while compiling Xen from the source Date: Fri, 10 Jun 2016 15:25:40 +0100 Message-ID: References: <20160602152656.GC5714@citrix.com> <20160603152350.GN14588@citrix.com> <20160610132357.GH28116@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8483491112519687360==" Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bBNNY-0002le-8q for xen-devel@lists.xenproject.org; Fri, 10 Jun 2016 14:25:44 +0000 Received: by mail-oi0-f68.google.com with SMTP id r4so13500780oib.1 for ; Fri, 10 Jun 2016 07:25:42 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Wei Liu Cc: Xen-devel List-Id: xen-devel@lists.xenproject.org --===============8483491112519687360== Content-Type: multipart/alternative; boundary=001a113dbbe23591360534ed50a4 --001a113dbbe23591360534ed50a4 Content-Type: text/plain; charset=UTF-8 but while compiling xen (make dist) i got this error lib/libvhd.so: undefined reference to `uuid_copy@UUID_1.0' lib/libvhd.so: undefined reference to `uuid_clear@UUID_1.0' lib/libvhd.so: undefined reference to `uuid_generate@UUID_1.0' lib/libvhd.so: undefined reference to `uuid_unparse@UUID_1.0' lib/libvhd.so: undefined reference to `uuid_is_null@UUID_1.0' lib/libvhd.so: undefined reference to `uuid_compare@UUID_1.0' lib/libvhd.so: undefined reference to `uuid_parse@UUID_1.0' collect2: error: ld returned 1 exit status make[5]: *** [vhd-util] Error 1 make[5]: Leaving directory `/home/lauterbach/xen1/tools/blktap2/vhd' make[4]: *** [subdir-install-vhd] Error 2 make[4]: Leaving directory `/home/lauterbach/xen1/tools/blktap2' make[3]: *** [subdirs-install] Error 2 make[3]: Leaving directory `/home/lauterbach/xen1/tools/blktap2' make[2]: *** [subdir-install-blktap2] Error 2 make[2]: Leaving directory `/home/lauterbach/xen1/tools' make[1]: *** [subdirs-install] Error 2 make[1]: Leaving directory `/home/lauterbach/xen1/tools' make: *** [install-tools] Error 2 On Fri, Jun 10, 2016 at 2:53 PM, Safa Hamza wrote: > the uuid library is already installed.. i solved the problem by > downloading libgcc.deb then i installed this package with "dpkg -i" command > > On Fri, Jun 10, 2016 at 3:23 PM, Wei Liu wrote: > >> On Fri, Jun 10, 2016 at 01:03:49PM +0100, Safa Hamza wrote: >> > i'm working now with another PC running ubuntu 12.04 .. >> > while configuring Xen from the source i got this error >> > >> > checking uuid/uuid.h usability... yes >> > checking uuid/uuid.h presence... yes >> > checking for uuid/uuid.h... yes >> > checking for uuid_clear in -luuid... no >> > checking uuid.h usability... no >> > checking uuid.h presence... no >> > checking for uuid.h... no >> > configure: error: cannot find a valid uuid library >> >> This. >> >> Please install the uuid development library in your distro. >> >> >> Wei. >> > > --001a113dbbe23591360534ed50a4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
but while compiling xen (make dist) i got this error

lib/libvhd.so: undefined reference to `uuid_copy@UUID_1.0'
lib= /libvhd.so: undefined reference to `uuid_clear@UUID_1.0'
lib/libvhd.= so: undefined reference to `uuid_generate@UUID_1.0'
lib/libvhd.so: u= ndefined reference to `uuid_unparse@UUID_1.0'
lib/libvhd.so: undefin= ed reference to `uuid_is_null@UUID_1.0'
lib/libvhd.so: undefined ref= erence to `uuid_compare@UUID_1.0'
lib/libvhd.so: undefined reference= to `uuid_parse@UUID_1.0'
collect2: error: ld returned 1 exit status=
make[5]: *** [vhd-util] Error 1
make[5]: Leaving directory `/home/la= uterbach/xen1/tools/blktap2/vhd'
make[4]: *** [subdir-install-vhd] E= rror 2
make[4]: Leaving directory `/home/lauterbach/xen1/tools/blktap2&#= 39;
make[3]: *** [subdirs-install] Error 2
make[3]: Leaving directory= `/home/lauterbach/xen1/tools/blktap2'
make[2]: *** [subdir-install-= blktap2] Error 2
make[2]: Leaving directory `/home/lauterbach/xen1/tools= '
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directo= ry `/home/lauterbach/xen1/tools'
make: *** [install-tools] Error 2

On Fr= i, Jun 10, 2016 at 2:53 PM, Safa Hamza <safahamza1@gmail.com> wrote:
the uuid lib= rary is already installed.. i solved the problem by downloading =C2=A0libgc= c.deb then i installed this package with "dpkg -i" command
<= div class=3D"HOEnZb">

On Fri, Jun 10, 2016 at 3:23 PM, Wei Liu <wei.liu2= @citrix.com> wrote:
O= n Fri, Jun 10, 2016 at 01:03:49PM +0100, Safa Hamza wrote:
> i'm working now with another PC running ubuntu 12.04 ..
> while configuring Xen from the source i got this error
>
> checking uuid/uuid.h usability... yes
> checking uuid/uuid.h presence... yes
> checking for uuid/uuid.h... yes
> checking for uuid_clear in -luuid... no
> checking uuid.h usability... no
> checking uuid.h presence... no
> checking for uuid.h... no
> configure: error: cannot find a valid uuid library

This.

Please install the uuid development library in your distro.


Wei.


--001a113dbbe23591360534ed50a4-- --===============8483491112519687360== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwOi8vbGlzdHMueGVuLm9y Zy94ZW4tZGV2ZWwK --===============8483491112519687360==--