[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] 3.1.x and 3.2.x releases



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.