On Fri, Jun 10, 2016 at 03:25:40PM +0100, Safa Hamza wrote:
> 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
>
The need to install libgcc.deb by hand and these error indicate
something very wrong with your build environment. I suggest you use a
clean slate install.
These errors have nothing to do with the Xen build system really.
Wei.
>
> On Fri, Jun 10, 2016 at 2:53 PM, Safa Hamza <safahamza1@gmail.com> 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 <wei.liu2@citrix.com> 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.
> >>
> >
> >