|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] /usr/bin/ld: cannot find -lxenctrl
Hi,
I'm trying to build Xen 3.22 on a Dual Xeon server with the default debian
emt64 kernel
installed.
Now everything goes well until xenstored is to be compiled. It looks like the
build process is
trying to use a library it made before but cannot use it, because it's
incompatible:
Can anyone give me a hand here :)
thanks
Bram Jansen
Build Commandline is:
make dist KERNELS="linux-2.6-xen0 linux-2.6-xenU"
make[3]: Entering directory `/opt/xen/tools/libxc'
make[3]: `libxenctrl.a' is up to date.
make[3]: `libxenctrl.so' is up to date.
make[3]: `libxenctrl.so.3.0' is up to date.
make[3]: `libxenctrl.so.3.0.0' is up to date.
make[3]: `libxenguest.a' is up to date.
make[3]: `libxenguest.so' is up to date.
make[3]: `libxenguest.so.3.0' is up to date.
make[3]: `libxenguest.so.3.0.0' is up to date.
make[3]: Leaving directory `/opt/xen/tools/libxc'
[ -d /opt/xen/dist/install/usr/lib64 ] || install -d -m0755
/opt/xen/dist/install/usr/lib64
[ -d /opt/xen/dist/install/usr/include ] || install -d -m0755
/opt/xen/dist/install/usr/include
install -m0755 libxenctrl.so.3.0.0 /opt/xen/dist/install/usr/lib64
install -m0644 libxenctrl.a /opt/xen/dist/install/usr/lib64
ln -sf libxenctrl.so.3.0.0 /opt/xen/dist/install/usr/lib64/libxenctrl.so.3.0
ln -sf libxenctrl.so.3.0 /opt/xen/dist/install/usr/lib64/libxenctrl.so
install -m0644 xenctrl.h /opt/xen/dist/install/usr/include
install -m0755 libxenguest.so.3.0.0 /opt/xen/dist/install/usr/lib64
install -m0644 libxenguest.a /opt/xen/dist/install/usr/lib64
ln -sf libxenguest.so.3.0.0 /opt/xen/dist/install/usr/lib64/libxenguest.so.3.0
ln -sf libxenguest.so.3.0 /opt/xen/dist/install/usr/lib64/libxenguest.so
install -m0644 xenguest.h /opt/xen/dist/install/usr/include
make[2]: Leaving directory `/opt/xen/tools/libxc'
make[2]: Entering directory `/opt/xen/tools/xenstore'
gcc -L../../tools/libxc xenstored_core.o xenstored_watch.o
xenstored_domain.o
xenstored_transaction.o xs_lib.o talloc.o utils.o tdb.o hashtable.o -lxenctrl
-o xenstored
/usr/bin/ld: skipping incompatible ../../tools/libxc/libxenctrl.so when
searching for -lxenctrl
/usr/bin/ld: skipping incompatible ../../tools/libxc/libxenctrl.a when
searching for -lxenctrl
/usr/bin/ld: cannot find -lxenctrl
collect2: ld returned 1 exit status
make[2]: *** [xenstored] Error 1
make[2]: Leaving directory `/opt/xen/tools/xenstore'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/opt/xen/tools'
make: *** [install-tools] Error 2
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|