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-ia64-devel

Re: [Xen-ia64-devel] Problem with building the newest xen source on IA64

To: Rafal Lichwala <syriusz@xxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] Problem with building the newest xen source on IA64
From: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 19 Jul 2007 13:46:41 +0200
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 19 Jul 2007 04:44:14 -0700
Domainkey-signature: s=s768; d=fujitsu-siemens.com; c=nofws; q=dns; b=bC9at8mQUCfUhkwwdiOSsbTjXpvc5t2+Ups8TeTpq+PM+kn6iRIGWpp6vzMvSBWB9xCkaTq/P/3ktJBaX1xyMoONcwZQ+xPX5w2zcOdi9oHEDHiNrDrSIAo0K7motFu2;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <469F35AA.8090803@xxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <469F0674.6020306@xxxxxxxxxxxxx> <200707191111.15634.dietmar.hahn@xxxxxxxxxxxxxxxxxxx> <469F35AA.8090803@xxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6
Am Donnerstag, 19. Juli 2007 schrieb Rafal Lichwala:
> perfmon.c:1431:1: directives may not be used inside a macro argument
> perfmon.c:1430:80: unterminated argument list invoking macro "DPRINT"
> perfmon.c: In function `pfm_reserve_session':
> perfmon.c:1434: `DPRINT' undeclared (first use in this function)

> ####################
>
> Do you have any other idea how to solve the problem?
> Should I upgrade some more packages?

I would think of an old cpp version.
What you have here is a cpp directive within a cpp directive.

#define DPRINT(a) ...
...
DPRINT(("system wide not possible, conflicting session [%d] on CPU%d\n",
#ifndef XEN
                pfm_sessions.pfs_sys_session[cpu]->pid,
#else
                -1,
#endif
                cpu));

Maybe your cpp is too old - but I don't know enough about special cpp features 
and cpp versions.
I tried your download and on my machine with gcc version 3.3.3 this all 
compiles fine.

Dietmar.

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