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-devel

[Xen-devel] python bindings, xenstat.py

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] python bindings, xenstat.py
From: Felix Krohn <felix.krohn@xxxxxxx>
Date: Tue, 22 Apr 2008 17:31:36 +0200
Delivery-date: Tue, 22 Apr 2008 08:33:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: mutt-ng/devel-r804 (rps.kro.hn i686 GNU/Linux)
(sending again now that the lists are back...)


Hello,

I'm trying to use Usher (http://usher.ucsd.edu/) which depends on xen's
python bindings. The part where I'm failing is the usherlnm tool, which
tries to import xenstat.py and fails. I checked and found out that
the python bindings weren't built:

[root@xen:xen/xen-3.2-testing.hg/tools/xenstat/libxenstat]# make all-bindings
[...]
/usr/bin/ld: src/xenstat.o: relocation R_X86_64_32S against `a local symbol' 
can not be used when making a shared object; recompile with -fPIC
src/xenstat.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [src/libxenstat.so.0.0] Error 1

Looks like there is an oddness on x86_64?

I'm using xen-3.2.1-rc5 on a 64bit Debian Etch with Core 2 Quad
Processor, gcc version 4.1.2, Python 2.4.4.
(need more details?)

The hypervisor itself doesn't show any problems at all.

Sincerely,
Félix
-- 
Félix Krohn, <felix.krohn@xxxxxxx> 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] python bindings, xenstat.py, Felix Krohn <=