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-users] /usr/bin/ld: cannot find -lxenctrl

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] /usr/bin/ld: cannot find -lxenctrl
From: "Bram Jansen" <br.jansen@xxxxxxxxxxxxxxx>
Date: Sat, 10 Jun 2006 21:03:09 +0200
Delivery-date: Sat, 10 Jun 2006 11:58:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Priority: normal
Reply-to: br.jansen@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>