[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Xen unstable make install-tools error



Hi George,

I didn't do the “./configure” before. 
But when I do the steps as you said, I can compile the Xen tools successfully. Thanks a lot.



2012/5/3 George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
On Thu, May 3, 2012 at 1:50 PM, Bei Guan <gbtju85@xxxxxxxxx> wrote:
> Hi,
>
> When I make install-tools in Xen unstable source code directory, there is an
> error. The output is as the following. Please help me figure out this
> problem. Thank you very much.

Did you try doing "make clean ; ./configure ; make tools"?  That's the
first thing to do when you encounter a random error like this after
pulling from trunk.

This looks like it was made by a change to the way libraries were
included a week or two ago.  Try the above steps and let us know if
that doesn't fix it.

 -George

>
> root@gavin-laptop:~/Xen/xen-unstable.hg# make install-tools
> make -C tools install
> make[1]: Entering directory `/root/Xen/xen-unstable.hg/tools'
> make[2]: Entering directory `/root/Xen/xen-unstable.hg/tools'
> make -C include install
> make[3]: Entering directory `/root/Xen/xen-unstable.hg/tools/include'
> make -C xen-foreign
> make[4]: Entering directory
> `/root/Xen/xen-unstable.hg/tools/include/xen-foreign'
> ./checker > tmp.size
> diff -u reference.size tmp.size
> rm tmp.size
> make[4]: Leaving directory
> `/root/Xen/xen-unstable.hg/tools/include/xen-foreign'
> /root/Xen/xen-unstable.hg/tools/include/../../tools/cross-install -d -m0755
> -p //usr/include/xen/arch-ia64
> /root/Xen/xen-unstable.hg/tools/include/../../tools/cross-install -d -m0755
> -p //usr/include/xen/arch-ia64/hvm
> /root/Xen/xen-unstable.hg/tools/include/../../tools/cross-install -d -m0755
> -p //usr/include/xen/arch-x86
> /root/Xen/xen-unstable.hg/tools/include/../../tools/cross-install -d -m0755
> -p //usr/include/xen/arch-x86/hvm
> /root/Xen/xen-unstable.hg/tools/include/../../tools/cross-install -d -m0755
> -p //usr/include/xen/foreign
> /root/Xen/xen-unstable.hg/tools/include/../../tools/cross-install -d -m0755
> -p //usr/include/xen/hvm
> /root/Xen/xen-unstable.hg/tools/include/../../tools/cross-install -d -m0755
> -p //usr/include/xen/io
> /root/Xen/xen-unstable.hg/tools/include/../../tools/cross-install -d -m0755
> -p //usr/include/xen/sys
> /root/Xen/xen-unstable.hg/tools/include/../../tools/cross-install -d -m0755
> -p //usr/include/xen/xsm
> /root/Xen/xen-unstable.hg/tools/include/../../tools/cross-install -m0644 -p
> xen/COPYING //usr/include/xen
> /root/Xen/xen-unstable.hg/tools/include/../../tools/cross-install -m0644 -p
> xen/*.h //usr/include/xen
> /root/Xen/xen-unstable.hg/tools/include/../../tools/cross-install -m0644 -p
> xen/arch-ia64/*.h //usr/include/xen/arch-ia64
> /root/Xen/xen-unstable.hg/tools/include/../../tools/cross-install -m0644 -p
> xen/arch-ia64/hvm/*.h //usr/include/xen/arch-ia64/hvm
> /root/Xen/xen-unstable.hg/tools/include/../../tools/cross-install -m0644 -p
> xen/arch-x86/*.h //usr/include/xen/arch-x86
> /root/Xen/xen-unstable.hg/tools/include/../../tools/cross-install -m0644 -p
> xen/arch-x86/hvm/*.h //usr/include/xen/arch-x86/hvm
> /root/Xen/xen-unstable.hg/tools/include/../../tools/cross-install -m0644 -p
> xen/foreign/*.h //usr/include/xen/foreign
> /root/Xen/xen-unstable.hg/tools/include/../../tools/cross-install -m0644 -p
> xen/hvm/*.h //usr/include/xen/hvm
> /root/Xen/xen-unstable.hg/tools/include/../../tools/cross-install -m0644 -p
> xen/io/*.h //usr/include/xen/io
> /root/Xen/xen-unstable.hg/tools/include/../../tools/cross-install -m0644 -p
> xen/sys/*.h //usr/include/xen/sys
> /root/Xen/xen-unstable.hg/tools/include/../../tools/cross-install -m0644 -p
> xen/xsm/*.h //usr/include/xen/xsm
> make[3]: Leaving directory `/root/Xen/xen-unstable.hg/tools/include'
> make[2]: Leaving directory `/root/Xen/xen-unstable.hg/tools'
> make[2]: Entering directory `/root/Xen/xen-unstable.hg/tools'
> make -C libxc install
> make[3]: Entering directory `/root/Xen/xen-unstable.hg/tools/libxc'
> make libs
> make[4]: Entering directory `/root/Xen/xen-unstable.hg/tools/libxc'
> make[4]: Nothing to be done for `libs'.
> make[4]: Leaving directory `/root/Xen/xen-unstable.hg/tools/libxc'
> /root/Xen/xen-unstable.hg/tools/libxc/../../tools/cross-install -d -m0755 -p
> //usr/lib64
> /root/Xen/xen-unstable.hg/tools/libxc/../../tools/cross-install -d -m0755 -p
> //usr/include
> /root/Xen/xen-unstable.hg/tools/libxc/../../tools/cross-install -m0755 -p
> libxenctrl.so.4.2.0 //usr/lib64
> /root/Xen/xen-unstable.hg/tools/libxc/../../tools/cross-install -m0644 -p
> libxenctrl.a //usr/lib64
> ln -sf libxenctrl.so.4.2.0 //usr/lib64/libxenctrl.so.4.2
> ln -sf libxenctrl.so.4.2 //usr/lib64/libxenctrl.so
> /root/Xen/xen-unstable.hg/tools/libxc/../../tools/cross-install -m0644 -p
> xenctrl.h xenctrlosdep.h xentoollog.h //usr/include
> /root/Xen/xen-unstable.hg/tools/libxc/../../tools/cross-install -m0755 -p
> libxenguest.so.4.2.0 //usr/lib64
> /root/Xen/xen-unstable.hg/tools/libxc/../../tools/cross-install -m0644 -p
> libxenguest.a //usr/lib64
> ln -sf libxenguest.so.4.2.0 //usr/lib64/libxenguest.so.4.2
> ln -sf libxenguest.so.4.2 //usr/lib64/libxenguest.so
> /root/Xen/xen-unstable.hg/tools/libxc/../../tools/cross-install -m0644 -p
> xenguest.h //usr/include
> make[3]: Leaving directory `/root/Xen/xen-unstable.hg/tools/libxc'
> make[2]: Leaving directory `/root/Xen/xen-unstable.hg/tools'
> make[2]: Entering directory `/root/Xen/xen-unstable.hg/tools'
> make -C flask install
> make[3]: Entering directory `/root/Xen/xen-unstable.hg/tools/flask'
> make[4]: Entering directory `/root/Xen/xen-unstable.hg/tools/flask'
> make -C utils install
> make[5]: Entering directory `/root/Xen/xen-unstable.hg/tools/flask/utils'
> gcc     loadpolicy.o
>  /root/Xen/xen-unstable.hg/tools/flask/utils/../../../tools/libxc/libxenctrl.so
> -o flask-loadpolicy
> /root/Xen/xen-unstable.hg/tools/flask/utils/../../../tools/libxc/libxenctrl.so:
> undefined reference to `pthread_key_create'
> /root/Xen/xen-unstable.hg/tools/flask/utils/../../../tools/libxc/libxenctrl.so:
> undefined reference to `pthread_once'
> /root/Xen/xen-unstable.hg/tools/flask/utils/../../../tools/libxc/libxenctrl.so:
> undefined reference to `pthread_getspecific'
> /root/Xen/xen-unstable.hg/tools/flask/utils/../../../tools/libxc/libxenctrl.so:
> undefined reference to `pthread_setspecific'
> collect2: ld returned 1 exit status
> make[5]: *** [flask-loadpolicy] Error 1
> make[5]: Leaving directory `/root/Xen/xen-unstable.hg/tools/flask/utils'
> make[4]: *** [subdir-install-utils] Error 2
> make[4]: Leaving directory `/root/Xen/xen-unstable.hg/tools/flask'
> make[3]: *** [subdirs-install] Error 2
> make[3]: Leaving directory `/root/Xen/xen-unstable.hg/tools/flask'
> make[2]: *** [subdir-install-flask] Error 2
> make[2]: Leaving directory `/root/Xen/xen-unstable.hg/tools'
> make[1]: *** [subdirs-install] Error 2
> make[1]: Leaving directory `/root/Xen/xen-unstable.hg/tools'
> make: *** [install-tools] Error 2
>
>
>
>
>
> --
> Best Regards,
> Bei Guan
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel
>



--
Best Regards,
Bei Guan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.