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

Re: [Xen-devel] Error Building Xen-Unstable under Sles10 RC2.5

To: "Carb, Brian A" <Brian.Carb@xxxxxxxxxx>
Subject: Re: [Xen-devel] Error Building Xen-Unstable under Sles10 RC2.5
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 13 Jun 2006 10:40:02 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, "McAfee, Tommie M" <Tommie.McAfee@xxxxxxxxxx>, "Krysan, Susan" <KRYSANS@xxxxxxxxxx>, "Puthiyaparambil, Aravindh" <aravindh.puthiyaparambil@xxxxxxxxxx>, "Subrahmanian, Raj" <raj.subrahmanian@xxxxxxxxxx>, "Vessey, Bruce A" <Bruce.Vessey@xxxxxxxxxx>
Delivery-date: Tue, 13 Jun 2006 02:40:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <B05D2E415E8CC94897BB44233D14EE68041AB0B5@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <B05D2E415E8CC94897BB44233D14EE68041AB0B5@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

Looks like it's including Linux header files for some reason. Not recommended. I'll look at pulling in a copy of that header file that actually works into the ioemu source directory.

 -- Keir

On 12 Jun 2006, at 22:08, Carb, Brian A wrote:

I'm getting an error when building the latest xen-unstable changeset 10328 under SLES RC2.5 on an X86_64 Unisys ES7000/One:

gcc -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement  -D__XEN_ TOOLS__ -DUSE_SSE2=1 -msse2 -g -fno-strict-aliasing  -I. -I/home/unisys/xen-unstable.hg/tools/ioemu/target-i 386 -I/home/unisys/xen-unstable.hg/tools/ioemu -I../../../tools/libxc -I../../../tools/xenstore -D_GNU_SOURC E -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o usb-linux.o /home/unisys/xen-unstable.hg/tools/ioemu/usb-linux.c In file included from /home/unisys/xen-unstable.hg/tools/ioemu/usb-linux.c:29: /usr/include/linux/usbdevice_fs.h:49: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token /usr/include/linux/usbdevice_fs.h:56: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token /usr/include/linux/usbdevice_fs.h:66: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token /usr/include/linux/usbdevice_fs.h:100: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token /usr/include/linux/usbdevice_fs.h:116: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token /home/unisys/xen-unstable.hg/tools/ioemu/usb-linux.c: In function 'usb_host_handle_data': /home/unisys/xen-unstable.hg/tools/ioemu/usb-linux.c:120: error: 'struct usbdevfs_bulktransfer' has no member named 'data'

make[5]: *** [usb-linux.o] Error 1

# gcc -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.0 --enable-ssp --disable-libssp --enable-java-awt=gtk --enable-gtk-cairo --disable-libjava-multilib --with-slibdir=/lib64 --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --without-system-libunwind --with-cpu=generic --host=x86_64-suse-linux

Thread model: posix
gcc version 4.1.0 (SUSE Linux)

We have been able to build this changeset successfully on SLES10 RC2, but not on RC2.5.

brian carb
 unisys corporation - malvern, pa
brian.carb@xxxxxxxxxx
 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


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

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