Carb, Brian A
2006-Jun-12 21:08 UTC
[Xen-devel] Error Building Xen-Unstable under Sles10 RC2.5
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@unisys.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2006-Jun-13 09:40 UTC
Re: [Xen-devel] Error Building Xen-Unstable under Sles10 RC2.5
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@unisys.com > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2006-Jun-13 10:42 UTC
Re: [Xen-devel] Error Building Xen-Unstable under Sles10 RC2.5
On 13 Jun 2006, at 10:40, Keir Fraser wrote:> 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. > > -- KeirShould be fixed by c/s 10333:360f9dc71f -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Carb, Brian A
2006-Jun-13 14:13 UTC
RE: [Xen-devel] Error Building Xen-Unstable under Sles10 RC2.5
Thanks Keir - this fixed the problem. brian carb unisys corporation - malvern, pa brian.carb@unisys.com -----Original Message----- From: Keir Fraser [mailto:Keir.Fraser@cl.cam.ac.uk] Sent: Tuesday, June 13, 2006 6:43 AM To: Keir Fraser Cc: Carb, Brian A; xen-devel@lists.xensource.com; Puthiyaparambil, Aravindh; McAfee, Tommie M; Vessey, Bruce A; Subrahmanian, Raj; Krysan, Susan Subject: Re: [Xen-devel] Error Building Xen-Unstable under Sles10 RC2.5 On 13 Jun 2006, at 10:40, Keir Fraser wrote:> 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. > > -- KeirShould be fixed by c/s 10333:360f9dc71f -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel