From: Keir Fraser Subject: Re: 3.1.x and 3.2.x releases Date: Fri, 28 Dec 2007 08:38:33 +0000 Message-ID: References: <200712280137.41884.caglar@pardus.org.tr> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <200712280137.41884.caglar@pardus.org.tr> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: caglar@pardus.org.tr, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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.=C3=87a=C4=9Flar Onur" wrote: > Hi; >=20 > 19 Ara 2007 =C3=87ar tarihinde, Keir Fraser =C5=9Funlar=C4=B1 yazm=C4=B1=C5=9Ft=C4=B1: >> 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. >=20 > 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). >=20 > I found [1] in xen-changelog mailing list while searching but it's alread= y > backported to xen-3.1-testing, is another patch needed or i'm missing > something? >=20 > [...] > make[2]:`/var/pisi/libvirt-0.4.0-3/work/libvirt-0.4.0/src' dizinine giril= iyor > /bin/sh ../libtool --tag=3DCC --mode=3Dcompile > gcc -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../gnulib/lib -I../include > -I../include -I../qemud -I/usr/include/libxml2 -DBINDIR=3D\""/usr/libex= ec"\" > -DSBINDIR=3D\""/usr/sbin"\" -DSYSCONF_DIR=3D"\"/etc\"" > -DLOCALEBASEDIR=3D\""/usr/share/locale"\" -DLOCAL_STATE_DIR=3D\""/var/lib"\" > -DGETTEXT_PACKAGE=3D\"libvirt\" -Wall -Wformat -Wformat-security > -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow > -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winl= ine > -Wredundant-decls -Wno-sign-compare -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions > -fasynchronous-unwind-tables -DWITH_QEMU -DWITH_TEST -DWITH_REMOTE -DWIT= H_XEN > -mtune=3Di686 -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_unifi= ed.c > =20 > gcc -DHAVE_CONFIG_H -I. -I.. -I../gnulib/lib -I../gnulib/lib -I../include > -I../include -I../qemud -I/usr/include/libxml2 -DBINDIR=3D\"/usr/libexec\" > -DSBINDIR=3D\"/usr/sbin\" -DSYSCONF_DIR=3D\"/etc\" > -DLOCALEBASEDIR=3D\"/usr/share/locale\" -DLOCAL_STATE_DIR=3D\"/var/lib\" > -DGETTEXT_PACKAGE=3D\"libvirt\" -Wall -Wformat -Wformat-security > -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow > -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winl= ine > -Wredundant-decls -Wno-sign-compare -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions > -fasynchronous-unwind-tables -DWITH_QEMU -DWITH_TEST -DWITH_REMOTE -DWITH= _XEN > -mtune=3Di686 -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 incompl= ete > 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 > =C3=A7=C4=B1k=C4=B1l=C4=B1yor > make[1]: *** [all-recursive] Hata 1 > make[1]: `/var/pisi/libvirt-0.4.0-3/work/libvirt-0.4.0' dizininden =C3=A7=C4=B1k=C4= =B1l=C4=B1yor > make: *** [all] Hata 2 > [...] >=20 > [1]=20 > http://lists.xensource.com/archives/html/xen-changelog/2007-09/msg00095.h= tml >=20 > Cheers