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

[Xen-bugs] [Bug 1670] New: Build error with libxl: âPy_ssize_tâ undeclar

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1670] New: Build error with libxl: âPy_ssize_tâ undeclared
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Fri, 15 Oct 2010 10:27:28 -0700
Delivery-date: Fri, 15 Oct 2010 10:27:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1670

           Summary: Build error with libxl: â??Py_ssize_tâ?? undeclared
           Product: Xen
           Version: unstable
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: yang.z.zhang@xxxxxxxxx


we try to compile xen-tools(cs:22240), it fails and show the error:
running build
running build_py
running build_ext
building 'xl' extension
gcc -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-D_GNU_SOURCE -fPIC -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls
-m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
-Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF
.buildpy.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fPIC -I../../tools/libxc
-I../../tools/xenstore -I../../tools/include -I../../tools/libxl
-Ixen/lowlevel/xl -I/usr/include/python2.4 -c xen/lowlevel/xl/xl.c -o
build/temp.linux-x86_64-2.4/xen/lowlevel/xl/xl.o -fno-strict-aliasing -Werror
xen/lowlevel/xl/xl.c: In function â??genwrap__obj_initâ??:
xen/lowlevel/xl/xl.c:59: error: â??Py_ssize_tâ?? undeclared (first use in this
function)
xen/lowlevel/xl/xl.c:59: error: (Each undeclared identifier is reported only
once
xen/lowlevel/xl/xl.c:59: error: for each function it appears in.)
xen/lowlevel/xl/xl.c:59: error: expected â??;â?? before â??posâ??
xen/lowlevel/xl/xl.c:64: error: â??posâ?? undeclared (first use in this
function)
xen/lowlevel/xl/xl.c: In function â??fixed_bytearray_setâ??:
xen/lowlevel/xl/xl.c:170: error: â??Py_ssize_tâ?? undeclared (first use in this
function)
xen/lowlevel/xl/xl.c:170: error: expected â??;â?? before â??sszâ??
xen/lowlevel/xl/xl.c:171: error: â??sszâ?? undeclared (first use in this
function)
error: command 'gcc' failed with exit status 1
make[2]: *** [buildpy] Error 1
make[2]: Leaving directory `/root/workspace/xen-unstalle/tools/python'
make[1]: *** [subdir-all-python] Error 2
make[1]: Leaving directory `/root/workspace/xen-unstalle/tools'
make: *** [subdirs-all] Error 2


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

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