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] 3.1.x and 3.2.x releases

To: <caglar@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] 3.1.x and 3.2.x releases
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 28 Dec 2007 08:38:33 +0000
Delivery-date: Fri, 28 Dec 2007 00:32:54 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200712280137.41884.caglar@xxxxxxxxxxxxx>
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
Thread-index: AchJLQeaRnEutrUgEdyaIAAWy6hiGQ==
Thread-topic: [Xen-devel] 3.1.x and 3.2.x releases
User-agent: Microsoft-Entourage/11.3.6.070618
It's not obvious what the problem is. DEFINE_XEN_GUEST_HANDLE() is defined
at that point in xen.h because we have used it earlier. This is also true
for uint8_t, uint16_t, etc. You'll have to do a bit more digging (e.g., use
gcc -E option to get the post-processed source, and see if that shows
anything obviously wrong).

 -- Keir

On 27/12/07 23:37, "S.Çağlar Onur" <caglar@xxxxxxxxxxxxx> wrote:

> Hi;
> 
> 19 Ara 2007 Çar tarihinde, Keir Fraser şunları yazmıştı:
>> Meanwhile, in preparation for 3.1.3, please let me know if there are any
>> further patches from xen-unstable that should be backported into the 3.1
>> branch. You can pull the xen-3.1-testing.hg repository to see what has
>> already been backported.
> 
> I'm getting following build error with libvirt-0.4.0 on latest
> xen-3.1-testing.hg (i'm using gcc-3.4.6).
> 
> I found [1] in xen-changelog mailing list while searching but it's already
> backported to xen-3.1-testing, is another patch needed or i'm missing
> something?
> 
> [...]
> make[2]:`/var/pisi/libvirt-0.4.0-3/work/libvirt-0.4.0/src' dizinine giriliyor
> /bin/sh ../libtool --tag=CC   --mode=compile
> gcc -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../gnulib/lib -I../include
> -I../include -I../qemud -I/usr/include/libxml2     -DBINDIR=\""/usr/libexec"\"
> -DSBINDIR=\""/usr/sbin"\" -DSYSCONF_DIR="\"/etc\""
> -DLOCALEBASEDIR=\""/usr/share/locale"\" -DLOCAL_STATE_DIR=\""/var/lib"\"
> -DGETTEXT_PACKAGE=\"libvirt\" -Wall -Wformat -Wformat-security
> -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow
> -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline
> -Wredundant-decls -Wno-sign-compare -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fasynchronous-unwind-tables  -DWITH_QEMU -DWITH_TEST -DWITH_REMOTE -DWITH_XEN
> -mtune=i686 -O2 -pipe -fomit-frame-pointer -MT
> libvirt_la-xen_unified.lo -MD -MP -MF .deps/libvirt_la-xen_unified.Tpo -c -o
> libvirt_la-xen_unified.lo `test -f 'xen_unified.c' || echo './'`xen_unified.c
>  
> gcc -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../gnulib/lib -I../include
> -I../include -I../qemud -I/usr/include/libxml2 -DBINDIR=\"/usr/libexec\"
> -DSBINDIR=\"/usr/sbin\" -DSYSCONF_DIR=\"/etc\"
> -DLOCALEBASEDIR=\"/usr/share/locale\" -DLOCAL_STATE_DIR=\"/var/lib\"
> -DGETTEXT_PACKAGE=\"libvirt\" -Wall -Wformat -Wformat-security
> -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow
> -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline
> -Wredundant-decls -Wno-sign-compare -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fasynchronous-unwind-tables -DWITH_QEMU -DWITH_TEST -DWITH_REMOTE -DWITH_XEN
> -mtune=i686 -O2 -pipe -fomit-frame-pointer -MT
> libvirt_la-xen_unified.lo -MD -MP -MF .deps/libvirt_la-xen_unified.Tpo -c
> xen_unified.c  -fPIC -DPIC -o .libs/libvirt_la-xen_unified.o
> In file included from /usr/include/xen/dom0_ops.h:31,
>                  from xen_unified.c:29:
> /usr/include/xen/xen.h:580: error: syntax error before "char"
> /usr/include/xen/xen.h:581: error: syntax error before "short"
> /usr/include/xen/xen.h:582: error: syntax error before "int"
> /usr/include/xen/xen.h:583: error: syntax error before "long"
> In file included from /usr/include/xen/dom0_ops.h:32,
>                  from xen_unified.c:29:
> /usr/include/xen/platform.h:149: error: syntax error
> before "__guest_handle_unsigned"
> /usr/include/xen/platform.h:151: error: syntax error before '}' token
> /usr/include/xen/platform.h:152: error: syntax error before '}' token
> /usr/include/xen/platform.h:166: error: field `firmware_info' has incomplete
> type
> make[2]: *** [libvirt_la-xen_unified.lo] Hata 1
> make[2]: `/var/pisi/libvirt-0.4.0-3/work/libvirt-0.4.0/src' dizininden
> çıkılıyor
> make[1]: *** [all-recursive] Hata 1
> make[1]: `/var/pisi/libvirt-0.4.0-3/work/libvirt-0.4.0' dizininden çıkılıyor
> make: *** [all] Hata 2
> [...]
> 
> [1] 
> http://lists.xensource.com/archives/html/xen-changelog/2007-09/msg00095.html
> 
> Cheers



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